diff --git a/src/app/articles/page.tsx b/src/app/articles/page.tsx index b82fde8..fb0dc0b 100644 --- a/src/app/articles/page.tsx +++ b/src/app/articles/page.tsx @@ -1,6 +1,10 @@ +"use client" + import { ArrowUpRight } from 'lucide-react'; import Link from "next/link"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "~/components/ui/card"; +import { CardSkeleton } from "~/components/ui/skeletons"; +import { useState, useEffect } from 'react'; const articles = [ { @@ -28,41 +32,58 @@ const articles = [ ]; export default function ArticlesPage() { + const [loading, setLoading] = useState(true); + + useEffect(() => { + const fetchArticles = async () => { + await new Promise(resolve => setTimeout(resolve, 0)); + setLoading(false); + }; + fetchArticles(); + }, []); + return (
- {/* Articles Section */}
-
-

In the Media 🗞️

-

- I have been lucky enough to have a few wonderful articles written about me and my work. Go check them out! -

-
- {articles.map((article, index) => ( - - -
- {article.title} - - - -
- - Written by {article.author}, found in {article.source}. - -
- -

- {article.description} -

-
-
- ))} +
+

In the Media 🗞️

+

+ I have been lucky enough to have a few wonderful articles written about me and my work. Go check them out! +

+
+ {loading ? ( + <> + + + + + ) : ( + articles.map((article, index) => ( + + +
+ {article.title} + + + +
+ + Written by {article.author}, found in {article.source}. + +
+ +

+ {article.description} +

+
+
+ )) + )}
); diff --git a/src/app/cv/page.tsx b/src/app/cv/page.tsx index f2a20ca..f962a23 100644 --- a/src/app/cv/page.tsx +++ b/src/app/cv/page.tsx @@ -14,7 +14,7 @@ export default function CVPage() {

Curriculum Vitae 📄

-

+

My academic and professional experience in computer science, robotics, and engineering.

@@ -30,7 +30,7 @@ export default function CVPage() { @@ -65,7 +65,7 @@ export default function CVPage() { diff --git a/src/app/projects/page.tsx b/src/app/projects/page.tsx index e0dca73..5632cab 100644 --- a/src/app/projects/page.tsx +++ b/src/app/projects/page.tsx @@ -20,7 +20,7 @@ export default function ProjectsPage() {

Featured Projects 🌟

-

+

A selection of my academic and professional projects, focusing on robotics, web development, and embedded systems.

diff --git a/src/app/publications/page.tsx b/src/app/publications/page.tsx index 52044d6..78bc0f0 100644 --- a/src/app/publications/page.tsx +++ b/src/app/publications/page.tsx @@ -61,7 +61,7 @@ export default function PublicationsPage() {

Publications 📚

-

+

My research publications in human-robot interaction and robotics.