Fix page titles
They have West Sound Hall added to the end already.
This commit is contained in:
parent
b88febfc64
commit
346df14a25
@ -3,6 +3,7 @@ import dayjs from "dayjs";
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { CalendarComponent } from "./calendar";
|
import { CalendarComponent } from "./calendar";
|
||||||
import { Container } from "@/components/Container";
|
import { Container } from "@/components/Container";
|
||||||
|
import { Metadata } from "next";
|
||||||
|
|
||||||
const icalAddr = process.env.CALENDAR_ADDR || '';
|
const icalAddr = process.env.CALENDAR_ADDR || '';
|
||||||
|
|
||||||
@ -103,6 +104,12 @@ async function loadCalendar(): Promise<void> {
|
|||||||
upcomingEvents = upcoming;
|
upcomingEvents = upcoming;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const metadata: Metadata = {
|
||||||
|
title: 'Events Calendar',
|
||||||
|
description:
|
||||||
|
'Upcoming events and rentals ast the West Sound Hall.',
|
||||||
|
}
|
||||||
|
|
||||||
export default async function Calendar() {
|
export default async function Calendar() {
|
||||||
const calendar = await getCalendar();
|
const calendar = await getCalendar();
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ function SocialLink({
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: 'West Sound Community Club',
|
title: 'Community Club',
|
||||||
description:
|
description:
|
||||||
'The West Sound Community Club on Orcas Island.',
|
'The West Sound Community Club on Orcas Island.',
|
||||||
}
|
}
|
||||||
|
@ -79,7 +79,7 @@ function DateListItem({
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: 'West Sound Hall History',
|
title: 'Hall History',
|
||||||
description:
|
description:
|
||||||
'The history of the West Sound Community Hall on Orcas Island.',
|
'The history of the West Sound Community Hall on Orcas Island.',
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@ function SocialLink({
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: 'West Sound Hall Rental',
|
title: 'Hall Rental',
|
||||||
description:
|
description:
|
||||||
'Rental information for the West Sound Hall.',
|
'Rental information for the West Sound Hall.',
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user