Add footer to website
This commit is contained in:
44
astro/src/types/footers/footer.d.ts
vendored
Normal file
44
astro/src/types/footers/footer.d.ts
vendored
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user