feat: Create FE home page and about page

This commit is contained in:
Đỗ Minh Nhật
2026-04-14 19:28:35 +07:00
parent 13a281b8c8
commit 637846a80c
35 changed files with 1989 additions and 1765 deletions

View File

@@ -1,13 +1,5 @@
import HeroSection from './components/home/HeroSection';
import WhyChooseUs from './components/home/WhyChooseUs';
import VisaSolutions from './components/home/VisaSolutions';
import VisaCountries from './components/home/VisaCountries';
import Testimonials from './components/home/Testimonials';
import VideoGallery from './components/home/VideoGallery';
import FAQSection from './components/home/FAQSection';
import Achievements from './components/home/Achievements';
import Partners from './components/home/Partners';
import BlogPreview from './components/home/BlogPreview';
import QuickLinksGrid from './components/home/QuickLinksGrid';
import localHomeData from './home.json';
import { getCmsImageUrl } from '@/utils/image';
import { fetchHomeData } from '@/api';
@@ -38,18 +30,8 @@ export default async function Home() {
return (
<>
<HeroSection data={data.hero} />
<WhyChooseUs data={data.whyChooseUs} />
<VisaSolutions data={data.visaSolutions} />
<VisaCountries data={data.visaCountries} />
<Testimonials data={data.testimonials} />
<VideoGallery data={data.videoGallery} />
<FAQSection data={data.faq} />
<Achievements data={data.achievements} />
<Partners data={data.partners} />
<HeroSection/>
<QuickLinksGrid/>
</>
);
}