forked from acciochris/LExE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUpdates.tsx
More file actions
66 lines (62 loc) · 2.42 KB
/
Updates.tsx
File metadata and controls
66 lines (62 loc) · 2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
const annual_reports = {
"2017-2018": "https://drive.google.com/file/d/0Bx6shaV-C7LnTnVqMGZaMnQzeTVOTUQ2cUpKMThWd1BSZUFR/view?usp=drive_link&resourcekey=0-Lnopz-L4ZxkRoKL4SNbwwA",
"2019-2020": "https://drive.google.com/file/d/1hRUILwnsIQ9epGcDL3EQoYI6ZgUI7LiN/view?usp=drive_link",
"2020-2021": "https://drive.google.com/file/d/10SsxtgWu47dIMjqR3tuwMlQxvnp_bKTN/view?usp=drive_link",
"2021-2022": "https://drive.google.com/file/d/187_oU6inPWWfMalCjRNDz48jjpz9s66l/view?usp=drive_link",
"2022-2023": "https://drive.google.com/file/d/1Cb6WhIVtPQKgYDONz8eKaJ9VVRH1_Cii/view?usp=drive_link",
"2023-2024": "https://drive.google.com/file/d/1q8YjsPf7LflupRDtOYBkFtYXw6pbOicO/view?usp=drive_link",
"2024-2025": "https://drive.google.com/file/d/1SPe1nzJnB0IB_lkLU5ykQcMyPnyBaVC9/view?usp=drive_link",
};
const newsletters = {
"2020": "https://app.flashissue.com/newsletters/44bf3813e1bc67cb1bbee671c9d7f517b05e9c51",
"Nov 2024": "https://docs.google.com/document/d/1bPBqb1ZfGBwCjaErTuoMIQ_3lWkEgtY3RR_ufeT_DS0/edit?usp=sharing",
};
function Updates() {
return (
<div class="container px-4 py-12 flex flex-col items-center gap-2 text-base-content">
<h1 class="text-5xl font-extrabold text-center mb-4">Updates</h1>
<div class="container flex flex-col gap-2 max-w-4xl">
<h2 class="text-2xl lg:text-3xl mt-8 font-extrabold" id="newsletters">
Newsletters
</h2>
<div class="grid grid-cols-1 md:grid-cols-4 mt-1 gap-2">
{
Object.keys(newsletters).map(key => {
return (
<a
class="btn btn-accent text-lg font-normal"
target="_blank"
href={newsletters[key]}
>
{key}
</a>
)
})
}
</div>
<h2
class="text-2xl lg:text-3xl mt-8 font-extrabold"
id="annual-reports"
>
Annual Reports
</h2>
<div class="grid grid-cols-1 md:grid-cols-4 mt-1 gap-2">
{
Object.keys(annual_reports).map(key => {
return (
<a
class="btn btn-accent text-lg font-normal"
target="_blank"
href={annual_reports[key]}
>
{key}
</a>
)
})
}
</div>
</div>
</div>
);
}
export default Updates;