From 9ec8f7d1e8485f002c061568bb2049dc06938da0 Mon Sep 17 00:00:00 2001 From: Jerome Hardaway Date: Sun, 24 Nov 2024 17:51:49 -0500 Subject: [PATCH] added new svgs; updated Nav (#638) --- public/images/shape-animation/dog-tag.svg | 15 ++ src/assets/svgs/shape-2.svg | 18 +- src/containers/blog/layout-01/index.tsx | 23 ++- .../contact-info/layout-01/index.tsx | 33 +++- src/containers/hero/layout-02/index.tsx | 45 ++++- src/containers/team/layout-01/index.tsx | 28 ++- .../testimonial/layout-04/index.tsx | 37 +++- src/containers/video/layout-01/index.tsx | 16 +- src/containers/video/layout-02/index.tsx | 18 +- src/containers/video/layout-03/index.tsx | 28 ++- src/containers/video/layout-04/index.tsx | 16 +- src/containers/video/layout-06/index.tsx | 26 ++- src/containers/video/layout-07/index.tsx | 10 +- src/data/menu.ts | 181 +++++++----------- 14 files changed, 309 insertions(+), 185 deletions(-) create mode 100644 public/images/shape-animation/dog-tag.svg diff --git a/public/images/shape-animation/dog-tag.svg b/public/images/shape-animation/dog-tag.svg new file mode 100644 index 000000000..2a9ab7e4c --- /dev/null +++ b/public/images/shape-animation/dog-tag.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + Line Gradient + + diff --git a/src/assets/svgs/shape-2.svg b/src/assets/svgs/shape-2.svg index ada85d121..6fb8bc370 100644 --- a/src/assets/svgs/shape-2.svg +++ b/src/assets/svgs/shape-2.svg @@ -1,7 +1,13 @@ - - - - - - + + + + + + + + + + \ No newline at end of file diff --git a/src/containers/blog/layout-01/index.tsx b/src/containers/blog/layout-01/index.tsx index 0dcdea6bf..fbc9c6804 100644 --- a/src/containers/blog/layout-01/index.tsx +++ b/src/containers/blog/layout-01/index.tsx @@ -19,11 +19,20 @@ type TProps = TSection & { }; }; -const BlogArea = ({ data: { section_title, motto, blogs }, space, bg, titleSize }: TProps) => { +const BlogArea = ({ + data: { section_title, motto, blogs }, + space, + bg, + titleSize, +}: TProps) => { const { trans1, trans2 } = useUI(); return ( -
+
- - shape 3 - + shape { {section_title?.subtitle} -

{section_title.title}

+

+ {section_title.title} +

)} {items?.map((item) => ( @@ -43,7 +45,9 @@ const ContactInfo = ({ data: { section_title, items, images } }: TProps) => { "tw-text-[32px] tw-text-primary tw-absolute tw-left-0 tw-top-0" )} /> -

{item.title}

+

+ {item.title} +

{item.texts?.map((text) => (

{ }} > - + @@ -92,7 +99,10 @@ const ContactInfo = ({ data: { section_title, items, images } }: TProps) => { y: trans2().y, }} > - + { y: trans1().y, }} > - - shape 3 - + shape { y: trans1().y, }} > - +

diff --git a/src/containers/hero/layout-02/index.tsx b/src/containers/hero/layout-02/index.tsx index 24e6c4fce..af3785f91 100644 --- a/src/containers/hero/layout-02/index.tsx +++ b/src/containers/hero/layout-02/index.tsx @@ -3,7 +3,13 @@ import clsx from "clsx"; import Button from "@ui/button"; import MottoText from "@ui/motto-text"; import { useUI } from "@contexts/ui-context"; -import { HeadingType, TextType, ButtonType, ImageType, MottoType } from "@utils/types"; +import { + HeadingType, + TextType, + ButtonType, + ImageType, + MottoType, +} from "@utils/types"; import { scrollUpVariants } from "@utils/variants"; type TProps = { @@ -16,7 +22,9 @@ type TProps = { }; }; -const HeroArea = ({ data: { headings, texts, buttons, motto, images } }: TProps) => { +const HeroArea = ({ + data: { headings, texts, buttons, motto, images }, +}: TProps) => { const { trans1, trans2 } = useUI(); return (
@@ -48,7 +56,13 @@ const HeroArea = ({ data: { headings, texts, buttons, motto, images } }: TProps) {content} ))} - {motto && } + {motto && ( + + )}
@@ -78,7 +92,10 @@ const HeroArea = ({ data: { headings, texts, buttons, motto, images } }: TProps) }} > - + @@ -89,7 +106,10 @@ const HeroArea = ({ data: { headings, texts, buttons, motto, images } }: TProps) y: trans2().y, }} > - + - - shape 3 - + shape - +
diff --git a/src/containers/team/layout-01/index.tsx b/src/containers/team/layout-01/index.tsx index 59f89cf7a..c970b9eb7 100644 --- a/src/containers/team/layout-01/index.tsx +++ b/src/containers/team/layout-01/index.tsx @@ -14,7 +14,12 @@ type TProps = TSection & { }; }; -const TeamArea = ({ data: { section_title, buttons }, space, bg, titleSize }: TProps) => { +const TeamArea = ({ + data: { section_title, buttons }, + space, + bg, + titleSize, +}: TProps) => { const { trans1, trans2 } = useUI(); return (
@@ -62,9 +67,13 @@ const TeamArea = ({ data: { section_title, buttons }, space, bg, titleSize }: TP y: trans1().y, }} > - - shape 3 - + shape - + {section_title && ( - + )} {buttons?.map(({ id, content, ...rest }) => ( )} diff --git a/src/containers/video/layout-01/index.tsx b/src/containers/video/layout-01/index.tsx index 0be2ad048..c108df79f 100644 --- a/src/containers/video/layout-01/index.tsx +++ b/src/containers/video/layout-01/index.tsx @@ -20,7 +20,11 @@ type TProps = TSection & { }; }; -const VideoArea = ({ data: { section_title, images, video }, space, bg }: TProps) => { +const VideoArea = ({ + data: { section_title, images, video }, + space, + bg, +}: TProps) => { const { trans1, trans2 } = useUI(); return (
- - shape 3 - + shape - - shape 3 - + shape - - shape 3 - + shape {section_title && ( - + )} - {motto && } + {motto && ( + + )} diff --git a/src/containers/video/layout-04/index.tsx b/src/containers/video/layout-04/index.tsx index 1c421636c..c379579cd 100644 --- a/src/containers/video/layout-04/index.tsx +++ b/src/containers/video/layout-04/index.tsx @@ -18,7 +18,11 @@ type TProps = TSection & { const VideoArea = ({ data: { images, video }, space, bg }: TProps) => { const { trans1, trans2 } = useUI(); return ( -
+

Video Section

{video && images?.[0] && ( @@ -63,9 +67,13 @@ const VideoArea = ({ data: { images, video }, space, bg }: TProps) => { y: trans1().y, }} > - - shape 3 - + shape { +const VideoArea = ({ + data: { section_title, motto, images, video }, + titleSize, +}: TProps) => { const { trans1, trans2 } = useUI(); return ( @@ -62,9 +70,13 @@ const VideoArea = ({ data: { section_title, motto, images, video }, titleSize }: y: trans1().y, }} > - - shape 3 - + shape )} - {motto && } + {motto && ( + + )}
diff --git a/src/containers/video/layout-07/index.tsx b/src/containers/video/layout-07/index.tsx index 0b0b016e5..b4b177d42 100644 --- a/src/containers/video/layout-07/index.tsx +++ b/src/containers/video/layout-07/index.tsx @@ -85,9 +85,13 @@ const VideoArea = ({ data: { section_title, images, video }, space, bg }: TProps y: trans1().y, }} > - - shape 3 - + shape