Skip to content

Commit 637232e

Browse files
author
Dylan Zhang
committed
added tab titles to subpages of about page
1 parent a7c9e8c commit 637232e

File tree

6 files changed

+24
-4
lines changed

6 files changed

+24
-4
lines changed

frontend/src/pages/about/constitution.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
import Layout from "@/components/Layout";
22
import PageBody from "@/components/PageBody";
33
import PageTitle from "@/components/PageTitle";
4+
import TabTitle from 'next/head'
45

56
const ConstitutionPage = () => {
67
return (
78
<Layout>
9+
<TabTitle>
10+
<title>Constitution | CseSoc UNSW</title>
11+
</TabTitle>
812
<PageTitle title="CONSTITUTION" />
913
<PageBody>
1014
<div>
@@ -52,4 +56,4 @@ const ConstitutionPage = () => {
5256
);
5357
}
5458

55-
export default ConstitutionPage;
59+
export default ConstitutionPage;

frontend/src/pages/about/election-guide.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
import Layout from "@/components/Layout";
22
import PageBody from "@/components/PageBody";
33
import PageTitle from "@/components/PageTitle";
4+
import TabTitle from 'next/head'
45

56
const ElectionGuidePage = () => {
67
return (
78
<Layout>
9+
<TabTitle>
10+
<title>Constitution | CseSoc UNSW</title>
11+
</TabTitle>
812
<PageTitle title="ELECTION GUIDE" />
913
<PageBody>
1014
<div>
@@ -114,4 +118,4 @@ const ElectionGuidePage = () => {
114118
);
115119
};
116120

117-
export default ElectionGuidePage;
121+
export default ElectionGuidePage;

frontend/src/pages/about/execs-directors-subcoms.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ import Layout from "@/components/Layout";
33
import PageBody from "@/components/PageBody";
44
import PageTitle from "@/components/PageTitle";
55
import { EXECS } from "@/../public/data/execs";
6+
import TabTitle from 'next/head'
67

78
const ExecsDirectorsSubcommitteesPage = () => {
89
return (
910
<Layout>
11+
<TabTitle>
12+
<title>Execs, Directors, Subcom | CseSoc UNSW</title>
13+
</TabTitle>
1014
<PageTitle title="EXECS, DIRECTORS & SUBCOMMITTEES" />
1115
<PageBody>
1216
{/* CSESOC TEAM */}

frontend/src/pages/about/faqs.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
import Layout from "@/components/Layout";
22
import PageBody from "@/components/PageBody";
33
import PageTitle from "@/components/PageTitle";
4+
import TabTitle from 'next/head'
45

56
const FaqsPage = () => {
67
return (
78
<Layout>
9+
<TabTitle>
10+
<title>FAQs | CseSoc UNSW</title>
11+
</TabTitle>
812
<PageTitle title="FREQUENTLY ASKED QUESTIONS" />
913
<PageBody>
1014
<div>
@@ -54,4 +58,4 @@ const FaqsPage = () => {
5458
);
5559
};
5660

57-
export default FaqsPage;
61+
export default FaqsPage;

frontend/src/pages/about/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import TabTitle from 'next/head';
77
export default function AboutPage() {
88
return (
99
<Layout>
10-
1110
<TabTitle>
1211
<title>About Us | CseSoc UNSW</title>
1312
</TabTitle>

frontend/src/pages/about/our-history.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import Layout from "@/components/Layout";
22
import PageBody from "@/components/PageBody";
33
import PageTitle from "@/components/PageTitle";
4+
import TabTitle from 'next/head'
45
import { useState } from "react";
56

67
const MIN_YEAR = 2007;
@@ -13,6 +14,10 @@ const OurHistoryPage = () => {
1314

1415
return (
1516
<Layout>
17+
<TabTitle>
18+
<title>Our History | CseSoc UNSW</title>
19+
</TabTitle>
20+
1621
<PageTitle title="OUR HISTORY" />
1722
<PageBody>
1823
<div>

0 commit comments

Comments
 (0)