Add un-optimised content warning to index

This commit is contained in:
Troy 2025-04-28 21:11:06 +01:00
parent 90edb8db0a
commit 26258249d1
Signed by: troy
GPG key ID: DFC06C02ED3B4711
3 changed files with 27 additions and 14 deletions

24
package-lock.json generated
View file

@ -15,7 +15,7 @@
"@fontsource-variable/outfit": "^5.2.5",
"@fontsource-variable/red-hat-mono": "^5.2.5",
"@tailwindcss/vite": "^4.1.4",
"astro": "^5.7.5",
"astro": "^5.7.7",
"astro-icon": "^1.1.5",
"rehype-external-links": "^3.0.0",
"tailwindcss": "^4.1.4",
@ -24,7 +24,7 @@
"devDependencies": {
"@iconify-json/mdi": "^1.2.3",
"@tailwindcss/typography": "^0.5.16",
"@types/node": "^22.15.2",
"@types/node": "^22.15.3",
"npm-check-updates": "^18.0.1",
"prettier": "^3.5.3",
"prettier-plugin-astro": "^0.14.1",
@ -1995,9 +1995,9 @@
}
},
"node_modules/@types/node": {
"version": "22.15.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.2.tgz",
"integrity": "sha512-uKXqKN9beGoMdBfcaTY1ecwz6ctxuJAcUlwE55938g0ZJ8lRxwAZqRz2AJ4pzpt5dHdTPMB863UZ0ESiFUcP7A==",
"version": "22.15.3",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.3.tgz",
"integrity": "sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw==",
"license": "MIT",
"dependencies": {
"undici-types": "~6.21.0"
@ -2311,9 +2311,9 @@
}
},
"node_modules/astro": {
"version": "5.7.5",
"resolved": "https://registry.npmjs.org/astro/-/astro-5.7.5.tgz",
"integrity": "sha512-c59YuYiXyWWnUMOBlDczrjqKzF0dJQP20EP9vqDggcyKm//tEt9iJHNwoYq4r3UeO9UJCwlGK8FwaGTAwwF3IA==",
"version": "5.7.7",
"resolved": "https://registry.npmjs.org/astro/-/astro-5.7.7.tgz",
"integrity": "sha512-nmp8U3oQLZ/eDlobF1UG0hiSycVvHrVyPDMXZxuohpd24Z2aO2Ea0YnfZxS5Sx4uh9c8UBxy4fHTcoQlXNx3TQ==",
"license": "MIT",
"dependencies": {
"@astrojs/compiler": "^2.11.0",
@ -2363,7 +2363,7 @@
"tinyglobby": "^0.2.12",
"tsconfck": "^3.1.5",
"ultrahtml": "^1.6.0",
"unifont": "~0.2.0",
"unifont": "~0.4.0",
"unist-util-visit": "^5.0.0",
"unstorage": "^1.15.0",
"vfile": "^6.0.3",
@ -7588,9 +7588,9 @@
}
},
"node_modules/unifont": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/unifont/-/unifont-0.2.0.tgz",
"integrity": "sha512-RoF14/tOhLvDa7R5K6A3PjsfJVFKvadvRpWjfV1ttabUe9704P1ie9z1ABLWEts/8SxrBVePav/XhgeFNltpsw==",
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/unifont/-/unifont-0.4.1.tgz",
"integrity": "sha512-zKSY9qO8svWYns+FGKjyVdLvpGPwqmsCjeJLN1xndMiqxHWBAhoWDMYMG960MxeV48clBmG+fDP59dHY1VoZvg==",
"license": "MIT",
"dependencies": {
"css-tree": "^3.0.0",

View file

@ -19,7 +19,7 @@
"@fontsource-variable/outfit": "^5.2.5",
"@fontsource-variable/red-hat-mono": "^5.2.5",
"@tailwindcss/vite": "^4.1.4",
"astro": "^5.7.5",
"astro": "^5.7.7",
"astro-icon": "^1.1.5",
"rehype-external-links": "^3.0.0",
"tailwindcss": "^4.1.4",
@ -28,7 +28,7 @@
"devDependencies": {
"@iconify-json/mdi": "^1.2.3",
"@tailwindcss/typography": "^0.5.16",
"@types/node": "^22.15.2",
"@types/node": "^22.15.3",
"npm-check-updates": "^18.0.1",
"prettier": "^3.5.3",
"prettier-plugin-astro": "^0.14.1",

View file

@ -16,4 +16,17 @@ const projects = allProjects
<section class="animate-reveal opacity-0 [animation-delay:0.3s]">
<Slideshow images={projects} />
</section>
<div role="alert">
<div class="rounded-t bg-amber-500 px-4 py-2 font-bold text-white">
Notice
</div>
<div
class="rounded-b border border-t-0 border-amber-400 bg-amber-100 px-4 py-3 text-amber-700 dark:border-amber-600 dark:bg-amber-900 dark:text-amber-300"
>
<p>
Some content might be missing or un-optimised as I am in the process of
reworking what content is displayed.
</p>
</div>
</div>
</Layout>