diff --git a/src/app/home/HeroSection.tsx b/src/app/home/HeroSection.tsx index 5d415b2..be616cc 100644 --- a/src/app/home/HeroSection.tsx +++ b/src/app/home/HeroSection.tsx @@ -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 = () => {
{item.title}
{item.description}
- + + + diff --git a/src/app/products/[id]/page.tsx b/src/app/products/[id]/page.tsx index 4003710..635b235 100644 --- a/src/app/products/[id]/page.tsx +++ b/src/app/products/[id]/page.tsx @@ -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, } }