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 11import Footer from '@/components/Footer' ;
22import Navbar from '@/components/Navbar' ;
3+ import TabTitle from 'next/head' ;
34
45export default function Custom404 ( ) {
56 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 >
1628 </ 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 >
2329
24- < Footer />
25- </ section >
30+ < Footer />
31+ </ section >
32+ </ >
33+
2634 ) ;
2735}
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ export default function Document() {
44 return (
55 < Html lang = "en" >
66 < Head >
7+ < link rel = "icon" href = "/csesoc-favicon.ico" />
78 < link rel = "preconnect" href = "https://fonts.googleapis.com" />
89 < link rel = "preconnect" href = "https://fonts.gstatic.com" />
910 < link
Original file line number Diff line number Diff line change 11import Layout from "@/components/Layout" ;
22import PageBody from "@/components/PageBody" ;
33import PageTitle from "@/components/PageTitle" ;
4+ import TabTitle from 'next/head'
45
56const 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 ;
Original file line number Diff line number Diff line change 11import Layout from "@/components/Layout" ;
22import PageBody from "@/components/PageBody" ;
33import PageTitle from "@/components/PageTitle" ;
4+ import TabTitle from 'next/head'
45
56const 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 ;
Original file line number Diff line number Diff line change @@ -3,10 +3,14 @@ import Layout from "@/components/Layout";
33import PageBody from "@/components/PageBody" ;
44import PageTitle from "@/components/PageTitle" ;
55import { EXECS } from "@/../public/data/execs" ;
6+ import TabTitle from 'next/head'
67
78const 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 */ }
Original file line number Diff line number Diff line change 11import Layout from "@/components/Layout" ;
22import PageBody from "@/components/PageBody" ;
33import PageTitle from "@/components/PageTitle" ;
4+ import TabTitle from 'next/head'
45
56const 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 ;
Original file line number Diff line number Diff line change @@ -2,10 +2,15 @@ import Layout from "@/components/Layout";
22import PageTitle from "@/components/PageTitle" ;
33import Image from 'next/image' ;
44import Link from 'next/link' ;
5+ import TabTitle from 'next/head' ;
56
67export default function AboutPage ( ) {
78 return (
89 < Layout >
10+ < TabTitle >
11+ < title > About Us | CseSoc UNSW</ title >
12+ </ TabTitle >
13+
914 < PageTitle title = "ABOUT US" />
1015 < section className = "py-8 xl:px-24 sm:px-10 px-5" >
1116 < div className = "flex justify-center items-center" >
Original file line number Diff line number Diff line change 11import Layout from "@/components/Layout" ;
22import PageBody from "@/components/PageBody" ;
33import PageTitle from "@/components/PageTitle" ;
4+ import TabTitle from 'next/head'
45import { useState } from "react" ;
56
67const 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 >
Original file line number Diff line number Diff line change @@ -2,10 +2,15 @@ import Contacts from '@/components/Contacts';
22import Layout from '@/components/Layout' ;
33import PageBody from '@/components/PageBody' ;
44import PageTitle from '@/components/PageTitle' ;
5+ import TabTitle from 'next/head' ;
56
67export default function ContactUsPage ( ) {
78 return (
89 < Layout >
10+ < TabTitle >
11+ < title > Contact Us | CseSoc UNSW</ title >
12+ </ TabTitle >
13+
914 < PageTitle title = "CONTACT US" />
1015
1116 < PageBody >
You can’t perform that action at this time.
0 commit comments