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

33
src/pages/index.astro Normal file
View file

@ -0,0 +1,33 @@
---
import Layout from '../layouts/default.astro'
// Component Script:
// You can write any JavaScript/TypeScript that you'd like here.
// It will run during the build, but never in the browser.
// All variables are available to use in the HTML template below.
const title = 'Does It ARM?'
const description = 'Does It ARM?'
// Full Astro Component Syntax:
// https://docs.astro.build/core-concepts/astro-components/
---
<Layout
headTitle={ title }
headDescription={ description }
>
Works!
<!--
You can also use imported framework components directly in your markup!
Note: by default, these components are NOT interactive on the client.
The `:visible` directive tells Astro to make it interactive.
See https://docs.astro.build/core-concepts/component-hydration/
-->
</Layout>