From 3d628f8f7a50504d684ffbc699420eb23f87398b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Sat, 17 Aug 2024 22:54:55 +0200 Subject: [PATCH] chore(website): add demo image before the hero --- website/astro.config.mjs | 1 + website/src/components/Footer.astro | 1 + website/src/components/Hero.astro | 16 ++++++++++++++++ website/src/content/docs/index.mdx | 8 +------- website/src/styles/custom.css | 2 +- 5 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 website/src/components/Hero.astro diff --git a/website/astro.config.mjs b/website/astro.config.mjs index 608fd88..c51f81b 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -22,6 +22,7 @@ export default defineConfig({ }, components: { Header: "./src/components/Header.astro", + Hero: "./src/components/Hero.astro", Footer: "./src/components/Footer.astro", }, customCss: [ diff --git a/website/src/components/Footer.astro b/website/src/components/Footer.astro index cb009bd..71de21d 100644 --- a/website/src/components/Footer.astro +++ b/website/src/components/Footer.astro @@ -8,6 +8,7 @@ const isHomepage = Astro.props.slug === ''; { isHomepage ? ( +