From 93c2cc0553d8b79dbc9b3c6d2bef7138b631c163 Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Thu, 14 Apr 2022 12:09:42 -0700 Subject: update starter template (#3109) --- examples/starter/src/pages/index.astro | 38 +++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) (limited to 'examples/starter/src/pages/index.astro') diff --git a/examples/starter/src/pages/index.astro b/examples/starter/src/pages/index.astro index 1de0ce37d..ea853b668 100644 --- a/examples/starter/src/pages/index.astro +++ b/examples/starter/src/pages/index.astro @@ -1,10 +1,8 @@ --- -// Style Imports +import {Content as TourContent} from '../content/Tour.md'; +import Logo from '../components/Logo.astro'; import '../styles/global.css'; import '../styles/home.css'; -// Component Imports -import Tour from '../components/Tour.astro'; -// You can import components from any supported Framework here! /* ASTRO:COMPONENT_IMPORTS */ // Component Script: @@ -31,25 +29,51 @@ let title = 'My Astro Site'; gap: 1em; max-width: min(100%, 68ch); } + article { + padding-top: 2em; + line-height: 1.5; + display: flex; + flex-direction: column; + gap: 1em; + max-width: 70ch; + } + .banner { + text-align: center; + font-size: 1.2rem; + background: var(--color-light); + padding: 1em 1.5em; + padding-left: 0.75em; + border-radius: 4px; + } + +
- Astro logo +

Welcome to Astro

- +
+ + +