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.
Portfolio/src/models/header.ts

17 lines
335 B

import z from "zod";
export const HeaderPropsModel = z.object({
fullName: z.string(),
name: z.string(),
description: z.string(),
contact: z.object({
email: z.string().email(),
linkedin: z.string().url(),
git: z.string().url()
})
});
export type HeaderProps = z.infer<typeof HeaderPropsModel>;
export default HeaderProps;