Update html metadata

- Add global `lang` attribute
- Add metadata: `author`, `color-scheme` and `theme-color`.
This commit is contained in:
Foster Hangdaan 2023-08-04 16:14:14 -04:00
parent 7de0e1def5
commit ab2099a44b
Signed by: foster
GPG key ID: E48D7F49A852F112

View file

@ -1,11 +1,15 @@
export default function({ title, description, children, comp }) {
return (
<html>
<html lang="en-CA">
<head>
<meta charSet="utf-8"/>
<title>{title}</title>
<meta charSet="utf-8"/>
<meta name="description" content={description}/>
<meta name="author" content="Foster Hangdaan"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="color-scheme" content="dark light"/>
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#1a1b26"/>
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#d5d6db"/>
<link rel="stylesheet" href="/styles/main.css"/>
<link rel="icon" type="image/png" href="/icons/tabicon-16.png" sizes="16x16" />
<link rel="icon" type="image/png" href="/icons/tabicon-32.png" sizes="32x32" />