Tidy up metadata, headings, forms, and small accessibility fixes
Build and Deploy to Web Server / deploy (push) Successful in 4m34s

This commit is contained in:
encie22 committed 2026-10-15 10:55:24 +10:30
1 parent ff54fe8848
commit 1cf8ddc940
18 files changed
+107 -59

No files matched your search

+5 -4
View File
@@ -17,7 +17,7 @@ const allProjectHeros = import.meta.glob<{ default: ImageMetadata }>(
);
const allImages = import.meta.glob<{ default: ImageMetadata }>(
"/**/*.{jpeg,jpg,png,gif}",
"/src/assets/**/*.{jpeg,jpg,png,gif}",
{
eager: true
}
@@ -82,11 +82,12 @@ export function getAllProjectImages(project: Project): ImageMetadata[] {
}
export function shuffleArray<T>(array: Array<T>): Array<T> {
for (let i = array.length - 1; i > 0; i--) {
const copy = [...array];
for (let i = copy.length - 1; i > 0; i--) {
const j = Math.floor(Math.random() * (i + 1));
[array[i], array[j]] = [array[j], array[i]];
[copy[i], copy[j]] = [copy[j], copy[i]];
}
return array;
return copy;
}
export async function convertEagerImagesImportGlobToArray(