You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/components/Aboutpage/index.tsx
+65-9Lines changed: 65 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ import React from "react";
2
2
importclsxfrom"clsx";
3
3
importHeadingfrom"@theme/Heading";
4
4
importstylesfrom"./styles.module.css";
5
-
5
+
import{motion}from"framer-motion";
6
6
constaboutImg="/img/svg/about_me.svg";
7
7
8
8
exportdefaultfunctionAboutUsSection(){
@@ -11,21 +11,77 @@ export default function AboutUsSection() {
11
11
<divclassName="container">
12
12
<divclassName="row">
13
13
<divclassName="col col--6">
14
+
<motion.div
15
+
initial={{opacity: 0,x: -150}}
16
+
whileInView={{opacity: 1,x: 0}}
17
+
viewport={{once: true}}
18
+
transition={{
19
+
duration: 1,
20
+
type: "spring",
21
+
stiffness: 100,
22
+
delay: 0.5,
23
+
}}
24
+
>
14
25
<Headingas={"h1"}>About Us</Heading>
15
-
<pclassName={styles.aboutUsDescription}>
26
+
</motion.div>
27
+
<motion.p
28
+
initial={{opacity: 0,y: -150}}
29
+
whileInView={{opacity: 1,y: 0}}
30
+
viewport={{once: true}}
31
+
transition={{
32
+
duration: 1,
33
+
type: "spring",
34
+
stiffness: 100,
35
+
delay: 0.5,
36
+
}}
37
+
className={styles.aboutUsDescription}
38
+
>
16
39
Welcome to Code Harbor Hub, your go-to destination for quality tech education. At Code Harbor Hub, we are passionate about empowering individuals with the knowledge and skills needed to thrive in the ever-evolving world of technology.
17
-
</p>
18
-
<pclassName={styles.aboutUsDescription}>
40
+
</motion.p>
41
+
<motion.p
42
+
initial={{opacity: 0,y: -150}}
43
+
whileInView={{opacity: 1,y: 0}}
44
+
viewport={{once: true}}
45
+
transition={{
46
+
duration: 1,
47
+
type: "spring",
48
+
stiffness: 100,
49
+
delay: 0.5,
50
+
}}
51
+
className={styles.aboutUsDescription}
52
+
>
19
53
Our mission is to provide accessible and comprehensive educational resources to learners of all levels, from beginners to advanced professionals. Whether you're looking to kickstart your career in web development, master a new programming language, or stay updated on the latest tech trends, we've got you covered.
20
-
</p>
21
-
<pclassName={styles.aboutUsDescription}>
54
+
</motion.p>
55
+
<motion.p
56
+
initial={{opacity: 0,y: -150}}
57
+
whileInView={{opacity: 1,y: 0}}
58
+
viewport={{once: true}}
59
+
transition={{
60
+
duration: 1,
61
+
type: "spring",
62
+
stiffness: 100,
63
+
delay: 0.5,
64
+
}}
65
+
className={styles.aboutUsDescription}
66
+
>
22
67
With a team of experienced instructors and industry experts, we offer a diverse range of courses and learning paths tailored to meet your specific goals and interests. Join our community today and embark on your journey towards success in the tech industry!
0 commit comments