From c82979c7ddacffbcf7fe160cddbe45d1ed650219 Mon Sep 17 00:00:00 2001 From: g00gol Date: Sun, 8 Oct 2023 04:46:19 -0400 Subject: [PATCH] working on home --- frontend/app/globals.css | 22 ++++++++++++++++++++++ frontend/app/layout.js | 11 ++++++++--- frontend/app/page.js | 14 +++++++++++--- frontend/components/cards.js | 3 +++ frontend/components/nav.js | 11 +++++++++++ frontend/components/searchbar.js | 22 ++++++++++++++++++++++ frontend/context/context.js | 14 ++++++++++++++ frontend/context/searchbar.js | 15 +++++++++++++++ frontend/package.json | 10 +++++----- frontend/tailwind.config.js | 9 +++++++++ 10 files changed, 120 insertions(+), 11 deletions(-) create mode 100644 frontend/components/cards.js create mode 100644 frontend/components/nav.js create mode 100644 frontend/components/searchbar.js create mode 100644 frontend/context/context.js create mode 100644 frontend/context/searchbar.js diff --git a/frontend/app/globals.css b/frontend/app/globals.css index 28ebc71..30e16f0 100644 --- a/frontend/app/globals.css +++ b/frontend/app/globals.css @@ -5,4 +5,26 @@ html, body { width: 100%; height: 100%; + overflow-y: auto } + +@layer base { + html { + @apply text-base font-quicksand; + } + h1 { + @apply text-4xl font-playfair-display font-bold; + } + h2 { + @apply text-3xl font-playfair-display; + } + h3 { + @apply text-2xl font-quicksand; + } + h4 { + @apply text-xl; + } + small { + @apply text-sm; + } +} \ No newline at end of file diff --git a/frontend/app/layout.js b/frontend/app/layout.js index 30c6d6d..476f8eb 100644 --- a/frontend/app/layout.js +++ b/frontend/app/layout.js @@ -1,6 +1,8 @@ import { Playfair_Display, Quicksand } from "next/font/google"; import "./globals.css"; +import Nav from "@/components/nav"; +import ContextProvider from "@/context/context"; const playfairDisplay = Playfair_Display({ subsets: ["latin-ext"], @@ -20,11 +22,14 @@ export const metadata = { export default function RootLayout({ children }) { return ( - + - {children} + +