+ );
+}
diff --git a/src/pages/home/announcements.json b/src/pages/home/announcements.json
new file mode 100644
index 0000000..27c0abd
--- /dev/null
+++ b/src/pages/home/announcements.json
@@ -0,0 +1,26 @@
+[
+ {
+ "title": "Freshman Social Camp (FSC)",
+ "desc": "FSC is crafted to kickstart your university journey with enduring friendships and unforgettable experiences. Engage in a variety of physical and intellectual games, participate in team bonding exercises, and compete for exciting team and individual prizes. You will also have the opportunity to attend the beach finale event Bash together with your new friends, solidifying your friendships.",
+ "date": "19th June - 22nd June 2024",
+ "imgSrc": "announcements/fsc.jpg"
+ },
+ {
+ "title": "Freshman Orientation Week (FOW)",
+ "desc": "FOW is a 4-day physical orientation camp where seniors help freshmen adapt to different aspects of university life through preparatory talks and team-building activities. Forge lasting friendships as you navigate campus resources and academic challenges together. Look forward to strategic team games that develop you both intellectually and physically.",
+ "date": "24th July - 22nd July 2024",
+ "imgSrc": "announcements/fow.jpg"
+ },
+ {
+ "title": "Freshman Finale Camp (FFC)",
+ "desc": "FFC is a 3-day physical summer camp, perfectly tailored for international students gearing up for matriculation closer to August. The camp offers an array of theme-based activities such as flag-building and exhilarating house face-offs. Engage in friendly competition alongside your housemates, strategizing to earn glory for your elemental faction in a series of thrilling challenges. End the camp on a high note with its campfire and barbecue finale under the stars.",
+ "date": "5th August - 7th August 2024",
+ "imgSrc": "announcements/ffc.jpg"
+ },
+ {
+ "title": "Computing Bash",
+ "desc": "FFC is a 3-day physical summer camp, perfectly tailored for international students gearing up for matriculation closer to August. The camp offers an array of theme-based activities such as flag-building and exhilarating house face-offs. Engage in friendly competition alongside your housemates, strategizing to earn glory for your elemental faction in a series of thrilling challenges. End the camp on a high note with its campfire and barbecue finale under the stars.",
+ "date": "16th August 2024",
+ "imgSrc": "announcements/bash.jpg"
+ }
+]
\ No newline at end of file
diff --git a/src/pages/home/index.css b/src/pages/home/index.css
index 8224c5d..206ae33 100644
--- a/src/pages/home/index.css
+++ b/src/pages/home/index.css
@@ -14,6 +14,57 @@ section {
;
}
+.latest-announcements {
+ @apply
+ flex
+ flex-col
+ h-[80vh]
+}
+
+.section-header {
+ @apply
+ flex
+ flex-col
+ w-full
+ items-center
+ justify-center
+ h-[20vh]
+ px-4
+ ;
+}
+
+.section-header>h3 {
+ @apply
+ text-xl
+ font-heading
+ text-white
+ ;
+}
+
+.section-header>h1 {
+ @apply
+ text-4xl
+ md:text-5xl
+ lg:text-6xl
+ text-white
+ font-heading
+ pb-4
+ text-center
+ ;
+}
+
+.carousel-container {
+ @apply
+ h-[60vh]
+ pt-6
+ px-0
+ md:px-6
+ lg:px-20
+ overflow-hidden
+ ;
+}
+
+
.section-description {
@apply
w-96
diff --git a/src/pages/home/index.tsx b/src/pages/home/index.tsx
index 3e9fec5..715c956 100644
--- a/src/pages/home/index.tsx
+++ b/src/pages/home/index.tsx
@@ -1,6 +1,7 @@
import React from 'react';
import { Link } from 'react-router-dom';
import './index.css';
+import Carousel from './Carousel';
function Home() {
return (
@@ -19,6 +20,16 @@ function Home() {
+ {/* latest announcements */}
+