Add Astro index and template

This commit is contained in:
Sam Carlton 2022-04-25 17:12:58 -05:00
parent a8cf3ba592
commit 1c06b6285e
2 changed files with 63 additions and 0 deletions

30
src/layouts/default.astro Normal file
View file

@ -0,0 +1,30 @@
---
import '~/assets/css/tailwind.css'
import VueBaseLayout from '../../layouts/base.vue'
const {
headTitle,
headDescription
} = Astro.props
---
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>{ headTitle }</title>
<meta name="Description" content={ headDescription }>
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="preconnect" href="https://www.googletagmanager.com" crossorigin>
</head>
<body>
<VueBaseLayout>
<slot />
</VueBaseLayout>
</body>
</html>