updated base component

Changed files
+3 -2
public
src
components
public/mainbanner.png

This is a binary file and will not be displayed.

+3 -2
src/components/Base.astro
··· 1 1 --- 2 2 interface Props { 3 3 title: string; 4 + banner?: string; 4 5 graph?: { 5 6 description: string; 6 7 url?: string; 7 8 type?: "website" | "article"; 8 - image?: string; 9 9 }; 10 10 } 11 11 12 12 const title = "::" + Astro.props.title; 13 + const { banner = "https://entomoviscera.online/mainbanner.png" } = Astro.props; 13 14 const { graph } = Astro.props; 14 15 --- 15 16 ··· 28 29 <meta property="og:description" content={graph.description} /> 29 30 <meta property="og:url" content={graph.url} /> 30 31 <meta property="og:type" content={graph.type ?? "website"} /> 31 - <meta property="og:image" content={graph.image} /> 32 + <meta property="og:image" content={banner} /> 32 33 </Fragment> 33 34 ) 34 35 }