Skip to content

Commit ecf4cff

Browse files
implement sports category page and badminton court slots topic pages
1 parent 66ada3c commit ecf4cff

20 files changed

Lines changed: 630 additions & 12 deletions

File tree

app/categories/dining/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { DINING_NOTIFICATION_SETTINGS } from "@/lib/content";
1010

1111
const title = "Dining in Singapore";
1212
const description =
13-
"Subscribe to get notified to topics related to dining in Singapore such as table reservation slots.";
13+
"Subscribe to get notified on topics related to dining in Singapore such as table reservation slots.";
1414
const url = Routes.DiningCategory;
1515

1616
export const metadata: Metadata = {

app/categories/driving/bukit-batok-driving-centre/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { BBDC_TELEGRAM_CHANNELS } from "@/lib/content";
1010

1111
const title = "Bukit Batok Driving Centre";
1212
const description =
13-
"Subscribe to get notified to topics related to Bukit Batok Driving Centre such as appointment slots and announcements.";
13+
"Subscribe to get notified on topics related to Bukit Batok Driving Centre such as appointment slots and announcements.";
1414
const url = Routes.BukitBatokDrivingCentre;
1515

1616
export const metadata: Metadata = {

app/categories/driving/comfortdelgro-driving-centre/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { CDC_TELEGRAM_CHANNELS } from "@/lib/content";
1010

1111
const title = "ComfortDelGro Driving Centre";
1212
const description =
13-
"Subscribe to get notified to topics related to ComfortDelGro Driving Centre such as practical lessons, appointment slots and more.";
13+
"Subscribe to get notified on topics related to ComfortDelGro Driving Centre such as practical lessons, appointment slots and more.";
1414
const url = Routes.ComfortDelGroDrivingCentre;
1515

1616
export const metadata: Metadata = {

app/categories/driving/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323

2424
const title = "Driving in Singapore";
2525
const description =
26-
"Subscribe to get notified to topics related to driving in Singapore such as appointment slots, practical lessons and more.";
26+
"Subscribe to get notified on topics related to driving in Singapore such as appointment slots, practical lessons and more.";
2727
const url = Routes.DrivingCategory;
2828

2929
export const metadata: Metadata = {

app/categories/driving/singapore-safety-driving-centre/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515

1616
const title = "Singapore Safety Driving Centre";
1717
const description =
18-
"Subscribe to get notified to topics related to Singapore Safety Driving Centre such as practical tests and announcements.";
18+
"Subscribe to get notified on topics related to Singapore Safety Driving Centre such as practical tests and announcements.";
1919
const url = Routes.SingaporeSafetyDrivingCentre;
2020

2121
export const metadata: Metadata = {

app/categories/entertainment/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { ENTERTAINMENT_NOTIFICATION_SETTINGS } from "@/lib/content";
1010

1111
const title = "Entertainment in Singapore";
1212
const description =
13-
"Subscribe to get notified to topics related to entertainment in Singapore such as new movie releases.";
13+
"Subscribe to get notified on topics related to entertainment in Singapore such as new movie releases.";
1414
const url = Routes.EntertainmentCategory;
1515

1616
export const metadata: Metadata = {

app/categories/events/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { EVENTS_NOTIFICATION_SETTINGS } from "@/lib/content";
1010

1111
const title = "Events in Singapore";
1212
const description =
13-
"Subscribe to get notified to topics related to events in Singapore such as community blood donation drives.";
13+
"Subscribe to get notified on topics related to events in Singapore such as community blood donation drives.";
1414
const url = Routes.EventsCategory;
1515

1616
export const metadata: Metadata = {

app/categories/japan-visa/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515

1616
const title = "Apply for Japan Visa in Singapore";
1717
const description =
18-
"Subscribe to get notified to topics related to visa applications at the Embassy of Japan in Singapore.";
18+
"Subscribe to get notified on topics related to visa applications at the Embassy of Japan in Singapore.";
1919
const url = Routes.JapanVisaCategory;
2020

2121
export const metadata: Metadata = {

app/categories/money/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { MONEY_TELEGRAM_CHANNELS } from "@/lib/content";
1010

1111
const title = "Money in Singapore";
1212
const description =
13-
"Subscribe to get notified to topics related to money in Singapore such as fixed deposit rates and TOTO snowballs.";
13+
"Subscribe to get notified on topics related to money in Singapore such as fixed deposit rates and TOTO snowballs.";
1414
const url = Routes.MoneyCategory;
1515

1616
export const metadata: Metadata = {

app/categories/sports/page.tsx

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
import { Metadata } from "next";
2+
import React from "react";
3+
import { Container } from "@/components/ui/container";
4+
import Heading from "@/components/ui/heading";
5+
import Subheading from "@/components/ui/subheading";
6+
import TelegramChannels from "@/components/telegram-channels";
7+
import { Routes } from "@/lib/enums";
8+
import { META_OPEN_GRAPH, META_TWITTER } from "@/app/shared-metadata";
9+
import { SPORTS_TELEGRAM_CHANNELS } from "@/lib/content";
10+
11+
const title = "Sports in Singapore";
12+
const description =
13+
"Subscribe to get notified on topics related to sports in Singapore such as badminton court bookings.";
14+
const url = Routes.SportsCategory;
15+
16+
export const metadata: Metadata = {
17+
title,
18+
description,
19+
alternates: {
20+
canonical: url,
21+
},
22+
openGraph: {
23+
...META_OPEN_GRAPH,
24+
title,
25+
description,
26+
url,
27+
},
28+
twitter: {
29+
...META_TWITTER,
30+
title,
31+
description,
32+
},
33+
};
34+
35+
export default function Sports() {
36+
return (
37+
<>
38+
<Container>
39+
<div className="mb-6 space-y-2">
40+
<Heading>{title}</Heading>
41+
<Subheading>{description}</Subheading>
42+
</div>
43+
<TelegramChannels
44+
channels={SPORTS_TELEGRAM_CHANNELS}
45+
backButtonRoute={Routes.Home}
46+
/>
47+
</Container>
48+
</>
49+
);
50+
}

0 commit comments

Comments
 (0)