diff --git a/CEUS/src/app/publications/page.tsx b/CEUS/src/app/publications/page.tsx index 404c26d..24b204a 100644 --- a/CEUS/src/app/publications/page.tsx +++ b/CEUS/src/app/publications/page.tsx @@ -4,116 +4,218 @@ import { Metadata } from 'next'; export const metadata: Metadata = { title: 'Publications', - description: 'Access the CEUS Student and Career Handbooks - essential guides for Chemical Engineering students at UNSW.', + description: + 'Read the CEUS Student Handbook and Careers Handbook: student-written guides to studying Chemical Engineering at UNSW.', }; +type Publication = { + title: string; + year: string; + description: string; + localPath: string; + driveUrl: string; + fileSizeLabel: string; +}; + +const PUBLICATIONS: Publication[] = [ + { + title: 'Student Handbook', + year: '2026', + description: + 'Written by CEUS students for CEUS students. Course sequencing notes, elective tips, study advice, and the things we wish someone had told us in first year.', + localPath: '/Student Handbook 2026.pdf', + driveUrl: + 'https://drive.google.com/file/d/1hL5kVOKKlCutbcbejMFE8ao5ylMuqWqj/view?usp=sharing', + fileSizeLabel: 'PDF, 24 MB', + }, + { + title: 'Careers Handbook', + year: '2023', + description: + 'A walk-through of life after the degree: industries our alumni have moved into, internship timelines, resume and interview notes, and questions worth asking at networking nights.', + localPath: '/Careers Handbook 2023.pdf', + driveUrl: + 'https://drive.google.com/file/d/1aD-fqH9IADhLh9yeuZzlnBpjwmNS0Scs/view?usp=sharing', + fileSizeLabel: 'PDF, 32 MB', + }, +]; + +function PdfIcon({ className = 'h-4 w-4' }: { className?: string }) { + return ( + + ); +} + +function ExternalLinkIcon({ className = 'h-4 w-4' }: { className?: string }) { + return ( + + ); +} + +function PublicationCard({ publication }: { publication: Publication }) { + const { title, year, description, localPath, driveUrl, fileSizeLabel } = + publication; + const fullTitle = `${title} ${year}`; + + return ( +
+
+
+ + {fileSizeLabel} +
+

+ {fullTitle} +

+

{description}

+
+ + + Open PDF + + + + View on Google Drive + +
+
+ +
+
+ + + +
+
+
+ ); +} + export default function PublicationsPage() { + const publications = PUBLICATIONS; + return ( -
-
-

+
+
+

Publications

-

- Dive into the CEUS Student and Career Handbooks—a must for all - chemical engineering students! Packed with helpful tips, - practical insights, and tons of valuable info, these will - guide you throughout your academic and postgrad careers. +

+ Two student-written handbooks that cover what coursework alone + doesn't: how to plan your degree, where Chemical Engineering + graduates end up, and how CEUS members have made the jump from + lectures to industry.

-
- {/* Student Handbook */} -
-

Student Handbook

-
- + {publications.length === 0 ? ( + -
- - - + ) : ( +
+ {publications.map((pub) => ( + + ))}
-
+ )} +
- {/* Careers Handbook */} -
-

Careers Handbook

- -
- - - +
+
+

A note from the editors

+
+

+ These handbooks are written by CEUS members from their own + experience. We check the material before publishing, but parts of + it are opinion, and information sourced from public websites can + change without notice. Term offerings and prerequisites in + particular shift between years. +

+

+ The Chemical Engineering Undergraduate Society of UNSW + isn't responsible for decisions made on the basis of the + handbooks. Before locking in a degree plan, please confirm course + availability and prerequisites on the official UNSW Handbook. +

- -
-

Disclaimer

-
-

- Please note, whilst all due care has been taken in collecting this information and - ensuring that the material is correct at the time of publishing, it is still based primarily - on collective experiences and may be biased. Information obtained from public - websites may change without notice. Course structures for future terms may change - due to COVID or curriculum edits. - The Chemical Engineering Undergraduate Society of UNSW takes no responsibility for - any errors and any such reliance upon them. - We suggest students planning their degree double check term availabilities and - prerequisites on the UNSW website. -

-
-
); }