diff options
| author | Tomas Bankauskas <tbdizainas@gmail.com> | 2024-04-04 15:23:09 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-04 15:23:09 +0300 |
| commit | 4df0e4a754ea5e1fb0d05a4e08a53cd49e9fce16 (patch) | |
| tree | d695b3f987ccf7113ba73b467a94082457be63ea /src/pages/index.astro | |
| parent | 5c66b0550a6e3bd6b558da4229bcb6be2d9244f6 (diff) | |
Added Daisy UI and basic components (#3)
* added daisyui
* added Footer.astro
* updated Header.astro, added Card.astro, etc
* small adjustments
Diffstat (limited to 'src/pages/index.astro')
| -rw-r--r-- | src/pages/index.astro | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/src/pages/index.astro b/src/pages/index.astro index cac48e0..2a3c105 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,13 +1,20 @@ --- -import Layout from '../layouts/Layout.astro'; +import Layout from "../layouts/Layout.astro"; +import Card from "../components/Card.astro"; --- <Layout title="Welcome to Astro."> - <main> - <h1>Welcome to Astro</h1> - <p> - To get started, open the directory <code>src/pages</code> in your project.<br /> - <strong>Code Challenge:</strong> Tweak the "Welcome to Astro" message above. - </p> - </main> + <main class="flex flex-col gap-8 sm:gap-16"> + <section class="flex flex-col items-start gap-3 sm:gap-4"> + <h1 class="mb-0">Netlify Platform Starter - Astro.js</h1> + <p class="text-lg">Get started with Astro.js and Netlify in seconds.</p> + <a + href="https://docs.netlify.com/frameworks/astro/" + class="btn btn-lg btn-primary sm:btn-wide" + > + Read the Docs + </a> + <Card title="Random Title" text="Long random text about Astro.js. Get started with Astro.js and Netlify in seconds." /> + </section> + </main> </Layout> |
