Landing page chính thức của thương hiệu UNIQ. Phase 1 chỉ khởi tạo nền tảng kỹ thuật: Vite React TypeScript, Tailwind CSS, design tokens, component nền tảng, cấu hình chất lượng source và layout skeleton.
- Vite
- React
- TypeScript strict
- Tailwind CSS
- ESLint
- Prettier
- Lucide React
- clsx
- tailwind-merge
- Node.js 20 LTS hoặc mới hơn
- npm 10 hoặc mới hơn
npm installnpm run devnpm run buildnpm run previewnpm run dev: chạy Vite dev server.npm run build: kiểm tra TypeScript và build production.npm run preview: preview thư mụcdist.npm run lint: chạy ESLint.npm run typecheck: chạy TypeScript check không emit file.npm run format: format source bằng Prettier.npm run format:check: kiểm tra format bằng Prettier.
public/
images/
brand/
hero/
products/
technology/
lifestyle/
app/
news/
icons/
src/
assets/
components/
layout/
sections/
ui/
config/
data/
hooks/
lib/
styles/
types/
- Component UI nền tảng nằm trong
src/components/ui. - Component layout dùng chung nằm trong
src/components/layout. - Component section landing page sẽ nằm trong
src/components/sectionsở Phase 2. - Không hardcode navigation trong component; dùng
src/config/navigation.ts. - Không hardcode màu trong component; dùng Tailwind token ánh xạ từ CSS variables.
- Asset public đặt trong
public/imagestheo nhóm nội dung. - Phase 1 chưa dùng ảnh sản phẩm thật.
- Không tải asset trực tiếp từ website cũ trong phase này.
- Logo hiện tại chỉ là text
UNIQ; chưa dùng logo chính thức.
Sao chép .env.example thành .env.local khi cần cấu hình môi trường local.
VITE_SITE_URL=https://uniq-home.com
VITE_WARRANTY_ACTIVATION_URL=https://baohanh.simi.vn/kich-hoat-bao-hanh
VITE_WARRANTY_LOOKUP_URL=https://baohanh.simi.vn/bao-hanh- Chưa xây giao diện landing page hoàn chỉnh.
- Chưa thêm ảnh sản phẩm thật.
- Chưa thêm animation phức tạp.
- Chưa dùng React Router, CMS, backend giả hoặc state management global.
- Chưa deploy.