From 1c06b6285e563e962e4d9169bb4bbfac10fdf8d0 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Mon, 25 Apr 2022 17:12:58 -0500 Subject: [PATCH] Add Astro index and template --- src/layouts/default.astro | 30 ++++++++++++++++++++++++++++++ src/pages/index.astro | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 src/layouts/default.astro create mode 100644 src/pages/index.astro diff --git a/src/layouts/default.astro b/src/layouts/default.astro new file mode 100644 index 0000000..edb50b9 --- /dev/null +++ b/src/layouts/default.astro @@ -0,0 +1,30 @@ +--- +import '~/assets/css/tailwind.css' + +import VueBaseLayout from '../../layouts/base.vue' + +const { + headTitle, + headDescription +} = Astro.props + +--- + + + + + { headTitle } + + + + + + + + + + + + + + diff --git a/src/pages/index.astro b/src/pages/index.astro new file mode 100644 index 0000000..606c2f9 --- /dev/null +++ b/src/pages/index.astro @@ -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/ +--- + + Works! + + + +