diff --git a/src/app/brand/page.tsx b/src/app/brand/page.tsx index 408ef55..2488a19 100644 --- a/src/app/brand/page.tsx +++ b/src/app/brand/page.tsx @@ -1,6 +1,12 @@ import { getAllBrands } from "@/lib/directus/brand"; import BrandList from "@/components/brand/BrandList"; import type { CompanyBrand } from "@/types/brand"; +import type { Metadata } from "next"; + +export const metadata: Metadata = { + title: "関連事業 | BaseCafe", + description: "BaseCafeの運営する事業内容。", +}; export const revalidate = 0; diff --git a/src/app/company/page.tsx b/src/app/company/page.tsx index 6382ee7..a8ff93d 100644 --- a/src/app/company/page.tsx +++ b/src/app/company/page.tsx @@ -1,6 +1,13 @@ import { getCompanyData } from "@/lib/directus/company"; import dayjs from "dayjs"; import customParseFormat from "dayjs/plugin/customParseFormat"; +import type { Metadata } from "next"; + +export const metadata: Metadata = { + title: "会社情報 | BaseCafe", + description: "株式会社BaseCafeを紹介します。", +}; + dayjs.extend(customParseFormat); export default async function CompanyPage() { const company = await getCompanyData(); diff --git a/src/app/news/page.tsx b/src/app/news/page.tsx index f97ea61..e925798 100644 --- a/src/app/news/page.tsx +++ b/src/app/news/page.tsx @@ -1,6 +1,12 @@ // src/app/news/page.tsx import { getAllNews } from "@/lib/directus/news"; import NewsClientPage from "@/components/news/NewsClientPage"; +import type { Metadata } from "next"; + +export const metadata: Metadata = { + title: "新着情報 | BaseCafe", + description: "BaseCafeからのお知らせ・最新情報をお届けします。", +}; export const revalidate = 3600; diff --git a/src/app/reservation/page.tsx b/src/app/reservation/page.tsx index cd5301f..0c5f058 100644 --- a/src/app/reservation/page.tsx +++ b/src/app/reservation/page.tsx @@ -1,6 +1,12 @@ // src/app/reservation/page.tsx import { getRoomReservations, Reservation } from "@/lib/reservation"; import { RoomInfo } from "@/lib/roominfo"; +import type { Metadata } from "next"; + +export const metadata: Metadata = { + title: "個室空き状況・予約 | BaseCafe", + description: "Base Bettakuの個室予約状況と予約ができます。", +}; const ROOMS = Object.keys(RoomInfo); // ["ENJI","PINK","MINT"] const startHour = 7; // 開店時間 diff --git a/src/app/schedule/page.tsx b/src/app/schedule/page.tsx index 243209e..ba79f9e 100644 --- a/src/app/schedule/page.tsx +++ b/src/app/schedule/page.tsx @@ -1,6 +1,12 @@ import Carousel from "@/components/ui/Carousel"; import { getAllSchedules } from "@/lib/directus/schedule"; import type { ScheduleItem } from "@/lib/directus/schedule"; +import type { Metadata } from "next"; + +export const metadata: Metadata = { + title: "スケジュール | BaseCafe", + description: "BaseCafe Base Bettakuの予定です。", +}; export const revalidate = 3600;