From b3853c78dea067bb2fc49b25173fb9133015de64 Mon Sep 17 00:00:00 2001 From: theamazing0 Date: Tue, 18 Jun 2024 17:02:32 -0400 Subject: [PATCH] Finished up icons on home, worked on cards for projects --- public/Ellipse.svg | 1 + public/arrow-up-right.svg | 1 + public/astro.svg | 1 + public/git.svg | 2 +- public/mastodon.svg | 2 +- public/matrix.svg | 2 +- src/components/Icon.astro | 16 +++++++++++ src/components/ProjectCard.astro | 47 ++++++++++++++++++++++++++++++++ src/pages/index.astro | 11 ++++++-- src/pages/projects.astro | 35 ++++++++++++++++++++++++ 10 files changed, 112 insertions(+), 6 deletions(-) create mode 100644 public/Ellipse.svg create mode 100644 public/arrow-up-right.svg create mode 100644 public/astro.svg create mode 100644 src/components/Icon.astro create mode 100644 src/components/ProjectCard.astro create mode 100644 src/pages/projects.astro diff --git a/public/Ellipse.svg b/public/Ellipse.svg new file mode 100644 index 0000000..3e80523 --- /dev/null +++ b/public/Ellipse.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/arrow-up-right.svg b/public/arrow-up-right.svg new file mode 100644 index 0000000..5a5e298 --- /dev/null +++ b/public/arrow-up-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/astro.svg b/public/astro.svg new file mode 100644 index 0000000..2df2147 --- /dev/null +++ b/public/astro.svg @@ -0,0 +1 @@ +Astro \ No newline at end of file diff --git a/public/git.svg b/public/git.svg index 13af359..9b8f291 100644 --- a/public/git.svg +++ b/public/git.svg @@ -1 +1 @@ -Git \ No newline at end of file +Git \ No newline at end of file diff --git a/public/mastodon.svg b/public/mastodon.svg index 5e3b7e1..11a6b35 100644 --- a/public/mastodon.svg +++ b/public/mastodon.svg @@ -1 +1 @@ -Mastodon \ No newline at end of file +Mastodon \ No newline at end of file diff --git a/public/matrix.svg b/public/matrix.svg index 05385ef..5e77084 100644 --- a/public/matrix.svg +++ b/public/matrix.svg @@ -1 +1 @@ -Matrix \ No newline at end of file +Matrix \ No newline at end of file diff --git a/src/components/Icon.astro b/src/components/Icon.astro new file mode 100644 index 0000000..57178aa --- /dev/null +++ b/src/components/Icon.astro @@ -0,0 +1,16 @@ +--- +interface Props { + icon: string; + size: string; +} + +const { icon, size } = Astro.props; +--- + + + + \ No newline at end of file diff --git a/src/components/ProjectCard.astro b/src/components/ProjectCard.astro new file mode 100644 index 0000000..186ce9c --- /dev/null +++ b/src/components/ProjectCard.astro @@ -0,0 +1,47 @@ +--- +interface Props { + name: string; +} + +const { name } = Astro.props; + +import Icon from "../components/Icon.astro"; +--- + +
+
+
+ +
+
+

Portfolio

+

A website to display my awesomeness

+
+
+
+
+
+
+
+ + diff --git a/src/pages/index.astro b/src/pages/index.astro index 40ebd52..8fa0019 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,6 +1,8 @@ --- import Layout from "../layouts/Layout.astro"; import Card from "../components/Card.astro"; +import Icon from "../components/Icon.astro"; + --- @@ -9,8 +11,10 @@ import Card from "../components/Card.astro";

Hey there! I'm Samvid, a high schooler interested in computer science and programming.

-
- +
+ + +
@@ -18,6 +22,7 @@ import Card from "../components/Card.astro";