@ -11,19 +11,14 @@ import { siteConfig } from '../lib/config';
export interface Props {
export interface Props {
title: string;
title: string;
description?: string;
description?: string;
keywords?: string[];
sponsor?: SponsorType;
sponsor?: SponsorType;
seo: {
title: string;
description: string;
keywords: string[];
};
}
}
const {
const {
title = siteConfig.title,
title = siteConfig.title,
description = siteConfig.description,
description = siteConfig.description,
keywords = siteConfig.keywords,
keywords = siteConfig.keywords,
seo,
sponsor,
sponsor,
} = Astro.props;
} = Astro.props;
---
---
@ -36,39 +31,63 @@ const {
<title>{title}</title>
<title>{title}</title>
<meta name='description' content={description} />
<meta name='description' content={description} />
<meta name='author' content='Kamran Ahmed' />
<meta name='author' content='Kamran Ahmed' />
<meta name="keywords" content={ keywords.join(', ')} />
<meta name='keywords' content={keywords.join(', ')} />
<meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1.0, maximum-scale=3.0, minimum-scale=1.0">
<meta
<meta http-equiv="Content-Language" content="en" />
name='viewport'
content='width=device-width, user-scalable=yes, initial-scale=1.0, maximum-scale=3.0, minimum-scale=1.0'
/>
<meta http-equiv='Content-Language' content='en' />
<meta name="twitter:card" content="summary_large_image" />
<meta name='twitter:card' content='summary_large_image' />
<meta name="twitter:creator" content="@kamranahmedse" />
<meta name='twitter:creator' content='@kamranahmedse' />
<meta property="og:image:width" content="1200" />
<meta property='og:image:width' content='1200' />
<meta property="og:image:height" content="630" />
<meta property='og:image:height' content='630' />
<meta property="og:image" content="https://roadmap.sh/og-img.png" />
<meta property='og:image' content='https://roadmap.sh/og-img.png' />
<meta property="og:image:alt" content="roadmap.sh" />
<meta property='og:image:alt' content='roadmap.sh' />
<meta property="og:site_name" content="roadmap.sh" />
<meta property='og:site_name' content='roadmap.sh' />
<meta property="og:title" content={title } />
<meta property='og:title' content={title } />
<meta property="og:description" content={description} />
<meta property='og:description' content={description} />
<meta property="og:type" content="website" />
<meta property='og:type' content='website' />
<meta property="og:url" content="https://roadmap.sh" />
<meta property='og:url' content='https://roadmap.sh' />
<meta name="mobile-web-app-capable" content="yes" />
<meta name='mobile-web-app-capable' content='yes' />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name='apple-mobile-web-app-capable' content='yes' />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta
<meta name="apple-mobile-web-app-title" content="roadmap.sh" />
name='apple-mobile-web-app-status-bar-style'
<meta name="application-name" content="roadmap.sh" />
content='black-translucent'
/>
<meta name='apple-mobile-web-app-title' content='roadmap.sh' />
<meta name='application-name' content='roadmap.sh' />
<link rel="apple-touch-icon" sizes="180x180" href="/manifest/apple-touch-icon.png" />
<link
<meta name="msapplication-TileColor" content="#101010" />
rel='apple-touch-icon'
<meta name="theme-color" content="#848a9a" />
sizes='180x180'
href='/manifest/apple-touch-icon.png'
/>
<meta name='msapplication-TileColor' content='#101010' />
<meta name='theme-color' content='#848a9a' />
<link rel="manifest" href="/manifest/manifest.json" />
<link rel='manifest' href='/manifest/manifest.json' />
<link rel="icon" type="image/png" sizes="32x32" href="/manifest/icon32.png" />
<link
<link rel="icon" type="image/png" sizes="16x16" href="/manifest/icon16.png" />
rel='icon'
<link rel="shortcut icon" href="/manifest/favicon.ico" type="image/x-icon" />
type='image/png'
sizes='32x32'
href='/manifest/icon32.png'
/>
<link
rel='icon'
type='image/png'
sizes='16x16'
href='/manifest/icon16.png'
/>
<link
rel='shortcut icon'
href='/manifest/favicon.ico'
type='image/x-icon'
/>
<link rel="icon" href="/manifest/favicon.ico" type="image/x-icon" />
<link rel='icon' href='/manifest/favicon.ico' type='image/x-icon' />
<slot name='after-header' />
<slot name='after-header' />
</head>
</head>