From 1c1c5db4caf55e3204b82bfa4b39a50ff1283b06 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Wed, 20 Sep 2023 00:24:08 -0700 Subject: implemented project page with cards --- src/components/Card.astro | 73 +++++++++++++++--- src/components/Header.astro | 126 ++++++++++++++----------------- src/components/ShapesBackground.astro | 135 +++++++++++++++++++++++++++++++++ src/components/SocialNavbar.astro | 113 +++++++++++++++++++--------- src/layouts/Layout.astro | 4 +- src/pages/about.astro | 0 src/pages/index.astro | 138 +--------------------------------- 7 files changed, 338 insertions(+), 251 deletions(-) create mode 100644 src/components/ShapesBackground.astro create mode 100644 src/pages/about.astro diff --git a/src/components/Card.astro b/src/components/Card.astro index bd6d597..bf0ecf5 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -1,24 +1,30 @@ +User --- interface Props { title: string; body: string; href: string; + language: string; + languageColor: string; } -const { href, title, body } = Astro.props; +const { href, title, body, language, languageColor } = Astro.props; --- + + \ No newline at end of file diff --git a/src/components/Header.astro b/src/components/Header.astro index 3e3f97e..171e8e1 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,72 +1,62 @@ ---- - ----
- + + Profile Picture
- diff --git a/src/components/ShapesBackground.astro b/src/components/ShapesBackground.astro new file mode 100644 index 0000000..fd56d72 --- /dev/null +++ b/src/components/ShapesBackground.astro @@ -0,0 +1,135 @@ + + \ No newline at end of file diff --git a/src/components/SocialNavbar.astro b/src/components/SocialNavbar.astro index ed020e4..95aa1a2 100644 --- a/src/components/SocialNavbar.astro +++ b/src/components/SocialNavbar.astro @@ -1,46 +1,85 @@ --- -import '@fortawesome/fontawesome-free/css/all.min.css'; +import "@fortawesome/fontawesome-free/css/all.min.css"; --- +
-
- - - - - - -
-
\ No newline at end of file +
+ + + + + + +
+ diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 69f5f8f..672b5cc 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -35,8 +35,8 @@ import Header from '../components/Header.astro'; ); --accent-gradient-purp: linear-gradient( 45deg, - rgb(126, 85, 182), - rgb(121, 77, 209) 30%, + rgb(139, 101, 194), + rgb(145, 108, 219) 30%, rgb(230, 230, 250) 60% ); } diff --git a/src/pages/about.astro b/src/pages/about.astro new file mode 100644 index 0000000..e69de29 diff --git a/src/pages/index.astro b/src/pages/index.astro index a08de2d..fce4326 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,9 +1,10 @@ --- import Layout from "../layouts/Layout.astro"; import SocialNavbar from '../components/SocialNavbar.astro'; +import ShapesBackground from "../components/ShapesBackground.astro"; --- - +

@@ -19,18 +20,7 @@ import SocialNavbar from '../components/SocialNavbar.astro';

-
    -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
+