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
+7 -4
View File
@@ -5,6 +5,7 @@ import { FC } from 'react'
import { Navigation } from 'swiper/modules'
import { Swiper, SwiperSlide } from 'swiper/react'
import { useGetLanding } from './hooks/useHomeData';
import Link from 'next/link';
const HeroSection: FC = () => {
@@ -30,10 +31,12 @@ const HeroSection: FC = () => {
<p>{item.title}</p>
<p className='xl:mt-5 font-bold'>{item.description}</p>
<Button
className='xl:mt-12 mt-5 !w-fit px-10 bg-white !text-black'
label='درباره ی ما'
/>
<Link href={item.link}>
<Button
className='xl:mt-12 mt-5 !w-fit px-10 bg-white !text-black'
label='بیشتر بدانید'
/>
</Link>
</div>
</div>
</div>
+1 -1
View File
@@ -23,7 +23,7 @@ export async function generateMetadata(
const service = queryClient.getQueryData(detailServiceQueryOptions(id).queryKey) as ServiceDetailResponse
return {
title: جله داناک' + ' | ' + service.data.danakService.name,
title: حصولات داناک' + ' | ' + service.data.danakService.name,
description: service.data.danakService.metaDescription,
}
}