component formatting and types
This commit is contained in:
parent
c2a7d15eeb
commit
ce745c06e5
60 changed files with 464 additions and 301 deletions
8
types/component/global/footer.ts
Normal file
8
types/component/global/footer.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
import type FooterLink from "../items/footerLink";
|
||||
|
||||
export default interface Footer {
|
||||
id: number;
|
||||
copyright: undefined | string;
|
||||
maintained_by: undefined | string;
|
||||
links: FooterLink[];
|
||||
}
|
6
types/component/global/navbar.ts
Normal file
6
types/component/global/navbar.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
import type NavbarItem from "../items/navbarItem";
|
||||
|
||||
export default interface Navbar {
|
||||
id: number;
|
||||
navbar_items: NavbarItem[];
|
||||
}
|
5
types/component/global/seo.ts
Normal file
5
types/component/global/seo.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
export default interface SEO {
|
||||
metaTitle: string;
|
||||
metaDescription: string;
|
||||
keywords: string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue