22
33import { useState } from 'react' ;
44import { motion } from 'framer-motion' ;
5- import { Mail , X , Coffee , Calendar , Users } from 'lucide-react' ;
5+ import { Coffee } from 'lucide-react' ;
66import { useLanguage } from '@/contexts/LanguageContext' ;
77import ContactForm from '../ui/ContactForm' ;
88
99const ContactBanner = ( ) => {
10- const [ isDismissed , setIsDismissed ] = useState ( false ) ;
1110 const [ isFormOpen , setIsFormOpen ] = useState ( false ) ;
1211 const { t } = useLanguage ( ) ;
1312
14- if ( isDismissed ) return null ;
15-
1613 return (
1714 < motion . div
1815 initial = { { opacity : 0 , y : - 20 } }
@@ -22,71 +19,26 @@ const ContactBanner = () => {
2219 className = "bg-gradient-to-r from-white/10 via-white/5 to-white/10 border-b border-white/20"
2320 >
2421 < div className = "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8" >
25- < div className = "flex items-center justify-between py-3" >
22+ < div className = "flex items-center justify-center py-3" >
2623 { /* Content */ }
27- < div className = "flex items-center space-x-4 flex-1" >
28- < div className = "flex items-center space-x-3" >
29- < div className = "flex items-center space-x-2" >
30- < Coffee className = "w-4 h-4 text-white" />
31- < span className = "text-sm font-medium text-foreground" >
32- { t ( 'banner.title' ) }
33- </ span >
34- </ div >
35- < div className = "hidden sm:flex items-center space-x-2 text-sm text-muted-foreground" >
36- < Mail className = "w-3 h-3" />
37- < span > design-team@buzzvil.com</ span >
38- </ div >
39- </ div >
40-
41- < div className = "hidden md:flex items-center space-x-4 text-xs text-muted-foreground" >
42- < div className = "flex items-center space-x-1" >
43- < Calendar className = "w-3 h-3" />
44- < span > { t ( 'banner.requirements.schedule' ) } </ span >
45- </ div >
46- < div className = "flex items-center space-x-1" >
47- < Users className = "w-3 h-3" />
48- < span > { t ( 'banner.requirements.info' ) } </ span >
49- </ div >
50- </ div >
24+ < div className = "flex items-center space-x-3" >
25+ < Coffee className = "w-4 h-4 text-white" />
26+ < span className = "text-sm font-medium text-foreground" >
27+ { t ( 'banner.title' ) }
28+ </ span >
5129 </ div >
5230
5331 { /* CTA Button */ }
5432 < motion . button
5533 onClick = { ( ) => setIsFormOpen ( true ) }
5634 whileHover = { { scale : 1.02 } }
5735 whileTap = { { scale : 0.98 } }
58- className = "flex items-center space-x-2 px-4 py-2 bg-white/20 text-white rounded-lg hover:bg-white/30 transition-all duration-200 text-sm font-medium shadow-sm"
59- >
60- < Mail className = "w-4 h-4" />
61- < span className = "hidden sm:inline" > { t ( 'banner.cta' ) } </ span >
62- < span className = "sm:hidden" > { t ( 'banner.cta.short' ) } </ span >
63- </ motion . button >
64-
65- { /* Dismiss Button */ }
66- < motion . button
67- whileHover = { { scale : 1.1 } }
68- whileTap = { { scale : 0.9 } }
69- onClick = { ( ) => setIsDismissed ( true ) }
70- className = "ml-3 p-1 rounded-lg hover:bg-muted/50 transition-colors"
71- aria-label = "Dismiss banner"
36+ className = "ml-4 flex items-center space-x-2 px-4 py-2 bg-white/20 text-white rounded-lg hover:bg-white/30 transition-all duration-200 text-sm font-medium shadow-sm"
7237 >
73- < X className = "w-4 h-4 text-muted-foreground" />
38+ < Coffee className = "w-4 h-4" />
39+ < span > Ask for a Coffee Chat!</ span >
7440 </ motion . button >
7541 </ div >
76-
77- { /* Mobile Requirements */ }
78- < div className = "md:hidden mt-2 pb-2" >
79- < div className = "flex flex-wrap items-center gap-3 text-xs text-muted-foreground" >
80- < div className = "flex items-center space-x-1" >
81- < Calendar className = "w-3 h-3" />
82- < span > { t ( 'banner.requirements.schedule' ) } </ span >
83- </ div >
84- < div className = "flex items-center space-x-1" >
85- < Users className = "w-3 h-3" />
86- < span > { t ( 'banner.requirements.info' ) } </ span >
87- </ div >
88- </ div >
89- </ div >
9042 </ div >
9143
9244 { /* Contact Form Modal */ }
0 commit comments