-
Notifications
You must be signed in to change notification settings - Fork 1
/
peningkatanKapasitas.tsx
82 lines (81 loc) · 3.25 KB
/
peningkatanKapasitas.tsx
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
import React from "react";
import Head from "next/head";
import Navbar from "../components/Navbar";
import HeroImage from "../components/HeroImage";
import Scrollytelling from "../components/Scrollytelling";
import Footer from "../components/Footer";
import { useState, useEffect } from "react";
export default function peningkatanKapasitas() {
const [bahasa, setBahasa] = useState<String>("");
const handleLanguage = (data: any) => {
setBahasa(data);
};
useEffect(() => {
const getData = sessionStorage.getItem("translate");
setBahasa(getData);
}, [bahasa]);
return (
<>
<Head>
<title>FDRCSI-DRR</title>
<link
rel="icon"
href="https://res.cloudinary.com/fandilladp/image/upload/v1642164064/favicon_dnqicc.ico"
/>
<link
href="https://api.mapbox.com/mapbox-gl-js/v1.12.0/mapbox-gl.css"
rel="stylesheet"
/>
<script src="https://public.flourish.studio/resources/embed.js"></script>
</Head>
<main className="bg-white w-full" style={{ fontFamily: "trebuchet" }}>
<Navbar onSelectLanguage={(data) => handleLanguage(data)} />
<HeroImage
data={`${
bahasa === "EN" ? "Capacity Building" : "Peningkatan Kapasitas"
}`}
bg={2}
/>
<div className="items-center max-w-6xl mx-auto px-10 py-10 mb-80">
<p
className="text-2xl font-bold text-center mt-10 py-10 font-sans"
style={{ fontSize: "5vh", fontFamily: "helveticaNeue" }}
>
{bahasa === "EN" ? (
<>Capacity building of communities and schools</>
) : (
<>Peningkatan kapasitas komunitas dan sekolah</>
)}
</p>
<p className="text-justify text-xl py-10">
{bahasa === "EN" ? (
<>
Planned activities for capacity building do not go according to
the initial planning. In 2020 COVID-19 entered Indonesia and the
cases increase significantly between the end of 2020 and mid
2021. PMI must lock down the office several times, so the
project implementation process become interrupted. The decision
of the governors from each province who issued strict rules for
the implementation of the training process also delayed the
implementation of the activities on the ground.
</>
) : (
<>
Kegiatan yang dilakukan untuk peningkatan kapasitas tidak
berjalan sesuai dengan perencanaan awal. Di tahun 2020 COVID-19
masuk ke Indonesia dan peningkatan kasus terjadi siginifikan
diantara akhir 2020 dan pertengahan 2021. PMI harus beberapa
kali melakukan lock down kantor, sehingga proses pelaksanaan
proyek menjadi terganggu. Keputusan gubernur dari masing-masing
provinsi yang mengeluarkan aturan ketat untuk penyelenggaraan
proses pelatihan juga turut menunda pelaksanaan kegiatan
dilapangan.
</>
)}
</p>
</div>
<Scrollytelling onSelectLanguage={bahasa} />
</main>
</>
);
}