Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 43 additions & 22 deletions components/OurStoryTimeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function OppositeContentTimeline() {
<Timeline
id={styles.timelineStyle}
page={'ourStory'}
step={35.7}
step={31.2375}
valueToYear={valueToYear}
marks={marks}
updateYear={handleYear}
Expand Down Expand Up @@ -87,53 +87,74 @@ export default function OppositeContentTimeline() {
) : year === '2023' ? (
<ul>
<li>
Awarded ARC On Campus Activity of the Year, for our
&apos;Plant Your Creativity&apos; social event
Awarded ARC On Campus Activity of the Year, for our &apos;Plant
Your Creativity&apos; social event
</li>
<li>
Improved automation of internal systems, such as our website updates
Improved automation of internal systems, such as our website
updates
</li>
<li>Had the largest subcommittee team in WIT&apos;s history</li>
<li>Continuation of our flagship initiatives</li>
<li>
Had the largest subcommittee team in WIT&apos;s history
Record breaking number of attendees at our Annual Networking
Night
</li>
<li>
Continuation of our flagship initiatives
Focused on quality over quantity for events, hosting a total of
18 in-person at a variety of venues, including sponsor offices,
university campus and private venues
</li>
<li>
Record breaking number of attendees at our Annual Networking Night
Increased our Instagram base by 45%, achieving a near 1K
audience, our LinkedIn followers by 23% to 1664, and achieved a
milestone of over 3600 followers on Facebook
</li>
</ul>
) : year === '2024' ? (
<ul>
<li>
Focused on quality over quantity for events, hosting a total of
18 in-person at a variety of venues, including sponsor offices,
university campus and private venues
Expanded to 95 internal team members, a 30% increase from 2023
</li>
<li>
Gained the support of 26 sponsors, including 3 affiliations and
8 partnerships
</li>
<li>
Enhanced and continued 3 flagship events and 6 new workshops
from the Education Portfolio
</li>
<li>
Released 33 publications, including 3 flagship publications,
fortnightly WCWs, and new IT publications
</li>
<li>Produced 21 videos, built on short-form content on TikTok</li>
<li>
Increased our Instagram base by 45%, achieving a near 1K audience,
our LinkedIn followers by 23% to 1664, and achieved a milestone
of over 3600 followers on Facebook
Delivered 3 IT projects, expanding on last year’s initiatives
such as the Empowerment Program website and Discord Bot
</li>
</ul>
) : (
<ul>
<li>
WIT introduced 5 new portfolios - Media, Publications,
Careers, Socials and Competitions.
WIT introduced 5 new portfolios - Media, Publications, Careers,
Socials and Competitions.
</li>
<li>
Our student base grew to 3000+ students by the end of 2021.
Our student base grew to 3000+ students by the end of 2021.
</li>
<li>Our sponsorship base more than doubled to 23 sponsors.</li>
<li>
Hosted 39 events, reaching 17.3k people and achieving
a 60% increase since 2020.
Hosted 39 events, reaching 17.3k people and achieving a 60%
increase since 2020.
</li>
<li>
Produced 39 publications including podcasts, WCW, flagship
publications which have amassed over 4340 views/ read/ listens.
Produced 39 publications including podcasts, WCW, flagship
publications which have amassed over 4340 views/ read/ listens.
</li>
<li>
Published Careers guide which reached 1050+ reads,
1100+ impressions and was read in 10 different countries.
Published Careers guide which reached 1050+ reads, 1100+
impressions and was read in 10 different countries.
</li>
</ul>
)}
Expand Down
65 changes: 18 additions & 47 deletions data/story.ts
Original file line number Diff line number Diff line change
@@ -1,56 +1,26 @@
// position of the marks on the timeline (i.e. 250 indicates that it's on the right end)
const marks = [
{
value: 249.9,
scaledValue: 2023,
label: '2023',
},
{
value: 214.2,
scaledValue: 2022,
label: '2022',
},
{
value: 178.5,
scaledValue: 2021,
label: '2021',
},
{
value: 142.8,
scaledValue: 2020,
label: '2020',
},
{
value: 107.1,
scaledValue: 2019,
label: '2019',
},
{
value: 71.4,
scaledValue: 2018,
label: '2018',
},
{
value: 35.7,
scaledValue: 2017,
label: '2017',
},
{
value: 0,
scaledValue: 2016,
label: '2016',
},
{ value: 249.9, scaledValue: 2024, label: '2024' },
{ value: 218.6625, scaledValue: 2023, label: '2023' },
{ value: 187.425, scaledValue: 2022, label: '2022' },
{ value: 156.1875, scaledValue: 2021, label: '2021' },
{ value: 124.95, scaledValue: 2020, label: '2020' },
{ value: 93.7125, scaledValue: 2019, label: '2019' },
{ value: 62.475, scaledValue: 2018, label: '2018' },
{ value: 31.2375, scaledValue: 2017, label: '2017' },
{ value: 0, scaledValue: 2016, label: '2016' },
];

const valueToYear = {
0: '2016',
35.7: '2017',
71.4: '2018',
107.1: '2019',
142.8: '2020',
178.5: '2021',
214.2: '2022',
249.9: '2023',
31.2375: '2017',
62.475: '2018',
93.7125: '2019',
124.95: '2020',
156.1875: '2021',
187.425: '2022',
218.6625: '2023',
249.9: '2024',
};

let pageToValue = (page: string) => {
Expand All @@ -68,6 +38,7 @@ const timelinePhoto = {
2021: '/our-story/timelinePhotos/2021.jpg',
2022: '/our-story/timelinePhotos/2022.jpg',
2023: '/our-story/timelinePhotos/2023.jpg',
2024: '/our-story/timelinePhotos/2024.jpg',
};

export { marks, valueToYear, pageToValue, timelinePhoto };
Binary file added public/our-story/timelinePhotos/2024.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.