From 6a91fc3547c7d528c9400c0245dc0ee25f24fe99 Mon Sep 17 00:00:00 2001 From: Mohammed Ali <146048575+Phantom0110@users.noreply.github.com> Date: Tue, 24 Oct 2023 22:51:30 -0400 Subject: [PATCH] Fix styles variable and move Home.module.css to app (#15) * Fix styles variable and move Home.module.css to app * Removed colors from Home.module.css and changed landingTitle to landingBackground h1 --- src/{ => app}/Home.module.css | 12 +++--------- src/app/page.tsx | 2 ++ 2 files changed, 5 insertions(+), 9 deletions(-) rename src/{ => app}/Home.module.css (63%) diff --git a/src/Home.module.css b/src/app/Home.module.css similarity index 63% rename from src/Home.module.css rename to src/app/Home.module.css index 7c4b94a..eb64d48 100644 --- a/src/Home.module.css +++ b/src/app/Home.module.css @@ -1,24 +1,18 @@ -.landingTitle { - /* TEMPORARY color till global theme is placed*/ - color: #035496; +.landingBackground h1 { font-size: 2em; margin-bottom: 1rem; margin-left: 1em; margin-right: 1em; } -h2 { - /* TEMPORARY color till global theme is placed*/ - color: #057cde; +.landingBackground h2 { font-size: 1.5em; margin-bottom: 0.5rem; margin-left: 1em; margin-right: 1em; } -p { - /* TEMPORARY color till global theme is placed*/ - color: #59b1f9; +.landingBackground p { margin-bottom: 0.5rem; margin-left: 1em; margin-right: 1em; diff --git a/src/app/page.tsx b/src/app/page.tsx index 7cc29ba..7459643 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,3 +1,5 @@ +import styles from "./Home.module.css"; + export default function Home() { return (