@@ -12,7 +12,7 @@ const navLinks = [
1212 { href : '/scan' , label : 'Phân tích' } ,
1313 { href : '/quiz' , label : 'Trắc nghiệm' } ,
1414 { href : '/guide' , label : 'Cẩm nang' } ,
15- { href : '/report ' , label : 'Báo cáo ' } ,
15+ { href : '/pricing ' , label : '💰 Bảng giá ' } ,
1616 { href : '/about' , label : 'Giới thiệu' } ,
1717]
1818
@@ -123,19 +123,27 @@ export default function Header() {
123123 )
124124 } ) }
125125
126- { /* CTA Button */ }
127- < motion . div
128- whileHover = { { scale : 1.02 } }
129- whileTap = { { scale : 0.98 } }
130- className = "ml-2 lg:ml-4"
131- >
126+ { /* Auth Buttons */ }
127+ < div className = "flex items-center gap-2 ml-2 lg:ml-4" >
132128 < Link
133- href = "/scan "
134- className = "flex items-center gap-1.5 px-3 lg:px-4 py-2 bg-gradient-to-r from-blue-600 to-blue-500 hover:from-blue-700 hover:to-blue-600 rounded-lg text-sm font-semibold text- white transition-all shadow -lg shadow-blue-500/20 hover:shadow-blue-500/30 "
129+ href = "/auth/signin "
130+ className = "px-3 lg:px-4 py-2 text-sm font-medium text-gray-300 hover:text-white transition-colors rounded -lg hover:bg-white/5 "
135131 >
136- < span > Kiểm tra ngay </ span >
132+ Đăng nhập
137133 </ Link >
138- </ motion . div >
134+ < motion . div
135+ whileHover = { { scale : 1.02 } }
136+ whileTap = { { scale : 0.98 } }
137+ >
138+ < Link
139+ href = "/auth/signup"
140+ className = "flex items-center gap-1.5 px-3 lg:px-4 py-2 bg-gradient-to-r from-blue-600 to-blue-500 hover:from-blue-700 hover:to-blue-600 rounded-lg text-sm font-semibold text-white transition-all shadow-lg shadow-blue-500/20 hover:shadow-blue-500/30"
141+ >
142+ < Sparkles className = "w-4 h-4" />
143+ < span > Đăng ký</ span >
144+ </ Link >
145+ </ motion . div >
146+ </ div >
139147 </ div >
140148 </ LayoutGroup >
141149
@@ -212,15 +220,22 @@ export default function Header() {
212220 initial = { { opacity : 0 , y : 10 } }
213221 animate = { { opacity : 1 , y : 0 } }
214222 transition = { { delay : 0.3 } }
215- className = "pt-3"
223+ className = "pt-3 space-y-2 "
216224 >
217225 < Link
218- href = "/scan"
226+ href = "/auth/signin"
227+ className = "flex items-center justify-center gap-2 mx-4 py-3 bg-white/5 hover:bg-white/10 rounded-xl text-gray-300 hover:text-white font-medium transition-colors border border-gray-700"
228+ onClick = { ( ) => setIsOpen ( false ) }
229+ >
230+ Đăng nhập
231+ </ Link >
232+ < Link
233+ href = "/auth/signup"
219234 className = "flex items-center justify-center gap-2 mx-4 py-3 bg-gradient-to-r from-blue-600 to-cyan-600 rounded-xl text-white font-semibold"
220235 onClick = { ( ) => setIsOpen ( false ) }
221236 >
222237 < Sparkles className = "w-4 h-4" />
223- Quét ngay
238+ Đăng ký miễn phí
224239 </ Link >
225240 </ motion . div >
226241 </ div >
0 commit comments