From 3a4c227e8a300ac0d2b69b381677cf05008dbf79 Mon Sep 17 00:00:00 2001 From: Arman Moztarzadeh Date: Mon, 9 Sep 2024 14:41:50 -0700 Subject: [PATCH] style: modify text design and minor refactoring --- .github/workflows/prettier.yml | 2 +- .../images/{planet_1.svg => planet_blue.svg} | 0 .../{planet_2.svg => planet_purple.svg} | 0 src/app/globals.css | 14 +++++++ src/app/page.tsx | 4 +- src/components/general/execSection.tsx | 2 +- src/components/general/footerSection.tsx | 4 +- src/components/general/hero.tsx | 37 ++++++++++--------- 8 files changed, 40 insertions(+), 23 deletions(-) rename public/images/{planet_1.svg => planet_blue.svg} (100%) rename public/images/{planet_2.svg => planet_purple.svg} (100%) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 7359d708..787aa90a 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -39,6 +39,6 @@ jobs: repo: context.repo.repo, body: "Some files aren't properly formatted. Would you like me to lint them for you?" }) - + - name: Run Prettier run: pnpm exec prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}" diff --git a/public/images/planet_1.svg b/public/images/planet_blue.svg similarity index 100% rename from public/images/planet_1.svg rename to public/images/planet_blue.svg diff --git a/public/images/planet_2.svg b/public/images/planet_purple.svg similarity index 100% rename from public/images/planet_2.svg rename to public/images/planet_purple.svg diff --git a/src/app/globals.css b/src/app/globals.css index f01c8ddb..15138e71 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -141,6 +141,20 @@ tbody { scroll-margin-top: 70px; } +.gradient-title { + background: linear-gradient(#ffffff, #999999); + -webkit-background-clip: text; + background-clip: text; + color: transparent; +} + +.gradient-subtitle { + background: linear-gradient(180deg, #ffffff, #bcbcbc); + -webkit-background-clip: text; + background-clip: text; + color: transparent; +} + .white-glow { -webkit-box-shadow: 0px 0px 177px 27px rgba(120, 110, 138, 0.44); -moz-box-shadow: 0px 0px 177px 27px rgba(120, 110, 138, 0.44); diff --git a/src/app/page.tsx b/src/app/page.tsx index b55091bc..bfed6168 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -71,7 +71,7 @@ export default async function Home() { > {text.aboutUsSubtitle} -

+

{text.aboutUsText}

@@ -89,7 +89,7 @@ export default async function Home() { > {text.joinUsSubtitle} -

+

{text.joinUsText}

diff --git a/src/components/general/execSection.tsx b/src/components/general/execSection.tsx index 35568fb7..2be97d94 100644 --- a/src/components/general/execSection.tsx +++ b/src/components/general/execSection.tsx @@ -143,7 +143,7 @@ export default function ExecSection() { alt={exec.name} width={110} height={110} - className="rounded-2xl" + className="rounded-2xl drop-shadow-xl" />

{exec.name} diff --git a/src/components/general/footerSection.tsx b/src/components/general/footerSection.tsx index d1d5a17a..e84efd89 100644 --- a/src/components/general/footerSection.tsx +++ b/src/components/general/footerSection.tsx @@ -12,11 +12,11 @@ export default function FooterSection() { return (

-
-

- {text.title} +
+

+ {text.title} {text.titleEnd}

-

+

{text.description}

-
-
+
planet
-
+
planet
-
+
planet