From 82e862474f029cbee369dcc434dc69701fe327e9 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Thu, 27 Feb 2025 10:31:56 +0100 Subject: Basic astro project --- src/assets/astro.svg | 1 + src/assets/background.svg | 1 + src/components/Welcome.astro | 209 +++++++++++++++++++++++++++++++++++++++++++ src/layouts/Layout.astro | 22 +++++ src/pages/index.astro | 11 +++ 5 files changed, 244 insertions(+) create mode 100644 src/assets/astro.svg create mode 100644 src/assets/background.svg create mode 100644 src/components/Welcome.astro create mode 100644 src/layouts/Layout.astro create mode 100644 src/pages/index.astro (limited to 'src') diff --git a/src/assets/astro.svg b/src/assets/astro.svg new file mode 100644 index 0000000..8cf8fb0 --- /dev/null +++ b/src/assets/astro.svg @@ -0,0 +1 @@ + diff --git a/src/assets/background.svg b/src/assets/background.svg new file mode 100644 index 0000000..4b2be0a --- /dev/null +++ b/src/assets/background.svg @@ -0,0 +1 @@ + diff --git a/src/components/Welcome.astro b/src/components/Welcome.astro new file mode 100644 index 0000000..6b7b9c7 --- /dev/null +++ b/src/components/Welcome.astro @@ -0,0 +1,209 @@ +--- +import astroLogo from '../assets/astro.svg'; +import background from '../assets/background.svg'; +--- + +
+ +
+
+ Astro Homepage +

+ To get started, open the
src/pages
directory in your project. +

+ +
+
+ + + +

What's New in Astro 5.0?

+

+ From content layers to server islands, click to learn more about the new features and + improvements in Astro 5.0 +

+
+
+ + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro new file mode 100644 index 0000000..e455c61 --- /dev/null +++ b/src/layouts/Layout.astro @@ -0,0 +1,22 @@ + + + + + + + + Astro Basics + + + + + + + diff --git a/src/pages/index.astro b/src/pages/index.astro new file mode 100644 index 0000000..c04f360 --- /dev/null +++ b/src/pages/index.astro @@ -0,0 +1,11 @@ +--- +import Welcome from '../components/Welcome.astro'; +import Layout from '../layouts/Layout.astro'; + +// Welcome to Astro! Wondering what to do next? Check out the Astro documentation at https://docs.astro.build +// Don't want to use any of this? Delete everything in this file, the `assets`, `components`, and `layouts` directories, and start fresh. +--- + + + + -- cgit v1.3.1