diff --git a/www/src/components/Hero.astro b/www/src/components/Hero.astro deleted file mode 100644 index 40aac64..0000000 --- a/www/src/components/Hero.astro +++ /dev/null @@ -1,24 +0,0 @@ ---- -interface Props { title: string; eyebrow?: string; description?: string; image?: string; alt?: string; } -const { title, eyebrow, description, image, alt = '' } = Astro.props; ---- -
-
-
- {eyebrow &&

{eyebrow}

} -

{title}

- {description &&

{description}

} - Get Started -
- {image && {alt}} -
-
- - diff --git a/www/src/pages/ar/index.astro b/www/src/pages/ar/index.astro index 6dfc18a..d86428e 100644 --- a/www/src/pages/ar/index.astro +++ b/www/src/pages/ar/index.astro @@ -1,11 +1,11 @@ --- import { getCollection } from 'astro:content'; import BaseLayout from '../../layouts/BaseLayout.astro'; -import Hero from '../../components/Hero.astro'; +import HomeHero from '../../components/home/HomeHero.astro'; import BlogCard from '../../components/BlogCard.astro'; const posts = (await getCollection('blog', ({ data }) => data.lang === 'ar' && !data.draft)).slice(0, 3); --- - +

المكتبة

{posts.map((post) => )}