From c138aa9f841fed48d6d8a0eeaadc6d4bb546c95a Mon Sep 17 00:00:00 2001 From: AswinJ1 Date: Sat, 2 Aug 2025 15:53:07 +0530 Subject: [PATCH 1/4] refactor: update rules and faq and update filter component --- pages/_document.tsx | 27 +- pages/faq.tsx | 20 +- pages/rules.tsx | 16 +- src/components/faq/Filter.tsx | 17 +- src/components/faq/QuestionCard.tsx | 2 +- src/components/landing/search/Dropdown.tsx | 2 +- src/data/faq.tsx | 938 ++++++++++++++------- src/data/inctfj/config.ts | 2 + src/data/inctfj/rules.json | 303 ++++--- src/data/types/context.ts | 1 + 10 files changed, 876 insertions(+), 452 deletions(-) diff --git a/pages/_document.tsx b/pages/_document.tsx index 24ef6a4..7ef4dd6 100644 --- a/pages/_document.tsx +++ b/pages/_document.tsx @@ -1,7 +1,6 @@ import React from 'react'; import Document, { DocumentContext, Head, Html, Main, NextScript } from 'next/document'; - class MyDocument extends Document { static async getInitialProps(ctx: DocumentContext) { @@ -26,8 +25,31 @@ class MyDocument extends Document { href="https://cdn.staticaly.com/gh/hung1001/font-awesome-pro/8af0edd/css/all.css" rel="stylesheet" /> + + {/* Google Tag Manager */} +