website/_includes/layouts/main.tsx

26 lines
1 KiB
TypeScript
Raw Normal View History

2023-07-26 16:34:06 -04:00
export default function({ title, header, children, comp }) {
2023-07-23 16:44:56 -04:00
return (
<html>
<head>
<meta charSet="utf-8"/>
2023-07-23 16:44:56 -04:00
<title>{ title }</title>
2023-08-01 22:00:33 -04:00
<meta name="description" content="Hello, my name is Foster Hangdaan. I am a software developer and open-source enthusiast."/>
2023-07-23 21:50:39 -04:00
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/styles/main.css"/>
2023-08-01 21:56:56 -04:00
<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" />
<link rel="icon" type="image/png" href="/icons/tabicon-96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="/icons/tabicon-128.png" sizes="128x128" />
<link rel="icon" type="image/png" href="/icons/tabicon-196.png" sizes="196x196" />
2023-07-23 16:44:56 -04:00
</head>
<body>
{ comp.navbar() }
{ comp.header(header) }
{ children }
2023-07-26 23:04:30 -04:00
{ comp.separator() }
{ comp.footer() }
2023-07-23 16:44:56 -04:00
</body>
</html>
);
}