diff --git a/package-lock.json b/package-lock.json index 26525c9..47400d8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@astrojs/rss": "^4.0.12", "@astrojs/sitemap": "3.4.1", "@tailwindcss/vite": "^4.1.11", - "astro": "^5.11.0", + "astro": "^5.11.1", "astro-icon": "^1.1.5", "rehype-external-links": "^3.0.0", "tailwindcss": "^4.1.11", @@ -22,7 +22,7 @@ "devDependencies": { "@iconify-json/mdi": "^1.2.3", "@tailwindcss/typography": "^0.5.16", - "@types/node": "^24.0.13", + "@types/node": "^24.0.14", "npm-check-updates": "^18.0.1", "prettier": "^3.6.2", "prettier-plugin-astro": "^0.14.1", @@ -2139,9 +2139,9 @@ } }, "node_modules/@types/node": { - "version": "24.0.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-24.0.13.tgz", - "integrity": "sha512-Qm9OYVOFHFYg3wJoTSrz80hoec5Lia/dPp84do3X7dZvLikQvM1YpmvTBEdIr/e+U8HTkFjLHLnl78K/qjf+jQ==", + "version": "24.0.14", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.0.14.tgz", + "integrity": "sha512-4zXMWD91vBLGRtHK3YbIoFMia+1nqEz72coM42C5ETjnNCa/heoj7NT1G67iAfOqMmcfhuCZ4uNpyz8EjlAejw==", "license": "MIT", "dependencies": { "undici-types": "~7.8.0" @@ -2455,9 +2455,9 @@ } }, "node_modules/astro": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/astro/-/astro-5.11.0.tgz", - "integrity": "sha512-MEICntERthUxJPSSDsDiZuwiCMrsaYy3fnDhp4c6ScUfldCB8RBnB/myYdpTFXpwYBy6SgVsHQ1H4MuuA7ro/Q==", + "version": "5.11.1", + "resolved": "https://registry.npmjs.org/astro/-/astro-5.11.1.tgz", + "integrity": "sha512-32dpUh0tXSV/FR2q2/z7LOA6IXl7RqET9J51IA0pPSSi3exhRP3EOSQGjBq10DzXT7VrvplDrFqwfiiWBS8oYA==", "license": "MIT", "dependencies": { "@astrojs/compiler": "^2.12.2", diff --git a/package.json b/package.json index 31bfffe..05b6191 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "@astrojs/rss": "^4.0.12", "@astrojs/sitemap": "3.4.1", "@tailwindcss/vite": "^4.1.11", - "astro": "^5.11.0", + "astro": "^5.11.1", "astro-icon": "^1.1.5", "rehype-external-links": "^3.0.0", "tailwindcss": "^4.1.11", @@ -26,7 +26,7 @@ "devDependencies": { "@iconify-json/mdi": "^1.2.3", "@tailwindcss/typography": "^0.5.16", - "@types/node": "^24.0.13", + "@types/node": "^24.0.14", "npm-check-updates": "^18.0.1", "prettier": "^3.6.2", "prettier-plugin-astro": "^0.14.1", diff --git a/src/components/Gallery.astro b/src/components/Gallery.astro index 35c5e96..07bc19d 100644 --- a/src/components/Gallery.astro +++ b/src/components/Gallery.astro @@ -19,12 +19,19 @@ const { items } = Astro.props as Props; items.map((item: Item) => (
{item.src && ( - {item.alt} + + {item.alt} + )}
)) diff --git a/src/components/ShowcaseProject.astro b/src/components/ShowcaseProject.astro index 06be3ba..08c9042 100644 --- a/src/components/ShowcaseProject.astro +++ b/src/components/ShowcaseProject.astro @@ -1,6 +1,7 @@ --- import { Image } from "astro:assets"; import type { CollectionEntry } from "astro:content"; +import { Icon } from "astro-icon/components"; type Props = { collection: CollectionEntry<"projects">; @@ -28,6 +29,19 @@ const { collection } = Astro.props; {collection.data.title}

+ { + collection.data.highlight ? ( +
+
+ +

New!

+
+
+ ) : null + } diff --git a/src/consts.ts b/src/consts.ts index c41b65f..8729f5f 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -49,6 +49,11 @@ export const SITE: Site = { href: "https://store.steampowered.com/developer/troy", icon: "mdi:steam", }, + { + name: "LinkedIn", + href: "https://linkedin.com/in/troylusty", + icon: "mdi:linkedin", + }, ], NAVLINKS: [ { diff --git a/src/content/config.ts b/src/content/config.ts index a7d7898..b3df877 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -55,6 +55,7 @@ const projects = defineCollection({ categories: z.array(z.string()), featured: z.boolean().optional(), collection: z.boolean().optional(), + highlight: z.boolean().optional(), }) .merge(rssSchema), }); diff --git a/src/content/projects/archive/index.mdx b/src/content/projects/archive/index.mdx index 5be0fc1..3dbd097 100644 --- a/src/content/projects/archive/index.mdx +++ b/src/content/projects/archive/index.mdx @@ -14,6 +14,7 @@ tags: "affinity photo", ] categories: ["personal"] +highlight: true --- import Gallery from "@components/Gallery.astro"; @@ -25,7 +26,7 @@ import video2023_02_08 from "./2023-02-08.webm"; import video2023_01_08 from "./2023-01-08.webm"; import video2023_07_19 from "./2023-07-19.webm"; -
+