feat(ui): implement dynamic dropdown navigation and refactor project cards
Replaced the static navigation with a dynamic, internationalized dropdown menu powered by a new `useNavLinks` composable. The navigation items are now sourced from i18n files. The featured project cards on the homepage have been refactored to use the `<UPageCard>` component, and the content schema is updated with `spotlight` and `highlight` options for enhanced display.
This commit is contained in:
57
i18n/locales/en-US/common.json
Normal file
57
i18n/locales/en-US/common.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"common": {
|
||||
"header": {
|
||||
"insights": {
|
||||
"label": "Insights",
|
||||
"children": {
|
||||
"xiaomaiBlog": {
|
||||
"label": "Founder's Blog",
|
||||
"description": "The blog sites of our studio founder - Xiaomai."
|
||||
}
|
||||
}
|
||||
},
|
||||
"services": {
|
||||
"label": "Services",
|
||||
"children": {
|
||||
"softwareDev": {
|
||||
"label": "Software Development",
|
||||
"description": "Software and Tools / Automation Development"
|
||||
},
|
||||
"eventVisual": {
|
||||
"label": "Event Big Screen Visualization",
|
||||
"description": "Display the content whichever you want on the big screen of your events!"
|
||||
},
|
||||
"lab": {
|
||||
"label": "Labs and Tests",
|
||||
"description": "Unavailable yet..."
|
||||
},
|
||||
"webDev": {
|
||||
"label": "Web Development",
|
||||
"description": "Customise Web design + CMS"
|
||||
}
|
||||
}
|
||||
},
|
||||
"projects": {
|
||||
"label": "Projects",
|
||||
"children": {
|
||||
"commercialWebsite": {
|
||||
"label": "Commercial Website",
|
||||
"description": "Fully customize website showcases."
|
||||
},
|
||||
"tools": {
|
||||
"label": "Tools and Softwares",
|
||||
"description": "Some QoL tools we developed"
|
||||
},
|
||||
"special": {
|
||||
"label": "Special Projects",
|
||||
"description": "Special projects to meet customer needs"
|
||||
},
|
||||
"gameDev": {
|
||||
"label": "Indie Games",
|
||||
"description": "Have a look at our indie games!"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user