49 lines · 2.2 KB · Text
RawDownload
---import '../styles/global.css' interface Props {  title?: string  description?: string} const {  title = 'Executor — The gateway to connect your agent to everything',  description = 'One place every agent plugs into every tool you already use. Wire it up once, bring the whole team.'} = Astro.props const ogImage = new URL('/og-image.png', Astro.site ?? Astro.url).toString()const canonical = new URL(Astro.url.pathname, Astro.site ?? Astro.url).toString()--- <html lang="en">  <head>    <meta charset="utf-8" />    <link rel="icon" type="image/x-icon" href="/favicon.ico" />    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32.png" />    <link rel="icon" type="image/png" sizes="192x192" href="/favicon-192.png" />    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />    <meta name="viewport" content="width=device-width, initial-scale=1" />    <meta name="color-scheme" content="light" />    <meta name="description" content={description} />    <link rel="canonical" href={canonical} />    <meta property="og:type" content="website" />    <meta property="og:url" content={canonical} />    <meta property="og:title" content={title} />    <meta property="og:description" content={description} />    <meta property="og:image" content={ogImage} />    <meta property="og:image:width" content="3800" />    <meta property="og:image:height" content="2360" />    <meta property="og:image:alt" content={title} />    <meta name="twitter:card" content="summary_large_image" />    <meta name="twitter:title" content={title} />    <meta name="twitter:description" content={description} />    <meta name="twitter:image" content={ogImage} />    <title>{title}</title>    <link rel="preconnect" href="https://fonts.googleapis.com" />    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />    <link href="https://fonts.googleapis.com/css2?family=Anton&family=Fraunces:ital,opsz,wght@0,9..144,400..900;1,9..144,400..900&family=Geist:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet" />  </head>  <body class="antialiased">    <slot />  </body></html>