forked from UKSOURCE/hailearning.edu.vn
feat: refactor service API schema and update layout structure
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
======================= */
|
||||
|
||||
export interface ServiceItem {
|
||||
id: string;
|
||||
slug: string;
|
||||
name: string;
|
||||
description: string;
|
||||
@@ -58,7 +57,6 @@ export interface DestinationSection {
|
||||
subTitle: string;
|
||||
mainTitle: string;
|
||||
};
|
||||
items: CountryItem[];
|
||||
}
|
||||
|
||||
export interface VisaItem {
|
||||
@@ -90,11 +88,6 @@ export interface ReviewSection {
|
||||
subTitle: string;
|
||||
mainTitle: string;
|
||||
};
|
||||
viewAllButton: {
|
||||
text: string;
|
||||
icon: string;
|
||||
link: string;
|
||||
};
|
||||
thumb: string;
|
||||
items: ClientReviewItem[];
|
||||
}
|
||||
@@ -251,7 +244,6 @@ export const getFallbackServicePageData = (): ServicePageData => ({
|
||||
},
|
||||
items: [
|
||||
{
|
||||
id: "immigration-appeal",
|
||||
slug: "immigration-appeal",
|
||||
name: "Immigration Appeal & Legal Support",
|
||||
description:
|
||||
@@ -311,7 +303,6 @@ export const getFallbackServicePageData = (): ServicePageData => ({
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "scholarship-guidance",
|
||||
slug: "scholarship-guidance",
|
||||
name: "Scholarship & Study Grant Guidance",
|
||||
description:
|
||||
@@ -373,7 +364,6 @@ export const getFallbackServicePageData = (): ServicePageData => ({
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "permanent-residency",
|
||||
slug: "permanent-residency",
|
||||
name: "Permanent Residency (PR) Services",
|
||||
description:
|
||||
@@ -435,7 +425,6 @@ export const getFallbackServicePageData = (): ServicePageData => ({
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "citizenship-naturalization",
|
||||
slug: "citizenship-naturalization",
|
||||
name: "Citizenship & Naturalization Guidance",
|
||||
description:
|
||||
@@ -505,52 +494,6 @@ export const getFallbackServicePageData = (): ServicePageData => ({
|
||||
subTitle: "Countries we offer",
|
||||
mainTitle: "Choose Your Immigration Destination",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
id: "canada",
|
||||
name: "Canada",
|
||||
description:
|
||||
"Canada provides quality education, rich and global opportunities",
|
||||
image: "/assets/img/home-3/choose-us/01.jpg",
|
||||
icon: "/assets/img/home-3/choose-us/icon-1.png",
|
||||
link: "/countries/canada",
|
||||
},
|
||||
{
|
||||
id: "south-korea",
|
||||
name: "South Korea",
|
||||
description:
|
||||
"South Korea offers advanced technology and cultural experiences",
|
||||
image: "/assets/img/home-3/choose-us/02.jpg",
|
||||
icon: "/assets/img/home-3/choose-us/icon-2.png",
|
||||
link: "/countries/south-korea",
|
||||
},
|
||||
{
|
||||
id: "france",
|
||||
name: "France",
|
||||
description: "France offers unique cultural experiences and education",
|
||||
image: "/assets/img/home-3/choose-us/03.jpg",
|
||||
icon: "/assets/img/home-3/choose-us/icon-3.png",
|
||||
link: "/countries/france",
|
||||
},
|
||||
{
|
||||
id: "uk",
|
||||
name: "UK",
|
||||
description:
|
||||
"UK provides world-class education and career opportunities",
|
||||
image: "/assets/img/home-3/choose-us/04.jpg",
|
||||
icon: "/assets/img/home-3/choose-us/icon-2.png",
|
||||
link: "/countries/uk",
|
||||
},
|
||||
{
|
||||
id: "germany",
|
||||
name: "Germany",
|
||||
description:
|
||||
"Germany offers excellent education and work opportunities",
|
||||
image: "/assets/img/home-3/choose-us/05.jpg",
|
||||
icon: "/assets/img/home-3/choose-us/icon-3.png",
|
||||
link: "/countries/germany",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
visas: {
|
||||
@@ -590,11 +533,6 @@ export const getFallbackServicePageData = (): ServicePageData => ({
|
||||
subTitle: "What Our Clients Say",
|
||||
mainTitle: "Immigration Success Stories",
|
||||
},
|
||||
viewAllButton: {
|
||||
text: "View All Review",
|
||||
icon: "fa-solid fa-arrow-right",
|
||||
link: "/contact",
|
||||
},
|
||||
thumb: "/assets/img/home-3/test-thumb.jpg",
|
||||
items: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user