From 9f36431f01f2ff1b4852a865c259b928be1be81f Mon Sep 17 00:00:00 2001 From: abhishek-01k Date: Thu, 7 Nov 2024 13:44:23 +0700 Subject: [PATCH] Fixed the Font style issue --- components/Home/SearchBar.tsx | 2 -- components/Navbar/index.tsx | 6 +----- pages/_app.tsx | 18 ------------------ pages/_document.js | 17 ++++++++++++++++- styles/globals.css | 28 ---------------------------- 5 files changed, 17 insertions(+), 54 deletions(-) delete mode 100644 styles/globals.css diff --git a/components/Home/SearchBar.tsx b/components/Home/SearchBar.tsx index b70eb7b..e953830 100644 --- a/components/Home/SearchBar.tsx +++ b/components/Home/SearchBar.tsx @@ -67,8 +67,6 @@ export default function SearchBar() { } }, [debouncedQuery, data, isLoading]); - console.log('debouncedQuery', debouncedQuery, query); - return ( - - - - - - - diff --git a/pages/_document.js b/pages/_document.js index 6879410..13f747f 100644 --- a/pages/_document.js +++ b/pages/_document.js @@ -3,7 +3,22 @@ import { Html, Head, Main, NextScript } from 'next/document'; export default function Document() { return ( - + + + + + + +
diff --git a/styles/globals.css b/styles/globals.css deleted file mode 100644 index 217b5b3..0000000 --- a/styles/globals.css +++ /dev/null @@ -1,28 +0,0 @@ -html, -body { - padding: 0; - margin: 0; - font-family: 'Strawford', Helvetica, sans-serif; -} - -a { - color: inherit; - text-decoration: none; -} - -* { - box-sizing: border-box; - margin: 0; - padding: 0; -} - -@media (prefers-color-scheme: dark) { - html { - color-scheme: dark; - } - - body { - color: white; - background: black; - } -}