You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
327 B
15 lines
327 B
import z from "zod";
|
|
|
|
const FooterColumnModel = z.object({
|
|
title: z.string(),
|
|
links: z.object({ url: z.string().url(), text: z.string() }).array()
|
|
});
|
|
|
|
export const FooterPropsModel = z.object({
|
|
columns: FooterColumnModel.array()
|
|
});
|
|
|
|
export type FooterProps = z.infer<typeof FooterPropsModel>;
|
|
|
|
export default FooterProps;
|