From 24e6ffeacd1325990838e21a9ad4cfad69c96c4d Mon Sep 17 00:00:00 2001 From: Manuel Ernesto Garcia Date: Fri, 23 Sep 2022 12:15:20 -0400 Subject: [PATCH] adding tags to cards --- src/components/Card.astro | 5 ++- src/components/HorizontalCard.astro | 21 +++++++++++ src/components/Table.astro | 28 +++++++++++++++ src/components/cv/TimeLine.astro | 2 +- src/pages/cv.astro | 2 +- src/pages/index.astro | 2 +- src/pages/projects.astro | 55 ++++++++++++++--------------- 7 files changed, 83 insertions(+), 32 deletions(-) create mode 100644 src/components/HorizontalCard.astro create mode 100644 src/components/Table.astro diff --git a/src/components/Card.astro b/src/components/Card.astro index 5d99ea6..06fc584 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -1,5 +1,5 @@ --- -const { title, img, desc, url, badge } = Astro.props; +const { title, img, desc, url, badge, tags } = Astro.props; ---
@@ -12,6 +12,9 @@ const { title, img, desc, url, badge } = Astro.props; {badge &&
{badge}
}

{desc}

+
+ {tags && tags.map((tag) =>
{tag}
)} +
diff --git a/src/components/HorizontalCard.astro b/src/components/HorizontalCard.astro new file mode 100644 index 0000000..9906980 --- /dev/null +++ b/src/components/HorizontalCard.astro @@ -0,0 +1,21 @@ +--- +const { title, img, desc, url, badge, tags } = Astro.props; +--- + +
+ +
+ +
+

+ {title} + {badge &&
{badge}
} +

+

{desc}

+
+ {tags && tags.map((tag) =>
{tag}
)} +
+
+
+
+
diff --git a/src/components/Table.astro b/src/components/Table.astro new file mode 100644 index 0000000..345f821 --- /dev/null +++ b/src/components/Table.astro @@ -0,0 +1,28 @@ +
+ + + + + + + + + +
+
+
+
+ Avatar Tailwind CSS Component +
+
+
+
Hart Hagerty
+
United States
+
+
+
+ Zemlak, Daniel and Leannon +
+ Desktop Support Technician +
+
diff --git a/src/components/cv/TimeLine.astro b/src/components/cv/TimeLine.astro index 79134e7..8ecdece 100644 --- a/src/components/cv/TimeLine.astro +++ b/src/components/cv/TimeLine.astro @@ -10,7 +10,7 @@ const { title, subtitle, desc } = Astro.props;

{title}

{subtitle} -

+

{desc}

diff --git a/src/pages/cv.astro b/src/pages/cv.astro index 6cd418d..d2d6e75 100644 --- a/src/pages/cv.astro +++ b/src/pages/cv.astro @@ -8,7 +8,7 @@ import TimeLineElement from "../components/cv/TimeLine.astro";
Profile
-
+
Engineer in Informatics Science with 6 years + of experience in software development. Dominion of various programming languages, frameworks, CMS and graphics engines. Experience in WEB design and development. Work with Data Base handled systems, as well as design, normalization and migration. Knowledge of work with graphic design tools for image diff --git a/src/pages/index.astro b/src/pages/index.astro index fe2120d..8ad1ebb 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -22,7 +22,7 @@ import { SITE_TITLE, SITE_DESCRIPTION } from "../config";
-
My last projects {""}
+
My last projects {""}
diff --git a/src/pages/projects.astro b/src/pages/projects.astro index 743086c..ecaa30c 100644 --- a/src/pages/projects.astro +++ b/src/pages/projects.astro @@ -1,35 +1,34 @@ --- import PageLayout from "../layouts/Page.astro"; -import Card from "../components/Card.astro"; +import HorizontalCard from "../components/HorizontalCard.astro"; --- -
- - - - +
+
My last projects {""}
+ + +
+ +
+