Skip to content

Commit b5bdd70

Browse files
Refactor Hero text
Update Hero component text to two lines.
1 parent 32a1e89 commit b5bdd70

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/components/Hero.tsx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
12
import React from 'react';
23
import { motion } from 'framer-motion';
34
import { Button } from '@/components/ui/button';
45
import { ScrollText, Globe, Orbit } from 'lucide-react';
56
import { Link } from 'react-router-dom';
7+
68
const Hero = () => {
79
return <div className="relative min-h-[calc(100vh-4rem)] flex flex-col items-center justify-center py-16 overflow-hidden">
810
<div className="container relative z-10 px-4 mx-auto text-center">
@@ -45,7 +47,7 @@ const Hero = () => {
4547

4648
<div className="star-wars-crawl mb-4">
4749
<div className="star-wars-content py-2">
48-
<motion.p className="text-base sm:text-lg md:text-xl text-gray-300 max-w-4xl mx-auto font-[Exo] text-center leading-relaxed" style={{
50+
<motion.div className="text-base sm:text-lg md:text-xl text-gray-300 max-w-4xl mx-auto font-[Exo] text-center leading-relaxed" style={{
4951
letterSpacing: '0.01em'
5052
}} initial={{
5153
opacity: 0
@@ -54,7 +56,10 @@ const Hero = () => {
5456
}} transition={{
5557
delay: 0.3,
5658
duration: 0.8
57-
}}>Access the DAO with Innovative Solutions, Unlocks Energy Efficiency &amp; Environmental Sustainability, Exploring: BioFi, DeFi, DePin, DeSci, IPFS, QFS, ReFi, RWA, SocialFi, and TradFi under one cosmic ecosystem united.</motion.p>
59+
}}>
60+
<p className="mb-2">Access the DAO with Innovative Solutions, Unlocks Energy Efficiency & Environmental Sustainability.</p>
61+
<p>Advantages Boosting the BENEFITS, for Connecting you and Raise your QUALITY of LIFE, with Mutual PROFITS…</p>
62+
</motion.div>
5863
</div>
5964
</div>
6065
</motion.div>
@@ -90,4 +95,5 @@ const Hero = () => {
9095
</div>
9196
</div>;
9297
};
93-
export default Hero;
98+
99+
export default Hero;

0 commit comments

Comments
 (0)