@@ -2,13 +2,14 @@ import React from 'react';
22import Spline from '@splinetool/react-spline' ;
33import { ArrowRight } from 'lucide-react' ;
44import RotatingText from './RotatingText' ;
5- import { SparklesText } from "@/components/ui/sparkles-text " ;
5+ import { WordRotate } from "@/components/ui/word-rotate " ;
66
77/**
88 * A modern, minimal hero section component.
99 */
1010export default function Hero ( ) {
1111 const skills = [ 'UI/UX Designer' , 'Frontend Developer' , 'Backend Developer' , 'Creative Coder' ] ;
12+ const greetings = [ "Hello" , "Hola" , "Ciao" , "مرحبا" ] ;
1213
1314 return (
1415 < section className = "relative w-full h-screen overflow-hidden" >
@@ -24,8 +25,9 @@ export default function Hero() {
2425 { /* Content is aligned to the center */ }
2526 < div className = "relative z-20 flex items-center justify-center w-full h-full p-8 text-center bg-black/20 pointer-events-none sm:p-16 md:p-24" >
2627 < div className = "max-w-md pointer-events-auto" >
27- < h1 className = "font-pixel text-5xl font-bold text-white whitespace-nowrap md:text-7xl lg:text-8xl [text-shadow:_0_3px_5px_rgb(0_0_0_/_40%)]" >
28- < SparklesText > Hello, I'm</ SparklesText >
28+ < h1 className = "font-pixel flex items-center justify-center gap-x-2 text-5xl font-bold text-white md:text-7xl lg:text-8xl [text-shadow:_0_3px_5px_rgb(0_0_0_/_40%)]" >
29+ < WordRotate words = { greetings } />
30+ { ", I'm" }
2931 </ h1 >
3032
3133 { /* Rotating Text for Skills */ }
0 commit comments