ページタイトル個別設定
This commit is contained in:
parent
77359d78cd
commit
130fc1c0e0
|
|
@ -1,6 +1,12 @@
|
||||||
import { getAllBrands } from "@/lib/directus/brand";
|
import { getAllBrands } from "@/lib/directus/brand";
|
||||||
import BrandList from "@/components/brand/BrandList";
|
import BrandList from "@/components/brand/BrandList";
|
||||||
import type { CompanyBrand } from "@/types/brand";
|
import type { CompanyBrand } from "@/types/brand";
|
||||||
|
import type { Metadata } from "next";
|
||||||
|
|
||||||
|
export const metadata: Metadata = {
|
||||||
|
title: "関連事業 | BaseCafe",
|
||||||
|
description: "BaseCafeの運営する事業内容。",
|
||||||
|
};
|
||||||
|
|
||||||
export const revalidate = 0;
|
export const revalidate = 0;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,13 @@
|
||||||
import { getCompanyData } from "@/lib/directus/company";
|
import { getCompanyData } from "@/lib/directus/company";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
import customParseFormat from "dayjs/plugin/customParseFormat";
|
import customParseFormat from "dayjs/plugin/customParseFormat";
|
||||||
|
import type { Metadata } from "next";
|
||||||
|
|
||||||
|
export const metadata: Metadata = {
|
||||||
|
title: "会社情報 | BaseCafe",
|
||||||
|
description: "株式会社BaseCafeを紹介します。",
|
||||||
|
};
|
||||||
|
|
||||||
dayjs.extend(customParseFormat);
|
dayjs.extend(customParseFormat);
|
||||||
export default async function CompanyPage() {
|
export default async function CompanyPage() {
|
||||||
const company = await getCompanyData();
|
const company = await getCompanyData();
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
// src/app/news/page.tsx
|
// src/app/news/page.tsx
|
||||||
import { getAllNews } from "@/lib/directus/news";
|
import { getAllNews } from "@/lib/directus/news";
|
||||||
import NewsClientPage from "@/components/news/NewsClientPage";
|
import NewsClientPage from "@/components/news/NewsClientPage";
|
||||||
|
import type { Metadata } from "next";
|
||||||
|
|
||||||
|
export const metadata: Metadata = {
|
||||||
|
title: "新着情報 | BaseCafe",
|
||||||
|
description: "BaseCafeからのお知らせ・最新情報をお届けします。",
|
||||||
|
};
|
||||||
|
|
||||||
export const revalidate = 3600;
|
export const revalidate = 3600;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
// src/app/reservation/page.tsx
|
// src/app/reservation/page.tsx
|
||||||
import { getRoomReservations, Reservation } from "@/lib/reservation";
|
import { getRoomReservations, Reservation } from "@/lib/reservation";
|
||||||
import { RoomInfo } from "@/lib/roominfo";
|
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 ROOMS = Object.keys(RoomInfo); // ["ENJI","PINK","MINT"]
|
||||||
const startHour = 7; // 開店時間
|
const startHour = 7; // 開店時間
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
import Carousel from "@/components/ui/Carousel";
|
import Carousel from "@/components/ui/Carousel";
|
||||||
import { getAllSchedules } from "@/lib/directus/schedule";
|
import { getAllSchedules } from "@/lib/directus/schedule";
|
||||||
import type { ScheduleItem } 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;
|
export const revalidate = 3600;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user