diff --git a/src/components/sections/Work.astro b/src/components/sections/Work.astro index eee573f..ddbf7eb 100644 --- a/src/components/sections/Work.astro +++ b/src/components/sections/Work.astro @@ -23,6 +23,7 @@ interface Project { name: string; icon: any; }>; + link?: string; } const getTagIcon = (tag: string) => { @@ -71,6 +72,7 @@ const projects: Project[] = [ { name: "Tailwind CSS", icon: getTagIcon("Tailwind CSS") }, { name: "TypeScript", icon: getTagIcon("TypeScript") }, ], + link: "https://ventry.host", }, { title: "ventry.host", @@ -117,15 +119,15 @@ const sortedProjects = [...projects].sort((a, b) => {
-
+
Portfolio

Selected Work

@@ -134,20 +136,38 @@ const sortedProjects = [...projects].sort((a, b) => {
-
+
{ sortedProjects.map((project, index) => ( -
+
+ {project.link && ( + + )} +
-
+
{project.year}
-
-
+
+
+ {project.link && ( +
+ + + +
+ )}

{project.title}

@@ -156,23 +176,20 @@ const sortedProjects = [...projects].sort((a, b) => {

-
-
-

+
+
+

Technologies

-
+
{project.tags.map((tag, tagIndex) => { const Icon = tag.icon; return ( - + {tag.name} - {tagIndex !== project.tags.length - 1 && ( - - )} ); })} @@ -181,7 +198,15 @@ const sortedProjects = [...projects].sort((a, b) => {
-
+
+ + {project.link && ( +
+ + View Project + +
+ )}
)) @@ -189,3 +214,132 @@ const sortedProjects = [...projects].sort((a, b) => {
+ +
+ +
+
+ + + + +

+ External Link +

+ +

+ You are being redirected to +

+ +
+ + +
+
+
+
+ +