Build ipv6

This commit is contained in:
2026-05-23 15:57:34 +07:00
parent 9d5b8120a8
commit c18fefeb8d
+3 -3
View File
@@ -5,7 +5,7 @@ const BASE = process.env.NEXT_PUBLIC_BASE_PATH || "";
type GalleryItem = { type GalleryItem = {
src: string; src: string;
alt: string; alt: string;
span: "wide" | "normal" | "full"; span: string;
}; };
type Props = { type Props = {
@@ -18,14 +18,14 @@ type Props = {
}; };
// Map span → Tailwind col-span classes // Map span → Tailwind col-span classes
const spanClass: Record<GalleryItem["span"], string> = { const spanClass: Record<string, string> = {
wide: "md:col-span-2 lg:col-span-2", wide: "md:col-span-2 lg:col-span-2",
normal: "", normal: "",
full: "md:col-span-2 lg:col-span-3", full: "md:col-span-2 lg:col-span-3",
}; };
// Map span → chiều cao ảnh // Map span → chiều cao ảnh
const heightClass: Record<GalleryItem["span"], string> = { const heightClass: Record<string, string> = {
wide: "h-[240px] md:h-[340px] lg:h-[420px]", wide: "h-[240px] md:h-[340px] lg:h-[420px]",
normal: "h-[240px] md:h-[340px] lg:h-[420px]", normal: "h-[240px] md:h-[340px] lg:h-[420px]",
full: "h-[260px] md:h-[360px] lg:h-[480px]", full: "h-[260px] md:h-[360px] lg:h-[480px]",