forked from UKSOURCE/ipv6
1
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
import type { Metadata } from "next";
|
||||||
|
import GalleryPageClient from "@/app/components/gallery/GalleryPageClient";
|
||||||
|
|
||||||
|
export const metadata: Metadata = {
|
||||||
|
title: "Event Gallery | IPv6 Enhanced 2026",
|
||||||
|
description:
|
||||||
|
"Experience the journey of IPv6 adoption through our event highlights and join the Council today.",
|
||||||
|
};
|
||||||
|
|
||||||
|
export default function GalleryPage() {
|
||||||
|
return <GalleryPageClient />;
|
||||||
|
}
|
||||||
@@ -0,0 +1,247 @@
|
|||||||
|
"use client";
|
||||||
|
|
||||||
|
import { useState, useEffect } from "react";
|
||||||
|
import { useTranslation } from "@/app/hooks/useTranslation";
|
||||||
|
import ReadyToJoin from "./ReadyToJoin";
|
||||||
|
|
||||||
|
const BASE = process.env.NEXT_PUBLIC_BASE_PATH || "";
|
||||||
|
|
||||||
|
type EventItem = {
|
||||||
|
id: number;
|
||||||
|
title: string;
|
||||||
|
location: string;
|
||||||
|
date: string;
|
||||||
|
description: string;
|
||||||
|
images: string[];
|
||||||
|
};
|
||||||
|
|
||||||
|
export default function GalleryPageClient() {
|
||||||
|
const { gallery } = useTranslation();
|
||||||
|
|
||||||
|
// Lightbox State
|
||||||
|
const [lightboxEventId, setLightboxEventId] = useState<number | null>(null);
|
||||||
|
const [lightboxImageIndex, setLightboxImageIndex] = useState<number | null>(null);
|
||||||
|
|
||||||
|
// Helper to format image source path
|
||||||
|
const getImgSrc = (src: string) => {
|
||||||
|
if (src.startsWith("http")) return src;
|
||||||
|
return `${BASE}${src}`;
|
||||||
|
};
|
||||||
|
|
||||||
|
// Keyboard navigation for Lightbox
|
||||||
|
useEffect(() => {
|
||||||
|
if (lightboxEventId === null || lightboxImageIndex === null) return;
|
||||||
|
|
||||||
|
const activeEvent = gallery.events.find((e: EventItem) => e.id === lightboxEventId);
|
||||||
|
if (!activeEvent) return;
|
||||||
|
|
||||||
|
const handleKeyDown = (e: KeyboardEvent) => {
|
||||||
|
if (e.key === "Escape") {
|
||||||
|
closeLightbox();
|
||||||
|
} else if (e.key === "ArrowRight") {
|
||||||
|
setLightboxImageIndex((prev) => (prev! + 1) % activeEvent.images.length);
|
||||||
|
} else if (e.key === "ArrowLeft") {
|
||||||
|
setLightboxImageIndex((prev) => (prev! - 1 + activeEvent.images.length) % activeEvent.images.length);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
window.addEventListener("keydown", handleKeyDown);
|
||||||
|
return () => {
|
||||||
|
window.removeEventListener("keydown", handleKeyDown);
|
||||||
|
};
|
||||||
|
}, [lightboxEventId, lightboxImageIndex, gallery.events]);
|
||||||
|
|
||||||
|
const openLightbox = (eventId: number, imgIndex: number) => {
|
||||||
|
setLightboxEventId(eventId);
|
||||||
|
setLightboxImageIndex(imgIndex);
|
||||||
|
document.body.style.overflow = "hidden";
|
||||||
|
};
|
||||||
|
|
||||||
|
const closeLightbox = () => {
|
||||||
|
setLightboxEventId(null);
|
||||||
|
setLightboxImageIndex(null);
|
||||||
|
document.body.style.overflow = "";
|
||||||
|
};
|
||||||
|
|
||||||
|
// Find active lightbox image and event
|
||||||
|
const activeEvent = lightboxEventId !== null
|
||||||
|
? gallery.events.find((e: EventItem) => e.id === lightboxEventId)
|
||||||
|
: null;
|
||||||
|
const activeImage = activeEvent && lightboxImageIndex !== null
|
||||||
|
? activeEvent.images[lightboxImageIndex]
|
||||||
|
: null;
|
||||||
|
|
||||||
|
return (
|
||||||
|
<main className="pt-16 lg:pt-20 min-h-screen bg-background text-on-surface">
|
||||||
|
{/* Hero Header */}
|
||||||
|
<section className="hero-glow py-20 lg:py-32 px-[var(--spacing-gutter)] text-center">
|
||||||
|
<div className="max-w-4xl mx-auto">
|
||||||
|
<span className="font-[var(--font-label-caps)] text-xs lg:text-sm text-primary block mb-4 lg:mb-6 tracking-[0.25em] uppercase">
|
||||||
|
{gallery.hero.eyebrow}
|
||||||
|
</span>
|
||||||
|
<h1 className="font-[var(--font-display-lg)] text-on-surface text-[clamp(2.5rem,6vw+1rem,5.5rem)] leading-none tracking-tight">
|
||||||
|
{gallery.hero.title}
|
||||||
|
</h1>
|
||||||
|
<p className="font-[var(--font-body-base)] text-on-surface-variant text-base lg:text-[20px] max-w-3xl mx-auto opacity-70 leading-relaxed mt-6">
|
||||||
|
{gallery.hero.description}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
{/* Visual Gallery section */}
|
||||||
|
<section className="py-12 lg:py-20 px-[var(--spacing-gutter)] max-w-hd mx-auto">
|
||||||
|
<div className="flex flex-col gap-16 lg:gap-24">
|
||||||
|
{gallery.events.map((event: EventItem) => (
|
||||||
|
<div
|
||||||
|
key={event.id}
|
||||||
|
className="glass-panel p-6 sm:p-8 lg:p-12 rounded-3xl border border-primary/20 hover:border-primary/40 shadow-xl transition-all duration-300"
|
||||||
|
>
|
||||||
|
{/* Event details */}
|
||||||
|
<div className="flex flex-col lg:flex-row lg:items-start lg:justify-between mb-8 gap-4">
|
||||||
|
<div className="max-w-2xl">
|
||||||
|
<h2 className="text-xl sm:text-2xl lg:text-3xl font-[var(--font-display-lg)] text-primary mb-3">
|
||||||
|
{event.title}
|
||||||
|
</h2>
|
||||||
|
<p className="text-sm sm:text-base text-on-surface-variant/80 leading-relaxed font-sans">
|
||||||
|
{event.description}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Meta details */}
|
||||||
|
<div className="flex flex-wrap items-center gap-4 lg:self-start lg:mt-2 text-xs uppercase tracking-wider text-on-surface-variant/60 font-[var(--font-label-caps)]">
|
||||||
|
<div className="flex items-center gap-1.5 bg-surface-container-high px-3 py-1.5 rounded-lg border border-white/5">
|
||||||
|
<span className="material-symbols-outlined text-base text-primary">location_on</span>
|
||||||
|
<span>{event.location}</span>
|
||||||
|
</div>
|
||||||
|
<div className="flex items-center gap-1.5 bg-surface-container-high px-3 py-1.5 rounded-lg border border-white/5">
|
||||||
|
<span className="material-symbols-outlined text-base text-primary">calendar_today</span>
|
||||||
|
<span>{event.date}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Collage gallery grid */}
|
||||||
|
<div className="grid grid-cols-1 md:grid-cols-3 gap-4 lg:gap-6">
|
||||||
|
{/* Large image (left) */}
|
||||||
|
<div
|
||||||
|
className="md:col-span-2 overflow-hidden rounded-2xl border border-white/10 group cursor-pointer relative h-[240px] sm:h-[320px] md:h-[360px]"
|
||||||
|
onClick={() => openLightbox(event.id, 0)}
|
||||||
|
>
|
||||||
|
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||||
|
<img
|
||||||
|
src={getImgSrc(event.images[0])}
|
||||||
|
alt={`${event.title} Highlight 1`}
|
||||||
|
className="w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"
|
||||||
|
loading="lazy"
|
||||||
|
/>
|
||||||
|
<div className="absolute inset-0 bg-black/40 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center">
|
||||||
|
<div className="w-12 h-12 rounded-full bg-primary/20 backdrop-blur-md flex items-center justify-center border border-primary/50 text-white">
|
||||||
|
<span className="material-symbols-outlined text-2xl">zoom_in</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Stacked images (right) */}
|
||||||
|
<div className="flex flex-col gap-4 lg:gap-6">
|
||||||
|
{event.images.slice(1, 3).map((imgUrl, i) => (
|
||||||
|
<div
|
||||||
|
key={i}
|
||||||
|
className="flex-1 overflow-hidden rounded-2xl border border-white/10 group cursor-pointer relative h-[180px] sm:h-[220px] md:h-[168px] lg:h-[168px]"
|
||||||
|
onClick={() => openLightbox(event.id, i + 1)}
|
||||||
|
>
|
||||||
|
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||||
|
<img
|
||||||
|
src={getImgSrc(imgUrl)}
|
||||||
|
alt={`${event.title} Highlight ${i + 2}`}
|
||||||
|
className="w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"
|
||||||
|
loading="lazy"
|
||||||
|
/>
|
||||||
|
<div className="absolute inset-0 bg-black/40 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center">
|
||||||
|
<div className="w-10 h-10 rounded-full bg-primary/20 backdrop-blur-md flex items-center justify-center border border-primary/50 text-white">
|
||||||
|
<span className="material-symbols-outlined text-xl">zoom_in</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
{/* Invitation Section */}
|
||||||
|
<ReadyToJoin data={gallery.join} />
|
||||||
|
|
||||||
|
{/* Lightbox Overlay */}
|
||||||
|
{lightboxEventId !== null && lightboxImageIndex !== null && activeEvent && activeImage && (
|
||||||
|
<div
|
||||||
|
className="fixed inset-0 z-[100] flex flex-col justify-center items-center bg-black/95 backdrop-blur-md transition-opacity duration-300"
|
||||||
|
onClick={closeLightbox}
|
||||||
|
>
|
||||||
|
{/* Close button */}
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
className="absolute top-6 right-6 text-white/70 hover:text-white transition-colors p-2 z-[110]"
|
||||||
|
onClick={closeLightbox}
|
||||||
|
aria-label="Close Lightbox"
|
||||||
|
>
|
||||||
|
<span className="material-symbols-outlined text-4xl">close</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
{/* Lightbox content container */}
|
||||||
|
<div
|
||||||
|
className="relative flex items-center justify-between w-full max-w-6xl px-4 md:px-12 h-[60vh] sm:h-[70vh] md:h-[80vh]"
|
||||||
|
onClick={(e) => e.stopPropagation()}
|
||||||
|
>
|
||||||
|
{/* Prev arrow */}
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
className="w-12 h-12 md:w-16 md:h-16 rounded-full bg-white/5 hover:bg-white/10 border border-white/10 text-white flex items-center justify-center transition-colors mr-2 active:scale-95"
|
||||||
|
onClick={() => setLightboxImageIndex((prev) => (prev! - 1 + activeEvent.images.length) % activeEvent.images.length)}
|
||||||
|
aria-label="Previous Image"
|
||||||
|
>
|
||||||
|
<span className="material-symbols-outlined text-2xl md:text-3xl">chevron_left</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
{/* Active Image */}
|
||||||
|
<div className="flex-1 flex items-center justify-center h-full relative overflow-hidden select-none px-4">
|
||||||
|
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||||
|
<img
|
||||||
|
src={getImgSrc(activeImage)}
|
||||||
|
alt={`${activeEvent.title} Full Highlight`}
|
||||||
|
className="max-w-full max-h-full object-contain rounded-lg border border-white/5 shadow-2xl transition-all duration-300 animate-in fade-in zoom-in-95 duration-200"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Next arrow */}
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
className="w-12 h-12 md:w-16 md:h-16 rounded-full bg-white/5 hover:bg-white/10 border border-white/10 text-white flex items-center justify-center transition-colors ml-2 active:scale-95"
|
||||||
|
onClick={() => setLightboxImageIndex((prev) => (prev! + 1) % activeEvent.images.length)}
|
||||||
|
aria-label="Next Image"
|
||||||
|
>
|
||||||
|
<span className="material-symbols-outlined text-2xl md:text-3xl">chevron_right</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Info bar below image */}
|
||||||
|
<div
|
||||||
|
className="text-center mt-6 px-6 max-w-2xl select-none"
|
||||||
|
onClick={(e) => e.stopPropagation()}
|
||||||
|
>
|
||||||
|
<h3 className="font-[var(--font-display-lg)] text-primary text-base sm:text-lg mb-1.5">
|
||||||
|
{activeEvent.title}
|
||||||
|
</h3>
|
||||||
|
<p className="text-on-surface-variant/60 text-xs sm:text-sm uppercase tracking-wider font-[var(--font-label-caps)]">
|
||||||
|
{useTranslation().lang === "vi"
|
||||||
|
? `Hình ảnh ${lightboxImageIndex + 1} trên ${activeEvent.images.length}`
|
||||||
|
: `Image ${lightboxImageIndex + 1} of ${activeEvent.images.length}`
|
||||||
|
}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</main>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
"use client";
|
||||||
|
|
||||||
|
import Link from "next/link";
|
||||||
|
|
||||||
|
type Props = {
|
||||||
|
data: {
|
||||||
|
title: string;
|
||||||
|
description: string;
|
||||||
|
registerBtn: string;
|
||||||
|
viewMembersBtn: string;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
export default function ReadyToJoin({ data }: Props) {
|
||||||
|
return (
|
||||||
|
<section className="py-[var(--spacing-section-gap)] relative px-[var(--spacing-gutter)] max-w-hd mx-auto">
|
||||||
|
<div className="max-w-5xl mx-auto glass-panel gold-border p-8 sm:p-12 lg:p-20 rounded-[2.5rem] lg:rounded-[4rem] overflow-hidden relative shadow-2xl">
|
||||||
|
{/* Background Decor */}
|
||||||
|
<div className="absolute top-0 right-0 w-1/2 h-full bg-gradient-to-l from-primary/5 to-transparent pointer-events-none" />
|
||||||
|
<div className="absolute -bottom-24 -right-24 w-96 h-96 bg-primary/10 blur-[120px] rounded-full pointer-events-none" />
|
||||||
|
<div className="absolute -top-24 -left-24 w-96 h-96 bg-primary/5 blur-[120px] rounded-full pointer-events-none" />
|
||||||
|
|
||||||
|
<div className="relative z-10 text-center space-y-6 sm:space-y-8">
|
||||||
|
{/* Title */}
|
||||||
|
<h2 className="font-[var(--font-display-lg)] text-[clamp(1.75rem,3.5vw,3rem)] text-on-surface mb-4 leading-[1.1] tracking-tight">
|
||||||
|
{data.title}
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
{/* Description */}
|
||||||
|
<p className="font-[var(--font-body-base)] text-sm sm:text-base lg:text-[18px] text-on-surface-variant max-w-3xl mx-auto leading-relaxed opacity-80">
|
||||||
|
{data.description}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
{/* Call-to-Action Buttons */}
|
||||||
|
<div className="flex flex-col sm:flex-row justify-center items-center gap-4 sm:gap-6 pt-4">
|
||||||
|
<Link
|
||||||
|
href="/registration"
|
||||||
|
className="w-full sm:w-auto inline-flex items-center justify-center gap-2 gold-gradient-bg text-on-primary px-8 lg:px-10 py-4 rounded-xl font-bold uppercase tracking-widest text-xs lg:text-sm shadow-2xl shadow-primary/20 hover:shadow-primary/40 hover:scale-105 active:scale-95 transition-all duration-300 group"
|
||||||
|
>
|
||||||
|
<span>{data.registerBtn}</span>
|
||||||
|
<span className="material-symbols-outlined group-hover:translate-x-1.5 transition-transform text-lg">
|
||||||
|
arrow_forward
|
||||||
|
</span>
|
||||||
|
</Link>
|
||||||
|
|
||||||
|
<Link
|
||||||
|
href="/registration#members"
|
||||||
|
className="w-full sm:w-auto inline-flex items-center justify-center gap-2 bg-surface-container-high hover:bg-surface-container-highest border border-white/10 hover:border-primary/40 text-on-surface-variant px-8 lg:px-10 py-4 rounded-xl font-bold uppercase tracking-widest text-xs lg:text-sm hover:scale-105 active:scale-95 transition-all duration-300"
|
||||||
|
>
|
||||||
|
<span>{data.viewMembersBtn}</span>
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -1,5 +1,8 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
|
import Link from "next/link";
|
||||||
|
import { useTranslation } from "@/app/hooks/useTranslation";
|
||||||
|
|
||||||
const BASE = process.env.NEXT_PUBLIC_BASE_PATH || "";
|
const BASE = process.env.NEXT_PUBLIC_BASE_PATH || "";
|
||||||
|
|
||||||
type GalleryItem = {
|
type GalleryItem = {
|
||||||
@@ -32,6 +35,10 @@ const heightClass: Record<string, string> = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export default function GallerySection({ data }: Props) {
|
export default function GallerySection({ data }: Props) {
|
||||||
|
const { lang } = useTranslation();
|
||||||
|
const isVi = lang === "vi";
|
||||||
|
const btnLabel = isVi ? "Xem Toàn Bộ Thư Viện" : "View Full Event Gallery";
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section
|
<section
|
||||||
className="py-16 lg:py-32 max-w-hd mx-auto px-[var(--spacing-gutter)]"
|
className="py-16 lg:py-32 max-w-hd mx-auto px-[var(--spacing-gutter)]"
|
||||||
@@ -52,7 +59,7 @@ export default function GallerySection({ data }: Props) {
|
|||||||
|
|
||||||
{/* Grid masonry-style */}
|
{/* Grid masonry-style */}
|
||||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 lg:gap-6">
|
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 lg:gap-6">
|
||||||
{data.items.map((item, i) => (
|
{data.items.slice(0, 6).map((item, i) => (
|
||||||
<div
|
<div
|
||||||
key={i}
|
key={i}
|
||||||
className={[
|
className={[
|
||||||
@@ -75,6 +82,17 @@ export default function GallerySection({ data }: Props) {
|
|||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{/* Button to full gallery */}
|
||||||
|
<div className="flex justify-center mt-12 lg:mt-16">
|
||||||
|
<Link
|
||||||
|
href="/gallery"
|
||||||
|
className="inline-flex items-center gap-2 gold-gradient-bg text-on-primary px-8 py-4 font-[var(--font-body-base)] text-sm lg:text-base font-bold uppercase tracking-wider rounded-xl hover:scale-105 active:scale-95 transition-all duration-300 shadow-xl shadow-primary/20 hover:shadow-primary/30"
|
||||||
|
>
|
||||||
|
<span>{btnLabel}</span>
|
||||||
|
<span className="material-symbols-outlined text-sm font-bold">arrow_forward</span>
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,111 @@
|
|||||||
|
{
|
||||||
|
"hero": {
|
||||||
|
"eyebrow": "Visual Journey",
|
||||||
|
"title": "Visual Gallery",
|
||||||
|
"description": "Experience the journey of IPv6 adoption through our event highlights."
|
||||||
|
},
|
||||||
|
"events": [
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"title": "IPv6 Enhanced AI Summit 2025",
|
||||||
|
"location": "Singapore",
|
||||||
|
"date": "Nov 14, 2025",
|
||||||
|
"description": "Exploring the intersection of IPv6 next-gen routing and large-scale AI cluster networks.",
|
||||||
|
"images": [
|
||||||
|
"/assets/img/gallery/ipv6_new1.jpg",
|
||||||
|
"https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&w=800&q=80",
|
||||||
|
"https://images.unsplash.com/photo-1515187029135-18ee286d815b?auto=format&fit=crop&w=800&q=80"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 2,
|
||||||
|
"title": "ASEAN Next-Gen Internet Forum 2025",
|
||||||
|
"location": "Bangkok, Thailand",
|
||||||
|
"date": "Sep 08, 2025",
|
||||||
|
"description": "Driving the adoption of IPv6 across ASEAN telecommunications networks for regional integration.",
|
||||||
|
"images": [
|
||||||
|
"/assets/img/gallery/ipv6_new2.JPG",
|
||||||
|
"https://images.unsplash.com/photo-1528605248644-14dd04022da1?auto=format&fit=crop&w=800&q=80",
|
||||||
|
"https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=800&q=80"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 3,
|
||||||
|
"title": "Global IPv6 Innovation Summit 2024",
|
||||||
|
"location": "Tokyo, Japan",
|
||||||
|
"date": "Dec 05, 2024",
|
||||||
|
"description": "Celebrating pioneers in IPv6 deployment and next-generation internet protocols.",
|
||||||
|
"images": [
|
||||||
|
"/assets/img/gallery/ipv6_new3.JPG",
|
||||||
|
"https://images.unsplash.com/photo-1475721027785-f74eccf877e2?auto=format&fit=crop&w=800&q=80",
|
||||||
|
"https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=800&q=80"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 4,
|
||||||
|
"title": "ASEAN AI & Cloud Networking Conference 2024",
|
||||||
|
"location": "Kuala Lumpur, Malaysia",
|
||||||
|
"date": "Oct 22, 2024",
|
||||||
|
"description": "Discussing the role of IPv6 in building AI-ready, scalable multi-cloud architectures.",
|
||||||
|
"images": [
|
||||||
|
"/assets/img/gallery/ipv6_new4.jpg",
|
||||||
|
"https://images.unsplash.com/photo-1597852074816-d933c7d2b988?auto=format&fit=crop&w=800&q=80",
|
||||||
|
"https://images.unsplash.com/photo-1511795409834-ef04bbd61622?auto=format&fit=crop&w=800&q=80"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 5,
|
||||||
|
"title": "APAC IPv6 Council Regional Assembly 2024",
|
||||||
|
"location": "Kathmandu, Nepal",
|
||||||
|
"date": "Apr 18, 2024",
|
||||||
|
"description": "Regional coordinators aligning policies, routing standards, and government initiatives.",
|
||||||
|
"images": [
|
||||||
|
"/assets/img/gallery/ipv6_new5.jpg",
|
||||||
|
"https://images.unsplash.com/photo-1531482615713-2afd69097998?auto=format&fit=crop&w=800&q=80",
|
||||||
|
"https://images.unsplash.com/photo-1542744173-8e0ee26cf195?auto=format&fit=crop&w=800&q=80"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 6,
|
||||||
|
"title": "Vietnam IPv6 Transition Workshop 2023",
|
||||||
|
"location": "Hanoi, Vietnam",
|
||||||
|
"date": "Nov 10, 2023",
|
||||||
|
"description": "Guiding local enterprises and ISPs in the seamless migration from IPv4 to IPv6.",
|
||||||
|
"images": [
|
||||||
|
"/assets/img/gallery/ipv6_new6.jpg",
|
||||||
|
"https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=800&q=80",
|
||||||
|
"https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=800&q=80"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 7,
|
||||||
|
"title": "ASEAN Cloud & Datacenter Forum 2023",
|
||||||
|
"location": "Jakarta, Indonesia",
|
||||||
|
"date": "Aug 15, 2023",
|
||||||
|
"description": "Optimizing server hardware and network topology using IPv6 features for enterprise scale.",
|
||||||
|
"images": [
|
||||||
|
"/assets/img/gallery/ipv6_new7.jpg",
|
||||||
|
"https://images.unsplash.com/photo-1600132806370-bf17e65e942f?auto=format&fit=crop&w=800&q=80",
|
||||||
|
"https://images.unsplash.com/photo-1505373877841-8d25f7d46678?auto=format&fit=crop&w=800&q=80"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 8,
|
||||||
|
"title": "5G & IPv6 Enhanced Summit 2023",
|
||||||
|
"location": "Manila, Philippines",
|
||||||
|
"date": "May 24, 2023",
|
||||||
|
"description": "Catalyzing mobile broadband innovation and IoT connectivity through IPv6-based 5G network slicing.",
|
||||||
|
"images": [
|
||||||
|
"/assets/img/gallery/ipv6_new8.jpg",
|
||||||
|
"https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=800&q=80",
|
||||||
|
"https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=800&q=80"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"join": {
|
||||||
|
"title": "Ready to Join the Council?",
|
||||||
|
"description": "Become a member today and collaborate with regional leaders to shape the future of the Internet in the Asia-Pacific region.",
|
||||||
|
"registerBtn": "Member Registration",
|
||||||
|
"viewMembersBtn": "View Current Members"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,111 @@
|
|||||||
|
{
|
||||||
|
"hero": {
|
||||||
|
"eyebrow": "Hành Trình Hình Ảnh",
|
||||||
|
"title": "Thư Viện Ảnh",
|
||||||
|
"description": "Trải nghiệm hành trình chuyển đổi IPv6 thông qua các khoảnh khắc nổi bật của sự kiện."
|
||||||
|
},
|
||||||
|
"events": [
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"title": "Hội Nghị Thượng Đỉnh IPv6 Enhanced Cho AI 2025",
|
||||||
|
"location": "Singapore",
|
||||||
|
"date": "14/11/2025",
|
||||||
|
"description": "Khám phá sự giao thoa giữa định tuyến thế hệ mới IPv6 và mạng lưới cụm máy chủ AI quy mô lớn.",
|
||||||
|
"images": [
|
||||||
|
"/assets/img/gallery/ipv6_new1.jpg",
|
||||||
|
"https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&w=800&q=80",
|
||||||
|
"https://images.unsplash.com/photo-1515187029135-18ee286d815b?auto=format&fit=crop&w=800&q=80"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 2,
|
||||||
|
"title": "Diễn Đàn Internet Thế Hệ Mới ASEAN 2025",
|
||||||
|
"location": "Bangkok, Thái Lan",
|
||||||
|
"date": "08/09/2025",
|
||||||
|
"description": "Thúc đẩy chuyển đổi sang IPv6 trên các mạng viễn thông ASEAN nhằm tích hợp khu vực số.",
|
||||||
|
"images": [
|
||||||
|
"/assets/img/gallery/ipv6_new2.JPG",
|
||||||
|
"https://images.unsplash.com/photo-1528605248644-14dd04022da1?auto=format&fit=crop&w=800&q=80",
|
||||||
|
"https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=800&q=80"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 3,
|
||||||
|
"title": "Hội Nghị Thượng Đỉnh Sáng Tạo IPv6 Toàn Cầu 2024",
|
||||||
|
"location": "Tokyo, Nhật Bản",
|
||||||
|
"date": "05/12/2024",
|
||||||
|
"description": "Vinh danh những đơn vị tiên phong trong triển khai IPv6 và các giao thức internet thế hệ tiếp theo.",
|
||||||
|
"images": [
|
||||||
|
"/assets/img/gallery/ipv6_new3.JPG",
|
||||||
|
"https://images.unsplash.com/photo-1475721027785-f74eccf877e2?auto=format&fit=crop&w=800&q=80",
|
||||||
|
"https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=800&q=80"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 4,
|
||||||
|
"title": "Hội Nghị Mạng Đám Mây & AI ASEAN 2024",
|
||||||
|
"location": "Kuala Lumpur, Malaysia",
|
||||||
|
"date": "22/10/2024",
|
||||||
|
"description": "Thảo luận về vai trò của IPv6 trong việc xây dựng kiến trúc đa đám mây có khả năng mở rộng cho AI.",
|
||||||
|
"images": [
|
||||||
|
"/assets/img/gallery/ipv6_new4.jpg",
|
||||||
|
"https://images.unsplash.com/photo-1597852074816-d933c7d2b988?auto=format&fit=crop&w=800&q=80",
|
||||||
|
"https://images.unsplash.com/photo-1511795409834-ef04bbd61622?auto=format&fit=crop&w=800&q=80"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 5,
|
||||||
|
"title": "Đại Hội Đồng Khu Vực Hội Đồng IPv6 APAC 2024",
|
||||||
|
"location": "Kathmandu, Nepal",
|
||||||
|
"date": "18/04/2024",
|
||||||
|
"description": "Các điều phối viên khu vực thống nhất về chính sách mạng, tiêu chuẩn định tuyến và các sáng kiến quốc gia.",
|
||||||
|
"images": [
|
||||||
|
"/assets/img/gallery/ipv6_new5.jpg",
|
||||||
|
"https://images.unsplash.com/photo-1531482615713-2afd69097998?auto=format&fit=crop&w=800&q=80",
|
||||||
|
"https://images.unsplash.com/photo-1542744173-8e0ee26cf195?auto=format&fit=crop&w=800&q=80"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 6,
|
||||||
|
"title": "Hội Thảo Chuyển Đổi IPv6 Việt Nam 2023",
|
||||||
|
"location": "Hà Nội, Việt Nam",
|
||||||
|
"date": "10/11/2023",
|
||||||
|
"description": "Hướng dẫn các doanh nghiệp và nhà cung cấp dịch vụ Internet (ISP) trong nước chuyển đổi suôn sẻ từ IPv4 sang IPv6.",
|
||||||
|
"images": [
|
||||||
|
"/assets/img/gallery/ipv6_new6.jpg",
|
||||||
|
"https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=800&q=80",
|
||||||
|
"https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=800&q=80"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 7,
|
||||||
|
"title": "Diễn Đàn Điện Toán Đám Mây & Trung Tâm Dữ Liệu ASEAN 2023",
|
||||||
|
"location": "Jakarta, Indonesia",
|
||||||
|
"date": "15/08/2023",
|
||||||
|
"description": "Tối ưu hóa phần cứng máy chủ và cấu trúc liên kết mạng dựa trên các tính năng của IPv6 cho quy mô doanh nghiệp.",
|
||||||
|
"images": [
|
||||||
|
"/assets/img/gallery/ipv6_new7.jpg",
|
||||||
|
"https://images.unsplash.com/photo-1600132806370-bf17e65e942f?auto=format&fit=crop&w=800&q=80",
|
||||||
|
"https://images.unsplash.com/photo-1505373877841-8d25f7d46678?auto=format&fit=crop&w=800&q=80"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 8,
|
||||||
|
"title": "Hội Nghị Thượng Đỉnh 5G & IPv6 Enhanced 2023",
|
||||||
|
"location": "Manila, Philippines",
|
||||||
|
"date": "24/05/2023",
|
||||||
|
"description": "Thúc đẩy đổi mới băng thông rộng di động và kết nối IoT thông qua kỹ thuật chia tách mạng 5G dựa trên IPv6.",
|
||||||
|
"images": [
|
||||||
|
"/assets/img/gallery/ipv6_new8.jpg",
|
||||||
|
"https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=800&q=80",
|
||||||
|
"https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=800&q=80"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"join": {
|
||||||
|
"title": "Sẵn Sàng Tham Gia Hội Đồng?",
|
||||||
|
"description": "Trở thành thành viên ngay hôm nay và hợp tác với các nhà lãnh đạo khu vực để định hình tương lai của Internet tại khu vực Châu Á - Thái Bình Dương.",
|
||||||
|
"registerBtn": "Đăng Ký Thành Viên",
|
||||||
|
"viewMembersBtn": "Xem Các Thành Viên Hiện Tại"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -4,6 +4,7 @@
|
|||||||
},
|
},
|
||||||
"nav": [
|
"nav": [
|
||||||
{ "label": "Home", "href": "/" },
|
{ "label": "Home", "href": "/" },
|
||||||
|
{ "label": "Gallery", "href": "/gallery" },
|
||||||
{ "label": "Registration", "href": "/registration" },
|
{ "label": "Registration", "href": "/registration" },
|
||||||
{ "label": "Feedback", "href": "/feedback" },
|
{ "label": "Feedback", "href": "/feedback" },
|
||||||
{ "label": "Sponsor", "href": "/sponsor" }
|
{ "label": "Sponsor", "href": "/sponsor" }
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
},
|
},
|
||||||
"nav": [
|
"nav": [
|
||||||
{ "label": "Trang Chủ", "href": "/" },
|
{ "label": "Trang Chủ", "href": "/" },
|
||||||
|
{ "label": "Thư Viện Ảnh", "href": "/gallery" },
|
||||||
{ "label": "Đăng Ký", "href": "/registration" },
|
{ "label": "Đăng Ký", "href": "/registration" },
|
||||||
{ "label": "Phản Hồi", "href": "/feedback" },
|
{ "label": "Phản Hồi", "href": "/feedback" },
|
||||||
{ "label": "Nhà Tài Trợ", "href": "/sponsor" }
|
{ "label": "Nhà Tài Trợ", "href": "/sponsor" }
|
||||||
|
|||||||
@@ -12,6 +12,8 @@ import sponsorEn from "@/app/data/sponsor.json";
|
|||||||
import sponsorVi from "@/app/data/sponsor.vi.json";
|
import sponsorVi from "@/app/data/sponsor.vi.json";
|
||||||
import adminEn from "@/app/data/admin.json";
|
import adminEn from "@/app/data/admin.json";
|
||||||
import adminVi from "@/app/data/admin.vi.json";
|
import adminVi from "@/app/data/admin.vi.json";
|
||||||
|
import galleryEn from "@/app/data/gallery.json";
|
||||||
|
import galleryVi from "@/app/data/gallery.vi.json";
|
||||||
|
|
||||||
export function useTranslation() {
|
export function useTranslation() {
|
||||||
const { lang } = useLanguage();
|
const { lang } = useLanguage();
|
||||||
@@ -25,5 +27,6 @@ export function useTranslation() {
|
|||||||
feedback: isVi ? feedbackVi : feedbackEn,
|
feedback: isVi ? feedbackVi : feedbackEn,
|
||||||
sponsor: isVi ? sponsorVi : sponsorEn,
|
sponsor: isVi ? sponsorVi : sponsorEn,
|
||||||
admin: isVi ? adminVi : adminEn,
|
admin: isVi ? adminVi : adminEn,
|
||||||
|
gallery: isVi ? galleryVi : galleryEn,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user