This commit is contained in:
hamid zarghami
2025-04-22 16:48:46 +03:30
parent 8c1f7c7501
commit 452a709273
2 changed files with 8 additions and 5 deletions
+4 -1
View File
@@ -5,6 +5,7 @@ import { FC } from 'react'
import { Navigation } from 'swiper/modules' import { Navigation } from 'swiper/modules'
import { Swiper, SwiperSlide } from 'swiper/react' import { Swiper, SwiperSlide } from 'swiper/react'
import { useGetLanding } from './hooks/useHomeData'; import { useGetLanding } from './hooks/useHomeData';
import Link from 'next/link';
const HeroSection: FC = () => { const HeroSection: FC = () => {
@@ -30,10 +31,12 @@ const HeroSection: FC = () => {
<p>{item.title}</p> <p>{item.title}</p>
<p className='xl:mt-5 font-bold'>{item.description}</p> <p className='xl:mt-5 font-bold'>{item.description}</p>
<Link href={item.link}>
<Button <Button
className='xl:mt-12 mt-5 !w-fit px-10 bg-white !text-black' className='xl:mt-12 mt-5 !w-fit px-10 bg-white !text-black'
label='درباره ی ما' label='بیشتر بدانید'
/> />
</Link>
</div> </div>
</div> </div>
</div> </div>
+1 -1
View File
@@ -23,7 +23,7 @@ export async function generateMetadata(
const service = queryClient.getQueryData(detailServiceQueryOptions(id).queryKey) as ServiceDetailResponse const service = queryClient.getQueryData(detailServiceQueryOptions(id).queryKey) as ServiceDetailResponse
return { return {
title: جله داناک' + ' | ' + service.data.danakService.name, title: حصولات داناک' + ' | ' + service.data.danakService.name,
description: service.data.danakService.metaDescription, description: service.data.danakService.metaDescription,
} }
} }