first commit
This commit is contained in:
commit
fa58768553
1 changed files with 4134 additions and 0 deletions
33
src/layouts/Layout.astro
Normal file
33
src/layouts/Layout.astro
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
---
|
||||
import "../styles/index.css"
|
||||
import Nav from "../components/Nav.astro"
|
||||
|
||||
export interface Props {
|
||||
page: string
|
||||
}
|
||||
|
||||
const { page } = Astro.props
|
||||
---
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<meta content="Henry Hiles" property="og:title" />
|
||||
<meta
|
||||
content="The website of full stack .NET developer & discord bot developer Henry Hiles."
|
||||
property="og:description"
|
||||
/>
|
||||
<meta content="https://henryhiles.com" property="og:url" />
|
||||
<meta content="favicon.ico" property="og:image" />
|
||||
<meta content="#14bc9d" data-react-helmet="true" name="theme-color" />
|
||||
<title>Henry Hiles - {page}</title>
|
||||
</head>
|
||||
<body>
|
||||
<Nav />
|
||||
<slot />
|
||||
</body>
|
||||
</html>
|
||||
Reference in a new issue