@@ -7,6 +7,7 @@ import { Shield, Sparkles, ArrowRight } from 'lucide-react'
77import MentoLoopBackground from '@/components/mentoloop-background'
88import { AnimatedText , GradientText , GlowingText } from '@/components/ui/animated-text'
99import { motion } from 'motion/react'
10+ import PixelCard from '@/components/react-bits/pixel-card'
1011
1112export default function HeroSection ( ) {
1213 return (
@@ -111,28 +112,32 @@ export default function HeroSection() {
111112 transition = { { delay : 1.2 , duration : 0.6 } }
112113 className = "flex flex-wrap items-center justify-center gap-4 mt-8"
113114 >
114- < Button
115- asChild
116- size = "xl"
117- className = "group relative bg-card text-primary hover:bg-card/90 shadow-lg transition-all duration-300 hover:shadow-2xl hover:scale-105 overflow-hidden font-semibold touch-friendly"
118- aria-label = "Find my preceptor - Sign up as student" >
119- < Link href = "/sign-up/student" >
120- < div className = "absolute inset-0 bg-gradient-to-r from-primary/20 to-secondary/20 opacity-0 group-hover:opacity-100 transition-opacity duration-300" />
121- < Sparkles className = "w-5 h-5 mr-2 group-hover:rotate-12 transition-transform text-primary" aria-hidden = "true" />
122- < span className = "relative text-nowrap" > Find My Preceptor</ span >
123- </ Link >
124- </ Button >
125- < Button
126- asChild
127- size = "xl"
128- variant = "outline"
129- className = "group border-2 border-foreground/30 text-white bg-foreground/10 hover:bg-foreground/20 hover:text-white backdrop-blur-sm transition-all duration-300 hover:scale-105 hover:border-foreground/50 font-semibold touch-friendly"
130- aria-label = "Become a preceptor - Sign up as preceptor" >
131- < Link href = "/sign-up/preceptor" >
132- < Shield className = "w-5 h-5 mr-2 group-hover:scale-110 transition-transform" aria-hidden = "true" />
133- < span className = "text-nowrap" > Become a Preceptor</ span >
134- </ Link >
135- </ Button >
115+ < PixelCard variant = "blue" speed = { 18 } gap = { 10 } noFocus = { false } >
116+ < Button
117+ asChild
118+ size = "xl"
119+ className = "group relative bg-card text-primary hover:bg-card/90 shadow-lg transition-all duration-300 hover:shadow-2xl hover:scale-105 overflow-hidden font-semibold touch-friendly"
120+ aria-label = "Find my preceptor - Sign up as student" >
121+ < Link href = "/sign-up/student" >
122+ < div className = "absolute inset-0 bg-gradient-to-r from-primary/20 to-secondary/20 opacity-0 group-hover:opacity-100 transition-opacity duration-300" />
123+ < Sparkles className = "w-5 h-5 mr-2 group-hover:rotate-12 transition-transform text-primary" aria-hidden = "true" />
124+ < span className = "relative text-nowrap" > Find My Preceptor</ span >
125+ </ Link >
126+ </ Button >
127+ </ PixelCard >
128+ < PixelCard variant = "default" speed = { 15 } gap = { 12 } noFocus = { false } >
129+ < Button
130+ asChild
131+ size = "xl"
132+ variant = "outline"
133+ className = "group border-2 border-foreground/30 text-white bg-foreground/10 hover:bg-foreground/20 hover:text-white backdrop-blur-sm transition-all duration-300 hover:scale-105 hover:border-foreground/50 font-semibold touch-friendly"
134+ aria-label = "Become a preceptor - Sign up as preceptor" >
135+ < Link href = "/sign-up/preceptor" >
136+ < Shield className = "w-5 h-5 mr-2 group-hover:scale-110 transition-transform" aria-hidden = "true" />
137+ < span className = "text-nowrap" > Become a Preceptor</ span >
138+ </ Link >
139+ </ Button >
140+ </ PixelCard >
136141 </ motion . div >
137142 </ motion . div >
138143 </ div >
0 commit comments