From a9e8bcc14db920a596160bc56bb6dbc410d31aa9 Mon Sep 17 00:00:00 2001 From: myix765 Date: Mon, 9 Dec 2024 01:47:11 -0500 Subject: [PATCH] add header gradient, edit class page styling --- src/index.css | 6 ++++++ src/pages/ClassesPage.jsx | 44 +++++++++++++++++++-------------------- 2 files changed, 27 insertions(+), 23 deletions(-) diff --git a/src/index.css b/src/index.css index 39b50c8..be9bdfb 100644 --- a/src/index.css +++ b/src/index.css @@ -20,4 +20,10 @@ @font-face { font-family: 'Avenir'; src: url('./assets/fonts/AvenirLTStd-Heavy.otf') format('opentype'); +} + +@layer components { + .header-gradient { + background: radial-gradient(120% 177.59% at -20% 100%, rgba(255, 255, 255, 0.80) 0%, rgba(211, 237, 252, 0.80) 35.46%, rgba(178, 224, 250, 0.80) 57.09%, rgba(138, 199, 244, 0.80) 76.71%, rgba(63, 150, 234, 0.80) 100%); + } } \ No newline at end of file diff --git a/src/pages/ClassesPage.jsx b/src/pages/ClassesPage.jsx index 73bc2ec..ac35324 100644 --- a/src/pages/ClassesPage.jsx +++ b/src/pages/ClassesPage.jsx @@ -37,37 +37,35 @@ const ClassesPage = () => { return (
{/* Banner Section */} -
-
-

Level {level.level}

-

{level.name}

+
+

Level {level.level}

+

{level.name}

-
-
-
-
-
-

{level.enrolledCount || 46} students enrolled

+
+
+
+
+

{level.enrolledCount || 46} students enrolled

+
-

- This class is for those with little to no experience in English. It will be going over - the alphabet, basic vocabulary, and simple grammar rules. -

+

+ This class is for those with little to no experience in English. It will be going over + the alphabet, basic vocabulary, and simple grammar rules. +

-
- - Basic Conversations - - - The Alphabet - -
+
+ + Basic Conversations + + + The Alphabet +
{/* Content Section */} -
+
{/* Open Classes */}

Open Classes