diff --git a/app/gallery/page.tsx b/app/gallery/page.tsx index 54bccb9..48445c1 100644 --- a/app/gallery/page.tsx +++ b/app/gallery/page.tsx @@ -1,6 +1,6 @@ -import { Gallery } from "@/components/models/datatype.props"; -import * as GALLERY from "@/public/assets/content/gallery/content.json"; -import Link from "next/link"; +import { Gallery } from '@/components/models/datatype.props'; +import GALLERYDATA from '@/public/assets/content/gallery/content.json'; +import Link from 'next/link'; function page() { const galleryLink = 'https://gallery.gdgcloudkol.org'; @@ -8,23 +8,31 @@ function page() { return (
- {GALLERY.map((item: Gallery) => { - return <> - {/* */} - -
- - {item.title} - -
- {item.title} -
- - + {GALLERYDATA.map((item: Gallery) => { + return ( + <> + +
+ + {item.title} + +
+ {item.title} +
+ + + ); })}
); } -export default page; \ No newline at end of file +export default page;