fix: default vi lang, change event date

This commit is contained in:
2026-05-29 23:57:40 +07:00
parent 37e159bd8e
commit a52decc261
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -10,12 +10,12 @@ interface LanguageContextValue {
} }
const LanguageContext = createContext<LanguageContextValue>({ const LanguageContext = createContext<LanguageContextValue>({
lang: "en", lang: "vi",
setLang: () => {}, setLang: () => {},
}); });
export function LanguageProvider({ children }: { children: React.ReactNode }) { export function LanguageProvider({ children }: { children: React.ReactNode }) {
const [lang, setLangState] = useState<Lang>("en"); const [lang, setLangState] = useState<Lang>("vi");
useEffect(() => { useEffect(() => {
const saved = localStorage.getItem("ipv6_lang") as Lang | null; const saved = localStorage.getItem("ipv6_lang") as Lang | null;
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"hero": { "hero": {
"badgeIcon": "calendar_today", "badgeIcon": "calendar_today",
"badgeText": "June 2026 | Ho Chi Minh City, Vietnam", "badgeText": "18 July 2026 | Ho Chi Minh City, Vietnam",
"title": "IPv6 - Enhanced for AI & Data Centre Summit 2026", "title": "IPv6 - Enhanced for AI & Data Centre Summit 2026",
"subtitle": "Unlocking the Potential of Next-Gen Infrastructure. Join global leaders in redefining ASEAN's digital connectivity for the age of AI.", "subtitle": "Unlocking the Potential of Next-Gen Infrastructure. Join global leaders in redefining ASEAN's digital connectivity for the age of AI.",
"primaryCta": { "label": "Register", "href": "/registration" }, "primaryCta": { "label": "Register", "href": "/registration" },
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"hero": { "hero": {
"badgeIcon": "calendar_today", "badgeIcon": "calendar_today",
"badgeText": "Tháng 6/2026 | TP. Hồ Chí Minh, Việt Nam", "badgeText": "18 Tháng 7/2026 | TP. Hồ Chí Minh, Việt Nam",
"title": "IPv6 - Enhanced for AI & Data Centre Summit 2026", "title": "IPv6 - Enhanced for AI & Data Centre Summit 2026",
"subtitle": "Khám phá tiềm năng Hạ tầng thế hệ mới. Chung sức định hình kỷ nguyên kết nối số tại ASEAN cùng doanh nghiệp hàng đầu quốc tế.", "subtitle": "Khám phá tiềm năng Hạ tầng thế hệ mới. Chung sức định hình kỷ nguyên kết nối số tại ASEAN cùng doanh nghiệp hàng đầu quốc tế.",
"primaryCta": { "label": "Đăng Ký", "href": "/registration" }, "primaryCta": { "label": "Đăng Ký", "href": "/registration" },
+1 -1
View File
@@ -2,7 +2,7 @@
"hero": { "hero": {
"eyebrow": "OPPORTUNITY AWAITS", "eyebrow": "OPPORTUNITY AWAITS",
"title": "Become a Sponsor", "title": "Become a Sponsor",
"subtitle": "IPv6 - Enhanced AI & Data Centre Summit 2026 — 18 June 2026, Ho Chi Minh City", "subtitle": "IPv6 - Enhanced AI & Data Centre Summit 2026 — 18 July 2026, Ho Chi Minh City",
"description": "Join industry leaders at the forefront of the technological evolution. We invite innovative companies to co-sponsor an elite gathering focusing on AI, IPv6, Cloud Computing, Cybersecurity, Blockchain, and Data Centres. Align your brand with the architects of tomorrow's infrastructure.", "description": "Join industry leaders at the forefront of the technological evolution. We invite innovative companies to co-sponsor an elite gathering focusing on AI, IPv6, Cloud Computing, Cybersecurity, Blockchain, and Data Centres. Align your brand with the architects of tomorrow's infrastructure.",
"primaryCta": { "label": "Download Prospectus", "href": "#" }, "primaryCta": { "label": "Download Prospectus", "href": "#" },
"secondaryCta": { "label": "Speak to an Agent", "href": "#contact" } "secondaryCta": { "label": "Speak to an Agent", "href": "#contact" }
+1 -1
View File
@@ -2,7 +2,7 @@
"hero": { "hero": {
"eyebrow": "CƠ HỘI ĐANG CHỜ", "eyebrow": "CƠ HỘI ĐANG CHỜ",
"title": "Trở Thành Nhà Tài Trợ", "title": "Trở Thành Nhà Tài Trợ",
"subtitle": "Hội Nghị IPv6 cho AI & Trung Tâm Dữ Liệu 2026 — 18 Tháng 6 năm 2026, TP. Hồ Chí Minh", "subtitle": "Hội Nghị IPv6 cho AI & Trung Tâm Dữ Liệu 2026 — 18 Tháng 7 năm 2026, TP. Hồ Chí Minh",
"description": "Cùng các nhà lãnh đạo ngành ở tuyến đầu tiến hóa công nghệ. Chúng tôi mời các công ty đổi mới đồng tài trợ cho sự kiện đẳng cấp tập trung vào AI, IPv6, Điện Toán Đám Mây, An Ninh Mạng, Blockchain và Trung Tâm Dữ Liệu. Kết nối thương hiệu của bạn với những kiến trúc sư của hạ tầng ngày mai.", "description": "Cùng các nhà lãnh đạo ngành ở tuyến đầu tiến hóa công nghệ. Chúng tôi mời các công ty đổi mới đồng tài trợ cho sự kiện đẳng cấp tập trung vào AI, IPv6, Điện Toán Đám Mây, An Ninh Mạng, Blockchain và Trung Tâm Dữ Liệu. Kết nối thương hiệu của bạn với những kiến trúc sư của hạ tầng ngày mai.",
"primaryCta": { "label": "Tải Hồ Sơ Tài Trợ", "href": "#" }, "primaryCta": { "label": "Tải Hồ Sơ Tài Trợ", "href": "#" },
"secondaryCta": { "label": "Liên Hệ Chuyên Viên", "href": "#contact" } "secondaryCta": { "label": "Liên Hệ Chuyên Viên", "href": "#contact" }
+1 -1
View File
@@ -14,7 +14,7 @@ export const metadata: Metadata = {
export default function RootLayout({ children }: { children: React.ReactNode }) { export default function RootLayout({ children }: { children: React.ReactNode }) {
return ( return (
<html lang="en"> <html lang="vi">
<head> <head>
{/* Nasalization font — path prefixed with basePath for subdirectory deployments */} {/* Nasalization font — path prefixed with basePath for subdirectory deployments */}
<style dangerouslySetInnerHTML={{ __html: ` <style dangerouslySetInnerHTML={{ __html: `