From 6c7730e852854839a05f8380196a312d07ffa01d Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 18 Sep 2025 18:13:56 -0400 Subject: CSS tweaks; ThreeJS stuff; Moved feat. projects --- src/pages/index.astro | 33 -------------------------------- src/pages/projects/3d.astro | 43 ++++++++++++++++-------------------------- src/pages/projects/index.astro | 30 +++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 60 deletions(-) (limited to 'src/pages') diff --git a/src/pages/index.astro b/src/pages/index.astro index d109080..daabea8 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -3,7 +3,6 @@ import Layout from '../layouts/Default.astro'; import { Icon } from 'astro-icon/components' import { Image } from 'astro:assets'; import { getCollection } from "astro:content"; -import projects from "../data/projects.json"; import Profile from '../images/Alee.png'; import '../styles/index.css'; @@ -11,7 +10,6 @@ import '../styles/Page.css'; import "../styles/cards.css"; import { formatDate } from "../util"; const allBlogPosts = (await getCollection('blog')).sort((a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf()).slice(0, 10); -const featuredProjects = projects.filter(project => project.featured); --- @@ -109,36 +107,5 @@ const featuredProjects = projects.filter(project => project.featured); ))} -
- -
- diff --git a/src/pages/projects/3d.astro b/src/pages/projects/3d.astro index 8f9a06d..3715a3d 100644 --- a/src/pages/projects/3d.astro +++ b/src/pages/projects/3d.astro @@ -1,38 +1,27 @@ --- import Page from "../../layouts/Page.astro"; +import Models from "../../data/models.json"; import "../../styles/cards.css"; import ThreeJSModels from "../../components/3DModels.jsx"; ---
-
-

Test

-

Description

- -
- Download - Licensed with (license) -
-
-
-

Test

-

Description

- -
- Download - Licensed with (license) -
-
-
-

Test

-

Description

- -
- Download - Licensed with (license) -
-
+ { + Models.map((model) => { + return ( +
+

{model.name}

+

{model.description}

+ +
+ Download + Licensed under {model.license} +
+
+ ) + }) + }
diff --git a/src/pages/projects/index.astro b/src/pages/projects/index.astro index 9a2dbc7..4d997c5 100644 --- a/src/pages/projects/index.astro +++ b/src/pages/projects/index.astro @@ -1,6 +1,8 @@ --- import Page from "../../layouts/Page.astro"; import "../../styles/cards.css"; +import projects from "../../data/projects.json"; +const featuredProjects = projects.filter(project => project.featured); ---
@@ -18,6 +20,28 @@ import "../../styles/cards.css";

Websites I created

+
-- cgit v1.2.3