Tôi sẽ tạo một website giới thiệu Tết cổ truyền Việt Nam siêu xịn với nhiều tab, đăng nhập/đăng ký, animation, và đếm ngược đến Tết 2027. Hãy bắt đầu!
Đầu tiên, cài đặt framer-motion cho animation:
Now let me update the CSS with custom animations and styles:
Now creating the Auth context:
Now creating the Decorations component for floating elements:
Creating the Countdown component:
Creating the Login/Register modal:
Creating the Navbar:
Creating the Home page:
Creating the About page:
Creating the Customs page:
Creating the Food page:
Creating the Flowers page:
Creating the Greetings page:
Let me fix the unused variable:
Creating the Gallery page:
Creating the Music page:
Creating the Games/Quiz page:
Creating the History page:
Creating the Footer:
Now creating the main App.tsx:
Now let me build the project to check for any errors:
Website Tết Cổ Truyền Việt Nam đã được xây dựng thành công! 🏮🎉
Tổng quan website
🎨 Giao diện
- Theme đỏ-vàng đặc trưng Tết với hiệu ứng glass morphism, gradient, và backdrop blur
- Navigation: Top navbar trên desktop + Bottom navbar trên mobile (như app thật)
- Floating decorations: Đèn lồng, lấp lánh, confetti bay khắp trang
- Page transitions: Animation mượt mà khi chuyển tab
📑 10 Tab đầy đủ
- 🏠 Trang Chủ - Hero section + Đếm ngược Tết 2027 + Feature cards + Fun facts
- 📖 Giới Thiệu - Tết là gì, ý nghĩa, dòng lịch sử timeline
- 🎊 Phong Tục - 8 phong tục mở rộng chi tiết (Dọn dẹp, Bánh chưng, Táo Quân, Giao thừa, Lì xì, Xông đất, Lễ chùa, Hội xuân)
- 🍜 Ẩm Thực - 8 món ăn Tết + Mâm cỗ 3 miền
- 🌸 Hoa Tết - 8 loài hoa + Đào Bắc - Mai Nam comparison
- 💬 Lời Chúc - 12 lời chúc + Câu đối + Generator ngẫu nhiên
- 🖼️ Hình Ảnh - Gallery với filter tags + Modal xem chi tiết
- 🎵 Âm Nhạc - Danh sách bài hát + Nhạc cụ truyền thống + Equalizer animation
- 🎮 Trò Chơi - Quiz 10 câu hỏi về Tết với điểm số + giải thích
- 📜 Lịch Sử - 12 con giáp + Thiên Can Địa Chi + 4 truyền thuyết + Năm Đinh Mùi 2027
🔐 Đăng nhập/Đăng ký
- Modal đăng nhập/đăng ký đẹp mắt
- Lưu trữ localStorage (không cần API)
- User profile với avatar ngẫu nhiên (emoji)
⏰ Đếm ngược
- Đếm ngày/giờ/phút/giây đến Tết Nguyên Đán 2027 (6/2/2027)
✨ Animation
- Framer Motion: page transitions, hover effects, spring animations
- CSS: floating lanterns, sparkles, confetti, shimmer, pulse-glow, dragon-dance
Files built: index.html, src/index.css, src/contexts/AuthContext.tsx, src/components/Decorations.tsx, src/components/Countdown.tsx, src/components/LoginModal.tsx, src/components/Navbar.tsx, src/components/Home.tsx, src/components/About.tsx, src/components/Customs.tsx, src/components/Food.tsx, src/components/Flowers.tsx, src/components/Greetings.tsx, src/components/Gallery.tsx, src/components/Music.tsx, src/components/Games.tsx, src/components/History.tsx, src/components/Footer.tsx, src/App.tsx