From 346df14a25869c098536a9c0cb4eb0156d4638a0 Mon Sep 17 00:00:00 2001 From: Tony Grosinger Date: Sun, 21 Apr 2024 08:29:52 -0700 Subject: [PATCH] Fix page titles They have West Sound Hall added to the end already. --- src/app/calendar/page.tsx | 7 +++++++ src/app/club/page.tsx | 2 +- src/app/hall-history/page.tsx | 2 +- src/app/rental/page.tsx | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/app/calendar/page.tsx b/src/app/calendar/page.tsx index 9030f10..90a24f6 100644 --- a/src/app/calendar/page.tsx +++ b/src/app/calendar/page.tsx @@ -3,6 +3,7 @@ import dayjs from "dayjs"; import React from 'react'; import { CalendarComponent } from "./calendar"; import { Container } from "@/components/Container"; +import { Metadata } from "next"; const icalAddr = process.env.CALENDAR_ADDR || ''; @@ -103,6 +104,12 @@ async function loadCalendar(): Promise { upcomingEvents = upcoming; } +export const metadata: Metadata = { + title: 'Events Calendar', + description: + 'Upcoming events and rentals ast the West Sound Hall.', +} + export default async function Calendar() { const calendar = await getCalendar(); diff --git a/src/app/club/page.tsx b/src/app/club/page.tsx index 74073b8..9275ceb 100644 --- a/src/app/club/page.tsx +++ b/src/app/club/page.tsx @@ -34,7 +34,7 @@ function SocialLink({ } export const metadata: Metadata = { - title: 'West Sound Community Club', + title: 'Community Club', description: 'The West Sound Community Club on Orcas Island.', } diff --git a/src/app/hall-history/page.tsx b/src/app/hall-history/page.tsx index 37898fd..46f48c9 100644 --- a/src/app/hall-history/page.tsx +++ b/src/app/hall-history/page.tsx @@ -79,7 +79,7 @@ function DateListItem({ } export const metadata: Metadata = { - title: 'West Sound Hall History', + title: 'Hall History', description: 'The history of the West Sound Community Hall on Orcas Island.', } diff --git a/src/app/rental/page.tsx b/src/app/rental/page.tsx index 039518c..6801b9a 100644 --- a/src/app/rental/page.tsx +++ b/src/app/rental/page.tsx @@ -34,7 +34,7 @@ function SocialLink({ } export const metadata: Metadata = { - title: 'West Sound Hall Rental', + title: 'Hall Rental', description: 'Rental information for the West Sound Hall.', }