diff --git a/public/hp-s3-360p.mp4 b/public/hp-s3-360p.mp4 new file mode 100644 index 0000000..62c372d Binary files /dev/null and b/public/hp-s3-360p.mp4 differ diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 00e3282..118e637 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -54,7 +54,8 @@ const About: NextPage = () => {
-
-
+ -
+ contact us { به ما بپیوندید
- + ) } diff --git a/src/app/blogs/components/CreateReview.tsx b/src/app/blogs/components/CreateReview.tsx index 5b13b40..7b6b8b6 100644 --- a/src/app/blogs/components/CreateReview.tsx +++ b/src/app/blogs/components/CreateReview.tsx @@ -50,15 +50,15 @@ const CreateReview: FC = ({ refetch, id }) => { }) return ( -
-
+
+
ارسال نظر
{ !isLogin ? ( -
+
برای ارسال نظر لطفا وارد حساب کاربری خود شوید
diff --git a/src/app/blogs/components/SingleBlogPage.tsx b/src/app/blogs/components/SingleBlogPage.tsx index be9da2a..f8c2a2f 100644 --- a/src/app/blogs/components/SingleBlogPage.tsx +++ b/src/app/blogs/components/SingleBlogPage.tsx @@ -1,5 +1,5 @@ 'use client' -import { Profile, Calendar, Tag } from 'iconsax-react' +import { Profile, Calendar, Tag, ExportCurve } from 'iconsax-react' import { FC } from 'react' import Image from 'next/image' // import MostVisited from '../components/MostVisited' @@ -61,7 +61,7 @@ const SingleBlogPage: FC = ({ id }) => { />
-

+

@@ -98,6 +98,21 @@ const SingleBlogPage: FC = ({ id }) => { height={20} /> + + {navigator.share && ( + + )}
@@ -114,48 +129,53 @@ const SingleBlogPage: FC = ({ id }) => {
-
- -
-
- نظرات کاربران +
+
+
+
+ نظرات کاربران +
+ + { + data?.data?.comments?.length === 0 ? +
+
+ هیچ نظری ثبت نشده است +
+
+ : + data?.data?.comments?.map((comment) => { + return ( +
+
+ avatar +
+ {comment.user?.firstName + ' ' + comment.user?.lastName} +
+
+ +
+
+ {comment.title} +
+
+ {timeAgo(comment.createdAt)} +
+
+ +
+ {comment.content} +
+
+ ) + }) + }
- { - data?.data?.comments?.length === 0 ? -
-
- هیچ نظری ثبت نشده است -
-
- : - data?.data?.comments?.map((comment) => { - return ( -
-
- avatar -
- {comment.user?.firstName + ' ' + comment.user?.lastName} -
-
- -
-
- {comment.title} -
-
- {timeAgo(comment.createdAt)} -
-
- -
- {comment.content} -
-
- ) - }) - } +
+ +
) diff --git a/src/app/globals.css b/src/app/globals.css index dcc44dd..01709dc 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -115,3 +115,7 @@ tbody tr { #blog-preview-content * { color: white !important; } + +#blog-content a { + color: #ea063e !important; +} diff --git a/src/app/home/Blog.tsx b/src/app/home/Blog.tsx index f588380..b0282d3 100644 --- a/src/app/home/Blog.tsx +++ b/src/app/home/Blog.tsx @@ -10,6 +10,7 @@ const Blog: FC = () => {
diff --git a/src/app/home/Collaboration.tsx b/src/app/home/Collaboration.tsx index 728397f..ad0b01b 100644 --- a/src/app/home/Collaboration.tsx +++ b/src/app/home/Collaboration.tsx @@ -1,6 +1,7 @@ import Button from '@/components/Button' import InfoBox from '@/components/InfoBox' import { DocumentCode, FavoriteChart } from 'iconsax-react' +import Link from 'next/link' import { FC } from 'react' const Collaboration: FC = () => { @@ -17,14 +18,18 @@ const Collaboration: FC = () => {

-
diff --git a/src/app/home/WhyDanak.tsx b/src/app/home/WhyDanak.tsx index e8486c5..b73066d 100644 --- a/src/app/home/WhyDanak.tsx +++ b/src/app/home/WhyDanak.tsx @@ -1,6 +1,7 @@ import Button from '@/components/Button' import InfoBox from '@/components/InfoBox' import { Activity, Headphone, Profile2User, ShieldTick } from 'iconsax-react' +import Link from 'next/link' import { FC } from 'react' const WhyDanak: FC = () => { @@ -16,10 +17,12 @@ const WhyDanak: FC = () => { ما در داناک با ترکیب خلاقیت، تخصص و تکنولوژی‌های روز، راهکارهای نرم‌افزاری منحصربه‌فردی ارائه می‌دهیم که کسب‌وکار شما را به سطحی بالاتر می‌برد.

-
diff --git a/src/components/SectionHeader.tsx b/src/components/SectionHeader.tsx index 6ca953c..fd8c51c 100644 --- a/src/components/SectionHeader.tsx +++ b/src/components/SectionHeader.tsx @@ -1,8 +1,10 @@ import { ArrowLeft } from 'iconsax-react' +import Link from 'next/link' import { FC } from 'react' type Props = { - title: string + title: string, + link?: string } const SectionHeader: FC = (props) => { @@ -12,13 +14,15 @@ const SectionHeader: FC = (props) => { {props.title} -
-
مشاهده همه
- -
+ +
+
مشاهده همه
+ +
+
) } diff --git a/src/shared/Footer.tsx b/src/shared/Footer.tsx index e2b6d52..41b8a21 100644 --- a/src/shared/Footer.tsx +++ b/src/shared/Footer.tsx @@ -155,18 +155,22 @@ const Footer: FC = () => {
    -
  • - درباره ی ما -
  • + +
  • + درباره ی ما +
  • +
  • حریم خصوصی
  • قوانین و مقررات
  • -
  • - تماس با ما -
  • + +
  • + تماس با ما +
  • +