|
1 | | -importNavbarfrom"@/components/Navbar"; |
2 | | -importFooterfrom"@/components/Footer"; |
| 1 | +importLayoutfrom"@/components/Layout"; |
| 2 | +importPageBodyfrom"@/components/PageBody"; |
| 3 | +importPageTitlefrom"@/components/PageTitle"; |
3 | 4 |
|
4 | | -constOurHistory=()=>{ |
| 5 | +constOurHistoryPage=()=>{ |
5 | 6 | // Years from 2020 to 2007 |
6 | 7 | constyears:number[]=Array.from({length:14},(_,i)=>2020-i); |
7 | 8 |
|
8 | 9 | return( |
9 | | -<sectionclassName="flex flex-col min-h-screen justify-between py-8 xl:px-24 md:px-10 px-5 relative overflow-hidden"> |
10 | | -<Navbar/> |
11 | | -<sectionclassName="py-8 xl:px-24 sm:px-10 px-5"id="our-history"> |
12 | | -<divclassName="text-center my-10"> |
13 | | -<h1className="font-bold text-6xl">OUR HISTORY</h1> |
14 | | -</div> |
15 | | - |
| 10 | +<Layout> |
| 11 | +<PageTitletitle="OUR HISTORY"/> |
| 12 | +<PageBody> |
16 | 13 | <div> |
17 | 14 | <pclassName="text-xl my-5"> |
18 | 15 | CSESoc was formed in October 2006 from the old CompSoc and SESoc societies. |
@@ -50,10 +47,9 @@ const OurHistory = () => { |
50 | 47 | </div> |
51 | 48 | </div> |
52 | 49 | ))} |
53 | | -</section> |
54 | | -<Footer/> |
55 | | -</section> |
56 | | -) |
| 50 | +</PageBody> |
| 51 | +</Layout> |
| 52 | +); |
57 | 53 | } |
58 | 54 |
|
59 | | -exportdefaultOurHistory; |
| 55 | +exportdefaultOurHistoryPage; |