From d1cf33757b2b881c5ebb503782406097a9ded0cd Mon Sep 17 00:00:00 2001 From: ildyria Date: Fri, 2 Aug 2024 21:04:39 +0200 Subject: [PATCH] adjustmenets --- src/pages/index.astro | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index 7208132f..aa198ffd 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -2,28 +2,20 @@ import Layout from '~/layouts/PageLayout.astro'; import Hero from '~/components/widgets/Hero.astro'; -// import Note from '~/components/widgets/Note.astro'; -// import Features from '~/components/widgets/Features.astro'; -// import Features2 from '~/components/widgets/Features2.astro'; -// import Steps from '~/components/widgets/Steps.astro'; import Content from '~/components/widgets/Content.astro'; import Content3 from '~/components/widgets/Content3.astro'; -// import Image from '~/components/common/Image.astro'; -// import { Image } from "astro:assets" import { Image } from 'astro:assets'; -// import BlogLatestPosts from '~/components/widgets/BlogLatestPosts.astro'; -// import FAQs from '~/components/widgets/FAQs.astro'; import Stats from '~/components/widgets/Stats.astro'; import CallToAction from '~/components/widgets/CallToAction.astro'; import showcase from '../assets/images/showcase.jpg'; import Features4 from '~/components/widgets/Features4.astro'; -import show0 from '../assets/images/showcase/0.jpg'; -import show1 from '../assets/images/showcase/1.jpg'; -import show2 from '../assets/images/showcase/2.jpg'; -import show3 from '../assets/images/showcase/3.jpg'; +import show0 from '~/assets/images/showcase/0.jpg'; +import show1 from '~/assets/images/showcase/1.jpg'; +import show2 from '~/assets/images/showcase/2.jpg'; +import show3 from '~/assets/images/showcase/3.jpg'; const metadata = { - title: 'AstroWind — Free template for creating websites with Astro + Tailwind CSS', + title: 'LycheeOrg — Self-hosted photo-management done right.', ignoreTitleTemplate: true, }; --- @@ -166,10 +158,10 @@ const metadata = { title: 'Share your albums or photos with your favourite service.', }, ]} - img1={{ src: '~/assets/images/showcase/0.jpg', alt: 'Colorful Image' }} - img2={{ src: '~/assets/images/showcase/1.jpg', alt: 'Colorful Image' }} - img3={{ src: '~/assets/images/showcase/2.jpg', alt: 'Colorful Image' }} - img4={{ src: '~/assets/images/showcase/3.jpg', alt: 'Colorful Image' }} + img1={{ src: show0.src, alt: 'Showcase 1' }} + img2={{ src: show1.src, alt: 'Showcase 2' }} + img3={{ src: show2.src, alt: 'Showcase 3' }} + img4={{ src: show3.src, alt: 'Showcase 4' }} />