Second commit (for vercel)

This commit is contained in:
PrototypeArea
2022-06-23 23:27:36 -04:00
parent c9c1b68562
commit 82e5e6e183
4 changed files with 10 additions and 46 deletions

View File

@ -1,5 +1,5 @@
---
const { title } = Astro.props;
const { title = "", description = "" } = Astro.props;
---
<!DOCTYPE html>
@ -9,6 +9,7 @@ const { title } = Astro.props;
<meta name="viewport" content="width=device-width">
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<title>{title}</title>
<meta name="description" content={description}>
</head>
<body>
<slot />

View File

@ -1,7 +1,7 @@
---
import Layout from '../layouts/Layout.astro';
import Layout from '~/layouts/Layout.astro';
---
<Layout title="Welcome to Astro.">
<Layout title="Tailwind Astro">
<main>
<h1>Welcome to <span class="text-gradient">Tailwind Astro</span></h1>
<p class="instructions">