Add footer to website

This commit is contained in:
itsfinniii
2026-04-19 18:03:32 +02:00
parent 2374a6bd22
commit 506a5ed14e
8 changed files with 298 additions and 8 deletions

44
astro/src/types/footers/footer.d.ts vendored Normal file
View File

@@ -0,0 +1,44 @@
import type { StringValidation } from "astro:schema";
type Footer = {
id: string;
title: string | null;
logo: PhotoProps | null;
copyright: string | null;
columns: FooterColumn[];
socials: FooterSocial[] | null;
secondaryLinks: FooterSecondaryLink[] | null;
lastModified: Date;
}
type FooterColumn = {
id: string;
title: string;
links: FooterColumnLink[];
}
type FooterSocial = {
id: string;
name: string;
url: string;
icon: PhotoProps;
}
type FooterSecondaryLink = {
id: string;
text: string;
url: string;
}
type FooterColumnLink = {
id: string;
text: string;
url: string;
}