From 5ea3dc73c5d021ef613d8425d7bdb98afa5de94a Mon Sep 17 00:00:00 2001 From: Zcedd Date: Fri, 3 Nov 2023 15:37:26 +0800 Subject: [PATCH] Update About.jsx --- components/sections/About.jsx | 90 +++++++++++++++++++++-------------- 1 file changed, 53 insertions(+), 37 deletions(-) diff --git a/components/sections/About.jsx b/components/sections/About.jsx index af36330..bbde5a9 100644 --- a/components/sections/About.jsx +++ b/components/sections/About.jsx @@ -1,46 +1,62 @@ -import React from 'react' -import { aboutData } from '../../constants/home' -import { motion } from "framer-motion" -import { staggerContainer, fadeIn } from '../../utils/motion' -import TextSpan from '../TextSpan' - +import React from "react"; +import { aboutData } from "../../constants/home"; +import { motion } from "framer-motion"; +import { staggerContainer, fadeIn } from "../../utils/motion"; +import TextSpan from "../TextSpan"; const About = () => { - const sentence = 'About'.split("") - return ( -
- - - - {sentence.map((letter, index) => ( - - {letter === " " ? "\u00a0" : letter} - - ))} - + const sentence = "About".split(""); + return ( +
+ + + {sentence.map((letter, index) => ( + + {letter === " " ? "\u00a0" : letter} + + ))} + -
- - {aboutData.heading.map((text, index) => ( -

{text}

- ))} -
+
+ + {aboutData.heading.map((text, index) => ( +

{text}

+ ))} +
-
- -

{aboutData.education.course}

- {aboutData.education.school} -
+
+ +

+ {aboutData.education.course} +

+ + {aboutData.education.school} + +
- + {/*

{aboutData.certification.title}

{aboutData.certification.school} +
*/} +
+
-
-
-
-
- ) -} +
+ ); +}; -export default About \ No newline at end of file +export default About;