import { Metadata } from 'next'; import Image from 'next/image'; import { Clock, MapPin } from 'lucide-react'; import youth from '@/public/subpages/generation/youth.webp'; export const metadata: Metadata = { title: '다음세대', description: '제자들교회 다음세대 부서를 소개합니다. 유치부, 유초등부, 중고등부, 청년부가 함께 신앙으로 성장하고 있습니다.', openGraph: { title: '다음세대 | 제자들교회', description: '제자들교회 다음세대 - 유치부, 유초등부, 중고등부, 청년부', }, }; import elementary from '@/public/subpages/generation/elementary.webp'; import highschool from '@/public/subpages/generation/highschool.webp'; import adult from '@/public/subpages/generation/adult.webp'; const DEPARTMENTS = [ { title: '유치부', color: '#6d96c5', image: youth, worshipTime: '11:00-12:00(주일)', worshipPlace: '4층 해피키즈', }, { title: '유초등부', color: '#88aad2', image: elementary, worshipTime: '11:00-12:00(주일)', worshipPlace: '4층 해피키즈', ageRange: '6세 ~ 12세', }, { title: '중고등부', color: '#94b7d6', image: highschool, worshipTime: '11:00-12:00(주일)', worshipPlace: '4층 교육관', ageRange: '13세 ~ 18세', }, { title: '청년부', color: '#88aad2', image: adult, worshipTime: '16:00-17:00(토요일)', worshipPlace: '4층 교육관', }, ]; export default function GenerationPage() { return (
{DEPARTMENTS.map((department, index) => (
{/* 섹션 헤더 */}

{department.title}

{/* 부서 소개 섹션 - 왼쪽 이미지, 오른쪽 설명 */}
{/* 왼쪽: 이미지 (3/7) */}
{department.title} {/* 이미지 오버레이 */}
{/* 오른쪽: 설명 (4/7) */}
{/* 예배 정보 */} {/* 모바일: 한 줄에 배치 */}
{/* 예배 시간 */}

{department.worshipTime}

{/* 구분선 */}
{/* 예배 장소 */}

{department.worshipPlace}

{/* 태블릿 이상: 세로로 배치 */}
{/* 예배 시간 */}
{/* 시계 아이콘 */}
{/* 예배 시간 텍스트 */}

예배 시간

{department.worshipTime}

{/* 예배 장소 */}
{/* 위치 아이콘 */}
{/* 예배 장소 텍스트 */}

예배 장소

{department.worshipPlace}

))}
); }