File tree Expand file tree Collapse file tree 14 files changed +97
-32
lines changed Expand file tree Collapse file tree 14 files changed +97
-32
lines changed Original file line number Diff line number Diff line change 1
1
import Footer from '@/components/Footer' ;
2
2
import Navbar from '@/components/Navbar' ;
3
+ import TabTitle from 'next/head' ;
3
4
4
5
export default function Custom404 ( ) {
5
6
return (
6
- < section className = "flex flex-col min-h-screen justify-between py-8 xl:px-24 md:px-10 px-5 relative" >
7
- < div className = "items-center text-center" >
8
- < Navbar />
9
- < h1 className = "text-5xl font-bold pt-24" > 404 - Page Not Found</ h1 >
10
- < p className = "text-4xl pt-10" >
11
- Sorry! We can't find the page you're looking for!
12
- < br />
13
- </ p >
14
- < div className = "opacity-0 transition-opacity duration-200 hover:opacity-100" >
15
- < p className = "text-2xl pt-10" > Oops! This page must have been garbage collected.</ p >
7
+ < >
8
+ < TabTitle >
9
+ < title > 404</ title >
10
+ </ TabTitle >
11
+
12
+ < section className = "flex flex-col min-h-screen justify-between py-8 xl:px-24 md:px-10 px-5 relative" >
13
+ < div className = "items-center text-center" >
14
+ < Navbar />
15
+ < h1 className = "text-5xl font-bold pt-24" > 404 - Page Not Found</ h1 >
16
+ < p className = "text-4xl pt-10" >
17
+ Sorry! We can't find the page you're looking for!
18
+ < br />
19
+ </ p >
20
+ < div className = "opacity-0 transition-opacity duration-200 hover:opacity-100" >
21
+ < p className = "text-2xl pt-10" > Oops! This page must have been garbage collected.</ p >
22
+ </ div >
23
+ < a href = "/" >
24
+ < button className = "mt-10 bg-white border text-[#3977F8] border-[#A7A6E5] text-lg rounded-xl w-[30%] xl:h-12 h-10 transition-all duration-200 hover:bg-[#F3F4F6] hover:text-[#1A202C]" >
25
+ Back to safety
26
+ </ button >
27
+ </ a >
16
28
</ div >
17
- < a href = "/" >
18
- < button className = "mt-10 bg-white border text-[#3977F8] border-[#A7A6E5] text-lg rounded-xl w-[30%] xl:h-12 h-10 transition-all duration-200 hover:bg-[#F3F4F6] hover:text-[#1A202C]" >
19
- Back to safety
20
- </ button >
21
- </ a >
22
- </ div >
23
29
24
- < Footer />
25
- </ section >
30
+ < Footer />
31
+ </ section >
32
+ </ >
33
+
26
34
) ;
27
35
}
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ export default function Document() {
4
4
return (
5
5
< Html lang = "en" >
6
6
< Head >
7
+ < link rel = "icon" href = "/csesoc-favicon.ico" />
7
8
< link rel = "preconnect" href = "https://fonts.googleapis.com" />
8
9
< link rel = "preconnect" href = "https://fonts.gstatic.com" />
9
10
< link
Original file line number Diff line number Diff line change 1
1
import Layout from "@/components/Layout" ;
2
2
import PageBody from "@/components/PageBody" ;
3
3
import PageTitle from "@/components/PageTitle" ;
4
+ import TabTitle from 'next/head'
4
5
5
6
const ConstitutionPage = ( ) => {
6
7
return (
7
8
< Layout >
9
+ < TabTitle >
10
+ < title > Constitution | CseSoc UNSW</ title >
11
+ </ TabTitle >
8
12
< PageTitle title = "CONSTITUTION" />
9
13
< PageBody >
10
14
< div >
@@ -52,4 +56,4 @@ const ConstitutionPage = () => {
52
56
) ;
53
57
}
54
58
55
- export default ConstitutionPage ;
59
+ export default ConstitutionPage ;
Original file line number Diff line number Diff line change 1
1
import Layout from "@/components/Layout" ;
2
2
import PageBody from "@/components/PageBody" ;
3
3
import PageTitle from "@/components/PageTitle" ;
4
+ import TabTitle from 'next/head'
4
5
5
6
const ElectionGuidePage = ( ) => {
6
7
return (
7
8
< Layout >
9
+ < TabTitle >
10
+ < title > Constitution | CseSoc UNSW</ title >
11
+ </ TabTitle >
8
12
< PageTitle title = "ELECTION GUIDE" />
9
13
< PageBody >
10
14
< div >
@@ -114,4 +118,4 @@ const ElectionGuidePage = () => {
114
118
) ;
115
119
} ;
116
120
117
- export default ElectionGuidePage ;
121
+ export default ElectionGuidePage ;
Original file line number Diff line number Diff line change @@ -3,10 +3,14 @@ import Layout from "@/components/Layout";
3
3
import PageBody from "@/components/PageBody" ;
4
4
import PageTitle from "@/components/PageTitle" ;
5
5
import { EXECS } from "@/../public/data/execs" ;
6
+ import TabTitle from 'next/head'
6
7
7
8
const ExecsDirectorsSubcommitteesPage = ( ) => {
8
9
return (
9
10
< Layout >
11
+ < TabTitle >
12
+ < title > Execs, Directors, Subcom | CseSoc UNSW</ title >
13
+ </ TabTitle >
10
14
< PageTitle title = "EXECS, DIRECTORS & SUBCOMMITTEES" />
11
15
< PageBody >
12
16
{ /* CSESOC TEAM */ }
Original file line number Diff line number Diff line change 1
1
import Layout from "@/components/Layout" ;
2
2
import PageBody from "@/components/PageBody" ;
3
3
import PageTitle from "@/components/PageTitle" ;
4
+ import TabTitle from 'next/head'
4
5
5
6
const FaqsPage = ( ) => {
6
7
return (
7
8
< Layout >
9
+ < TabTitle >
10
+ < title > FAQs | CseSoc UNSW</ title >
11
+ </ TabTitle >
8
12
< PageTitle title = "FREQUENTLY ASKED QUESTIONS" />
9
13
< PageBody >
10
14
< div >
@@ -54,4 +58,4 @@ const FaqsPage = () => {
54
58
) ;
55
59
} ;
56
60
57
- export default FaqsPage ;
61
+ export default FaqsPage ;
Original file line number Diff line number Diff line change @@ -2,10 +2,15 @@ import Layout from "@/components/Layout";
2
2
import PageTitle from "@/components/PageTitle" ;
3
3
import Image from 'next/image' ;
4
4
import Link from 'next/link' ;
5
+ import TabTitle from 'next/head' ;
5
6
6
7
export default function AboutPage ( ) {
7
8
return (
8
9
< Layout >
10
+ < TabTitle >
11
+ < title > About Us | CseSoc UNSW</ title >
12
+ </ TabTitle >
13
+
9
14
< PageTitle title = "ABOUT US" />
10
15
< section className = "py-8 xl:px-24 sm:px-10 px-5" >
11
16
< div className = "flex justify-center items-center" >
Original file line number Diff line number Diff line change 1
1
import Layout from "@/components/Layout" ;
2
2
import PageBody from "@/components/PageBody" ;
3
3
import PageTitle from "@/components/PageTitle" ;
4
+ import TabTitle from 'next/head'
4
5
import { useState } from "react" ;
5
6
6
7
const MIN_YEAR = 2007 ;
@@ -13,6 +14,10 @@ const OurHistoryPage = () => {
13
14
14
15
return (
15
16
< Layout >
17
+ < TabTitle >
18
+ < title > Our History | CseSoc UNSW</ title >
19
+ </ TabTitle >
20
+
16
21
< PageTitle title = "OUR HISTORY" />
17
22
< PageBody >
18
23
< div >
Original file line number Diff line number Diff line change @@ -2,10 +2,15 @@ import Contacts from '@/components/Contacts';
2
2
import Layout from '@/components/Layout' ;
3
3
import PageBody from '@/components/PageBody' ;
4
4
import PageTitle from '@/components/PageTitle' ;
5
+ import TabTitle from 'next/head' ;
5
6
6
7
export default function ContactUsPage ( ) {
7
8
return (
8
9
< Layout >
10
+ < TabTitle >
11
+ < title > Contact Us | CseSoc UNSW</ title >
12
+ </ TabTitle >
13
+
9
14
< PageTitle title = "CONTACT US" />
10
15
11
16
< PageBody >
You can’t perform that action at this time.
0 commit comments