export default function head(props: { title: string; description: string; image: string; path: string; url: string; environment: "prod" | "dev"; preload?: string[]; dns?: string[]; }) { const mimetype = `image/${ props.image.split(".")[props.image.split(".").length - 1] }`; return ( {props.title} {props.preload ? props.preload.map((item) => ) : ""} {props.dns ? props.dns.map((item) => ) : ""} {props.environment == "dev" ? ( ) : ( "" )} ); }