fix
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user