Compare commits
192 Commits
fixing-layout
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 40d53d1201 | |||
| 5dc770dfe3 | |||
| 46dab9afef | |||
| 7d1354d16a | |||
| 25dbff3e7b | |||
| ce2cb1413f | |||
| f48536e979 | |||
| 754c73caf5 | |||
| 1a29397bb3 | |||
| 6a5045a2ac | |||
| 847ea787ca | |||
| 6d4f5be825 | |||
| e693fa3843 | |||
| 49081cdfbd | |||
| e8b69506b7 | |||
| 95197fab1f | |||
| a9e7ff451a | |||
| 3c28313d43 | |||
| f6999381e4 | |||
| 8efef62933 | |||
| d98ddc201a | |||
| 1690dcae3e | |||
| 994fec5456 | |||
| 992bbd7684 | |||
| 0c9ece813a | |||
| da38e3eb11 | |||
| 9b9241e923 | |||
| df7041340a | |||
| b19c014ca6 | |||
| 0f65b47757 | |||
| 48e5d9a4a9 | |||
| 350f2be836 | |||
| 78eebd2099 | |||
| d346b7e415 | |||
| 080683c34e | |||
| b31ba4ed34 | |||
| 83208bb622 | |||
| d765783877 | |||
| 28cbd24338 | |||
| 1acefb4516 | |||
| 1e1f2a33e5 | |||
| 9af3a1a731 | |||
| 7028fc4f30 | |||
| f1cd7a8f5f | |||
| 067e19a952 | |||
| ce3c2e6ae8 | |||
| 2166057a8b | |||
| 6430aee79e | |||
| 4fb6fe8e84 | |||
| f343a1c7c6 | |||
| 2fc6b7b6bc | |||
| 051a9a5669 | |||
| 68e7c3df2a | |||
| d3d1fce164 | |||
| 91b1ad28e4 | |||
| 103fdabc48 | |||
| 9d408b1a06 | |||
| 3b85dff0b9 | |||
| 35fe2d814a | |||
| e7a01dd4a1 | |||
| cd792dd5f4 | |||
| a8e5a93929 | |||
| 761095f7d3 | |||
| d3ed1e54af | |||
| 8e42878c0a | |||
| d6db9cc464 | |||
| ed3f2ad9e8 | |||
| baf8843d55 | |||
| a09ddac2c6 | |||
| bc173ff4ec | |||
| e2e36f1b92 | |||
| ab4493e589 | |||
| 6080ed2252 | |||
| 22f957e0f6 | |||
| c9634c619f | |||
| 4e38e7524b | |||
| 9c870cf28c | |||
| b844ca8b23 | |||
| 471ed6cd18 | |||
| 154550d3b4 | |||
| 874c185dc9 | |||
| fe5c645cbd | |||
| 3975798ba2 | |||
| ec0288fd8a | |||
| b943518500 | |||
| a8fca707b9 | |||
| 4705710d13 | |||
| 00fa66b699 | |||
| 7cf671d826 | |||
| f42afb5b81 | |||
| cff21cbf92 | |||
| 3ead384ec9 | |||
| 4ed5c20d80 | |||
| 859e538761 | |||
| 5080517d4d | |||
| bd75009c8b | |||
| f45f14b60b | |||
| 2fb6e7642d | |||
| d2ae63fe62 | |||
| 5ccdba561e | |||
| 2edbcb0c88 | |||
| 39adcc21ee | |||
| d34cc1c6e5 | |||
| 68cd20864e | |||
| b3a34dd608 | |||
| 99de2a3167 | |||
| b65a581ed4 | |||
| 986477ab58 | |||
| 981bb4d93b | |||
| 563af0ec56 | |||
| f8500db1dd | |||
| 4375c846fa | |||
| a942826266 | |||
| 7f2df4b08e | |||
| 30091e68cc | |||
| c772aa2d83 | |||
| 153de4dc92 | |||
| fa46a434c2 | |||
| e792afec16 | |||
| e5226c81dd | |||
| 2f31c8997b | |||
| 3076c922e3 | |||
| 3e87d77b04 | |||
| f75c04c052 | |||
| 6a6f316e5f | |||
| 3b52480c81 | |||
| eef091582d | |||
| 73964fe874 | |||
| 766a930542 | |||
| c8cb265394 | |||
| e1dbbbb096 | |||
| 35f1dd3865 | |||
| 49cd290d5a | |||
| 4d828814da | |||
| 112447c6bc | |||
| 027bd25359 | |||
| 54b00194a8 | |||
| b42edb3356 | |||
| 7996ee0186 | |||
| bedac5851e | |||
| 91136a58a1 | |||
| 034b131c12 | |||
| 3310c152c3 | |||
| 4dd1bc0782 | |||
| 478d48c237 | |||
| 429d6aa4d0 | |||
| 56c34eddc3 | |||
| 5c5c6aa42c | |||
| 3b749e4c99 | |||
| 1d5b807fc7 | |||
| 97a7cd1369 | |||
| 793a9e1dbc | |||
| 243541d1e4 | |||
| 36eebac312 | |||
| 11b8e518ac | |||
| 6f1e7d744b | |||
| 1270ce60fd | |||
| 48ff6250ab | |||
| a40a67875c | |||
| d1a80838a5 | |||
| e07d70093b | |||
| c64abd8083 | |||
| 768dbed9ff | |||
| 6cb0ffc571 | |||
| 46a7921bf0 | |||
| fbdcbe6472 | |||
| 529693cd5f | |||
| 263ffd1924 | |||
| b0918c1bb9 | |||
| 46d9b1677d | |||
| 9c1de91a82 | |||
| 260c896230 | |||
| 5bb704ac88 | |||
| 7bc9588a4a | |||
| 123ce1be04 | |||
| edab5db3d7 | |||
| 00722bcfef | |||
| 3dd522de3d | |||
| f27b2a901a | |||
| 3c54047474 | |||
| c9ae01f9ae | |||
| 0173fbb679 | |||
| c9d96eabe4 | |||
| df4878a8af | |||
| 8516c7bce3 | |||
| 4f76c220e3 | |||
| f798fa563d | |||
| 3516c5a3de | |||
| 7df1862dcc | |||
| b0b2c4fda3 | |||
| ad6f7a13c6 | |||
| 8e9137f725 |
@@ -1,3 +1,9 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
dist/
|
dist/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
.env
|
||||||
|
.env.local
|
||||||
|
groups/**/.env
|
||||||
|
groups/**/.env.local
|
||||||
|
README.md
|
||||||
|
i18n.js
|
||||||
@@ -1002,7 +1002,7 @@
|
|||||||
|
|
||||||
<!-- Overlay for mega menu -->
|
<!-- Overlay for mega menu -->
|
||||||
<div id="mega-overlay" class="fixed inset-0 bg-black/30 backdrop-blur-sm z-30"></div>
|
<div id="mega-overlay" class="fixed inset-0 bg-black/30 backdrop-blur-sm z-30"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="mobile-menu"
|
<div id="mobile-menu"
|
||||||
class="fixed inset-0 bg-slate-900 z-[60] transform -translate-x-full lg:hidden flex flex-col transition-transform duration-300"
|
class="fixed inset-0 bg-slate-900 z-[60] transform -translate-x-full lg:hidden flex flex-col transition-transform duration-300"
|
||||||
@@ -1185,9 +1185,9 @@
|
|||||||
<span class="acaab-fade-in"
|
<span class="acaab-fade-in"
|
||||||
style="display:inline-block;background:#feb401;color:#0f172a;font-size:0.65rem;font-weight:700;letter-spacing:0.15em;text-transform:uppercase;padding:0.2rem 0.625rem;margin-bottom:0.75rem;"
|
style="display:inline-block;background:#feb401;color:#0f172a;font-size:0.65rem;font-weight:700;letter-spacing:0.15em;text-transform:uppercase;padding:0.2rem 0.625rem;margin-bottom:0.75rem;"
|
||||||
data-i18n="grp_acaab_hero_badge">MAHASISWA & PRESTASI</span>
|
data-i18n="grp_acaab_hero_badge">MAHASISWA & PRESTASI</span>
|
||||||
<h1 class="acaab-fade-in"
|
<h2 class="acaab-fade-in"
|
||||||
style="font-size:clamp(1.875rem,3.5vw,2.5rem);font-weight:700;line-height:1.2;letter-spacing:-0.01em;margin:0 0 0.75rem;font-family:'Roboto Condensed',sans-serif;"
|
style="font-size:clamp(1.875rem,3.5vw,2.5rem);font-weight:700;line-height:1.2;letter-spacing:-0.01em;margin:0 0 0.75rem;font-family:'Roboto Condensed',sans-serif;"
|
||||||
data-i18n="grp_acaab_hero_title">Sorotan dan Prestasi Karya Mahasiswa</h1>
|
data-i18n="grp_acaab_hero_title">Sorotan dan Prestasi Karya Mahasiswa</h2>
|
||||||
<p class="acaab-fade-in"
|
<p class="acaab-fade-in"
|
||||||
style="color:rgba(255,255,255,0.7);font-size:0.9375rem;line-height:1.7;margin:0;"
|
style="color:rgba(255,255,255,0.7);font-size:0.9375rem;line-height:1.7;margin:0;"
|
||||||
data-i18n="grp_acaab_hero_desc">Temukan pencapaian luar biasa mahasiswa Informatika
|
data-i18n="grp_acaab_hero_desc">Temukan pencapaian luar biasa mahasiswa Informatika
|
||||||
@@ -1201,6 +1201,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div style="position:relative;">
|
<div style="position:relative;">
|
||||||
<img src="./hero.png" alt="Mahasiswa Informatika UNTAN"
|
<img src="./hero.png" alt="Mahasiswa Informatika UNTAN"
|
||||||
|
width="612" height="407"
|
||||||
|
fetchpriority="high"
|
||||||
style="position:relative;z-index:10;width:100%;max-width:320px;height:auto;object-fit:contain;opacity:0.95;filter:drop-shadow(0 15px 35px rgba(0,0,0,0.25));transition:transform 0.5s;"
|
style="position:relative;z-index:10;width:100%;max-width:320px;height:auto;object-fit:contain;opacity:0.95;filter:drop-shadow(0 15px 35px rgba(0,0,0,0.25));transition:transform 0.5s;"
|
||||||
onerror="this.style.display='none'">
|
onerror="this.style.display='none'">
|
||||||
<!-- Gradient fades over image -->
|
<!-- Gradient fades over image -->
|
||||||
@@ -1247,8 +1249,8 @@
|
|||||||
<div id="stat-total-ach"
|
<div id="stat-total-ach"
|
||||||
style="font-size:clamp(2rem,4.5vw,4rem);font-weight:900;color:#003150;line-height:1;font-family:'Roboto Condensed',sans-serif;">
|
style="font-size:clamp(2rem,4.5vw,4rem);font-weight:900;color:#003150;line-height:1;font-family:'Roboto Condensed',sans-serif;">
|
||||||
0</div>
|
0</div>
|
||||||
<div style="font-size:clamp(0.5rem,1.2vw,0.85rem);font-weight:800;text-transform:uppercase;letter-spacing:0.08em;color:#003150;margin-top:0.5rem;line-height:1.3;word-break:break-word;">
|
<div style="font-size:clamp(0.5rem,1.2vw,0.85rem);font-weight:800;text-transform:uppercase;letter-spacing:0.08em;color:#003150;margin-top:0.5rem;line-height:1.3;word-break:break-word;"
|
||||||
Prestasi<br>Mahasiswa</div>
|
data-i18n="grp_acaab_stats_label_ach">Prestasi<br>Mahasiswa</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- Internasional -->
|
<!-- Internasional -->
|
||||||
<div style="flex:1;text-align:center;padding:0 0.15rem;">
|
<div style="flex:1;text-align:center;padding:0 0.15rem;">
|
||||||
@@ -1289,8 +1291,8 @@
|
|||||||
<div id="stat-total-proj"
|
<div id="stat-total-proj"
|
||||||
style="font-size:clamp(2rem,4.5vw,4rem);font-weight:900;color:#003150;line-height:1;font-family:'Roboto Condensed',sans-serif;">
|
style="font-size:clamp(2rem,4.5vw,4rem);font-weight:900;color:#003150;line-height:1;font-family:'Roboto Condensed',sans-serif;">
|
||||||
0</div>
|
0</div>
|
||||||
<div style="font-size:clamp(0.5rem,1.2vw,0.85rem);font-weight:800;text-transform:uppercase;letter-spacing:0.08em;color:#003150;margin-top:0.5rem;line-height:1.3;word-break:break-word;">
|
<div style="font-size:clamp(0.5rem,1.2vw,0.85rem);font-weight:800;text-transform:uppercase;letter-spacing:0.08em;color:#003150;margin-top:0.5rem;line-height:1.3;word-break:break-word;"
|
||||||
Proyek<br>Mahasiswa</div>
|
data-i18n="grp_acaab_stats_label_proj">Proyek<br>Mahasiswa</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -1339,11 +1341,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- Row 3: Dropdowns -->
|
<!-- Row 3: Dropdowns -->
|
||||||
<div style="display:flex;flex-wrap:wrap;gap:0.625rem;">
|
<div style="display:flex;flex-wrap:wrap;gap:0.625rem;">
|
||||||
<select id="acaab-ach-level"
|
<select id="acaab-ach-level" aria-label="Filter tingkat prestasi"
|
||||||
style="flex:1;min-width:130px;background:#f8fafc;color:#334155;font-size:0.8rem;font-weight:700;border-radius:0.375rem;padding:0.5rem 0.75rem;border:1px solid #e2e8f0;cursor:pointer;"></select>
|
style="flex:1;min-width:130px;background:#f8fafc;color:#334155;font-size:0.8rem;font-weight:700;border-radius:0.375rem;padding:0.5rem 0.75rem;border:1px solid #e2e8f0;cursor:pointer;"></select>
|
||||||
<select id="acaab-ach-cat"
|
<select id="acaab-ach-cat" aria-label="Filter kategori prestasi"
|
||||||
style="flex:1;min-width:130px;background:#f8fafc;color:#334155;font-size:0.8rem;font-weight:700;border-radius:0.375rem;padding:0.5rem 0.75rem;border:1px solid #e2e8f0;cursor:pointer;"></select>
|
style="flex:1;min-width:130px;background:#f8fafc;color:#334155;font-size:0.8rem;font-weight:700;border-radius:0.375rem;padding:0.5rem 0.75rem;border:1px solid #e2e8f0;cursor:pointer;"></select>
|
||||||
<select id="acaab-ach-year"
|
<select id="acaab-ach-year" aria-label="Filter tahun prestasi"
|
||||||
style="flex:1;min-width:120px;background:#f8fafc;color:#334155;font-size:0.8rem;font-weight:700;border-radius:0.375rem;padding:0.5rem 0.75rem;border:1px solid #e2e8f0;cursor:pointer;"></select>
|
style="flex:1;min-width:120px;background:#f8fafc;color:#334155;font-size:0.8rem;font-weight:700;border-radius:0.375rem;padding:0.5rem 0.75rem;border:1px solid #e2e8f0;cursor:pointer;"></select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -1405,9 +1407,9 @@
|
|||||||
placeholder="Cari karya..." data-i18n-placeholder="grp_acaab_proj_search">
|
placeholder="Cari karya..." data-i18n-placeholder="grp_acaab_proj_search">
|
||||||
</div>
|
</div>
|
||||||
<div style="display:flex;flex-wrap:wrap;gap:0.625rem;">
|
<div style="display:flex;flex-wrap:wrap;gap:0.625rem;">
|
||||||
<select id="acaab-proj-cat"
|
<select id="acaab-proj-cat" aria-label="Filter kategori portofolio"
|
||||||
style="flex:1;min-width:130px;background:#f8fafc;color:#334155;font-size:0.8rem;font-weight:700;border-radius:0.375rem;padding:0.5rem 0.75rem;border:1px solid #e2e8f0;cursor:pointer;"></select>
|
style="flex:1;min-width:130px;background:#f8fafc;color:#334155;font-size:0.8rem;font-weight:700;border-radius:0.375rem;padding:0.5rem 0.75rem;border:1px solid #e2e8f0;cursor:pointer;"></select>
|
||||||
<select id="acaab-proj-year"
|
<select id="acaab-proj-year" aria-label="Filter tahun portofolio"
|
||||||
style="flex:1;min-width:120px;background:#f8fafc;color:#334155;font-size:0.8rem;font-weight:700;border-radius:0.375rem;padding:0.5rem 0.75rem;border:1px solid #e2e8f0;cursor:pointer;"></select>
|
style="flex:1;min-width:120px;background:#f8fafc;color:#334155;font-size:0.8rem;font-weight:700;border-radius:0.375rem;padding:0.5rem 0.75rem;border:1px solid #e2e8f0;cursor:pointer;"></select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -48,6 +48,15 @@
|
|||||||
grp_acaab_modal_visit: "Kunjungi Proyek",
|
grp_acaab_modal_visit: "Kunjungi Proyek",
|
||||||
grp_acaab_modal_read_more: "Selengkapnya",
|
grp_acaab_modal_read_more: "Selengkapnya",
|
||||||
grp_acaab_modal_no_link: "Link tidak tersedia",
|
grp_acaab_modal_no_link: "Link tidak tersedia",
|
||||||
|
grp_acaab_stats_label_ach: "Prestasi Mahasiswa",
|
||||||
|
grp_acaab_stats_label_proj: "Proyek Mahasiswa",
|
||||||
|
grp_acaab_modal_year: "Tahun",
|
||||||
|
grp_acaab_modal_competition: "Kompetisi",
|
||||||
|
grp_acaab_modal_field: "Bidang",
|
||||||
|
grp_acaab_modal_description: "Deskripsi",
|
||||||
|
grp_acaab_modal_close: "Tutup",
|
||||||
|
grp_acaab_modal_note: "Catatan Tambahan",
|
||||||
|
grp_acaab_modal_batch_prefix: "Angkatan",
|
||||||
grp_acaab_cta_badge: "HUBUNGI KAMI",
|
grp_acaab_cta_badge: "HUBUNGI KAMI",
|
||||||
grp_acaab_cta_title: "Ingin Tahu Lebih Lanjut?",
|
grp_acaab_cta_title: "Ingin Tahu Lebih Lanjut?",
|
||||||
grp_acaab_cta_desc: "Tertarik bergabung dengan Program Studi Informatika UNTAN, mendaftarkan prestasi mahasiswa, atau menjalin kerja sama? Hubungi kami sekarang.",
|
grp_acaab_cta_desc: "Tertarik bergabung dengan Program Studi Informatika UNTAN, mendaftarkan prestasi mahasiswa, atau menjalin kerja sama? Hubungi kami sekarang.",
|
||||||
@@ -93,6 +102,15 @@
|
|||||||
grp_acaab_modal_visit: "Visit Project",
|
grp_acaab_modal_visit: "Visit Project",
|
||||||
grp_acaab_modal_read_more: "Read More",
|
grp_acaab_modal_read_more: "Read More",
|
||||||
grp_acaab_modal_no_link: "Link not available",
|
grp_acaab_modal_no_link: "Link not available",
|
||||||
|
grp_acaab_stats_label_ach: "Student Achievements",
|
||||||
|
grp_acaab_stats_label_proj: "Student Projects",
|
||||||
|
grp_acaab_modal_year: "Year",
|
||||||
|
grp_acaab_modal_competition: "Competition",
|
||||||
|
grp_acaab_modal_field: "Field",
|
||||||
|
grp_acaab_modal_description: "Description",
|
||||||
|
grp_acaab_modal_close: "Close",
|
||||||
|
grp_acaab_modal_note: "Additional Notes",
|
||||||
|
grp_acaab_modal_batch_prefix: "Batch",
|
||||||
grp_acaab_cta_badge: "CONTACT US",
|
grp_acaab_cta_badge: "CONTACT US",
|
||||||
grp_acaab_cta_title: "Want to Know More?",
|
grp_acaab_cta_title: "Want to Know More?",
|
||||||
grp_acaab_cta_desc: "Interested in joining the Informatics Study Program at UNTAN, registering a student achievement, or establishing a partnership? Contact us now.",
|
grp_acaab_cta_desc: "Interested in joining the Informatics Study Program at UNTAN, registering a student achievement, or establishing a partnership? Contact us now.",
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ function transformAchievement(item) {
|
|||||||
id, title, category, competition, rank, year, level, description,
|
id, title, category, competition, rank, year, level, description,
|
||||||
team,
|
team,
|
||||||
nim: item.nim || '',
|
nim: item.nim || '',
|
||||||
generation: item.angkatan ? `Angkatan ${item.angkatan}` : 'Informatika',
|
generation: item.angkatan ? `${t('grp_acaab_modal_batch_prefix')} ${item.angkatan}` : 'Informatika',
|
||||||
image: getImageUrl(item, `prestasi-${id}`),
|
image: getImageUrl(item, `prestasi-${id}`),
|
||||||
avatar,
|
avatar,
|
||||||
members: anggota.map(m => ({ nama: m.nama || '', angkatan: m.angkatan ? parseInt(m.angkatan) : undefined })),
|
members: anggota.map(m => ({ nama: m.nama || '', angkatan: m.angkatan ? parseInt(m.angkatan) : undefined })),
|
||||||
@@ -489,9 +489,9 @@ function memberItem(nama, sub) {
|
|||||||
function openAchModal(a) {
|
function openAchModal(a) {
|
||||||
const membersHtml = a.members && a.members.length > 0 ? `
|
const membersHtml = a.members && a.members.length > 0 ? `
|
||||||
<div style="border-top:1px solid #f1f5f9;padding-top:1rem;margin-bottom:1rem;">
|
<div style="border-top:1px solid #f1f5f9;padding-top:1rem;margin-bottom:1rem;">
|
||||||
<p style="font-size:0.6rem;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;color:#94a3b8;margin:0 0 0.5rem;">Anggota Tim</p>
|
<p style="font-size:0.6rem;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;color:#94a3b8;margin:0 0 0.5rem;">${t('grp_acaab_modal_members')}</p>
|
||||||
<ul style="list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0.5rem;">
|
<ul style="list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0.5rem;">
|
||||||
${a.members.map(m => memberItem(m.nama, m.angkatan ? `Angkatan ${m.angkatan}` : '')).join('')}
|
${a.members.map(m => memberItem(m.nama, m.angkatan ? `${t('grp_acaab_modal_batch_prefix')} ${m.angkatan}` : '')).join('')}
|
||||||
</ul>
|
</ul>
|
||||||
</div>` : '';
|
</div>` : '';
|
||||||
|
|
||||||
@@ -525,19 +525,19 @@ function openAchModal(a) {
|
|||||||
${infoRow('users', t('grp_acaab_modal_team'), a.team)}
|
${infoRow('users', t('grp_acaab_modal_team'), a.team)}
|
||||||
${a.nim ? infoRow('id-card', 'NIM', a.nim) : ''}
|
${a.nim ? infoRow('id-card', 'NIM', a.nim) : ''}
|
||||||
${infoRow('user-graduate', t('grp_acaab_modal_generation'), a.generation)}
|
${infoRow('user-graduate', t('grp_acaab_modal_generation'), a.generation)}
|
||||||
${infoRow('calendar-alt', 'Tahun', String(a.year))}
|
${infoRow('calendar-alt', t('grp_acaab_modal_year'), String(a.year))}
|
||||||
${infoRow('award', 'Kompetisi', a.competition)}
|
${infoRow('award', t('grp_acaab_modal_competition'), a.competition)}
|
||||||
${infoRow('tag', 'Bidang', a.category)}
|
${infoRow('tag', t('grp_acaab_modal_field'), a.category)}
|
||||||
</div>
|
</div>
|
||||||
${membersHtml}
|
${membersHtml}
|
||||||
<!-- Description -->
|
<!-- Description -->
|
||||||
<div style="border-top:1px solid #f1f5f9;padding-top:1rem;">
|
<div style="border-top:1px solid #f1f5f9;padding-top:1rem;">
|
||||||
<p style="font-size:0.6rem;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;color:#94a3b8;margin:0 0 0.5rem;">Deskripsi</p>
|
<p style="font-size:0.6rem;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;color:#94a3b8;margin:0 0 0.5rem;">${t('grp_acaab_modal_description')}</p>
|
||||||
<p style="color:#475569;font-size:0.875rem;line-height:1.65;margin:0;">${escHtml(a.description)}</p>
|
<p style="color:#475569;font-size:0.875rem;line-height:1.65;margin:0;">${escHtml(a.description)}</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- Close button full-width -->
|
<!-- Close button full-width -->
|
||||||
<button id="acaab-modal-close-btn" style="margin-top:1.5rem;width:100%;padding:0.75rem;background:#003150;color:white;font-weight:700;border:none;border-radius:0.5rem;cursor:pointer;font-size:0.875rem;">
|
<button id="acaab-modal-close-btn" style="margin-top:1.5rem;width:100%;padding:0.75rem;background:#003150;color:white;font-weight:700;border:none;border-radius:0.5rem;cursor:pointer;font-size:0.875rem;">
|
||||||
Tutup
|
${t('grp_acaab_modal_close')}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
`, true);
|
`, true);
|
||||||
@@ -714,7 +714,7 @@ function bindProjEvents() {
|
|||||||
function openProjModal(p) {
|
function openProjModal(p) {
|
||||||
const membersHtml = p.members && p.members.length > 0 ? `
|
const membersHtml = p.members && p.members.length > 0 ? `
|
||||||
<div style="border-top:1px solid #f1f5f9;padding-top:1rem;margin-bottom:1rem;">
|
<div style="border-top:1px solid #f1f5f9;padding-top:1rem;margin-bottom:1rem;">
|
||||||
<p style="font-size:0.6rem;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;color:#94a3b8;margin:0 0 0.5rem;">Anggota Tim</p>
|
<p style="font-size:0.6rem;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;color:#94a3b8;margin:0 0 0.5rem;">${t('grp_acaab_modal_members')}</p>
|
||||||
<ul style="list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0.5rem;">
|
<ul style="list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0.5rem;">
|
||||||
${p.members.map(m => memberItem(m.nama, m.nim || '')).join('')}
|
${p.members.map(m => memberItem(m.nama, m.nim || '')).join('')}
|
||||||
</ul>
|
</ul>
|
||||||
@@ -755,24 +755,24 @@ function openProjModal(p) {
|
|||||||
<div style="display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding:1rem;background:#f8fafc;border-radius:0.5rem;margin-bottom:1.25rem;">
|
<div style="display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding:1rem;background:#f8fafc;border-radius:0.5rem;margin-bottom:1.25rem;">
|
||||||
${p.studentName ? infoRow('users', t('grp_acaab_modal_team'), p.studentName) : ''}
|
${p.studentName ? infoRow('users', t('grp_acaab_modal_team'), p.studentName) : ''}
|
||||||
${p.nim ? infoRow('id-card', 'NIM', p.nim) : ''}
|
${p.nim ? infoRow('id-card', 'NIM', p.nim) : ''}
|
||||||
${infoRow('calendar-alt', 'Tahun', String(p.year))}
|
${infoRow('calendar-alt', t('grp_acaab_modal_year'), String(p.year))}
|
||||||
${infoRow('tag', 'Bidang', p.categories.join(', '))}
|
${infoRow('tag', t('grp_acaab_modal_field'), p.categories.join(', '))}
|
||||||
</div>
|
</div>
|
||||||
${membersHtml}
|
${membersHtml}
|
||||||
<!-- Description -->
|
<!-- Description -->
|
||||||
<div style="border-top:1px solid #f1f5f9;padding-top:1rem;margin-bottom:1.25rem;">
|
<div style="border-top:1px solid #f1f5f9;padding-top:1rem;margin-bottom:1.25rem;">
|
||||||
<p style="font-size:0.6rem;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;color:#94a3b8;margin:0 0 0.5rem;">Deskripsi</p>
|
<p style="font-size:0.6rem;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;color:#94a3b8;margin:0 0 0.5rem;">${t('grp_acaab_modal_description')}</p>
|
||||||
<p style="color:#475569;font-size:0.875rem;line-height:1.65;margin:0;">${escHtml(p.description)}</p>
|
<p style="color:#475569;font-size:0.875rem;line-height:1.65;margin:0;">${escHtml(p.description)}</p>
|
||||||
${p.catatan ? `
|
${p.catatan ? `
|
||||||
<div style="margin-top:1rem;padding:0.75rem;background:rgba(239,246,255,0.5);border:1px solid #bfdbfe;border-radius:0.5rem;">
|
<div style="margin-top:1rem;padding:0.75rem;background:rgba(239,246,255,0.5);border:1px solid #bfdbfe;border-radius:0.5rem;">
|
||||||
<p style="font-size:0.6rem;font-weight:700;text-transform:uppercase;color:#93c5fd;margin:0 0 0.25rem;">Catatan Tambahan</p>
|
<p style="font-size:0.6rem;font-weight:700;text-transform:uppercase;color:#93c5fd;margin:0 0 0.25rem;">${t('grp_acaab_modal_note')}</p>
|
||||||
<p style="font-size:0.875rem;color:#475569;font-style:italic;margin:0;">${escHtml(p.catatan)}</p>
|
<p style="font-size:0.875rem;color:#475569;font-style:italic;margin:0;">${escHtml(p.catatan)}</p>
|
||||||
</div>` : ''}
|
</div>` : ''}
|
||||||
</div>
|
</div>
|
||||||
<!-- Link + close buttons -->
|
<!-- Link + close buttons -->
|
||||||
${linkSection}
|
${linkSection}
|
||||||
<button id="acaab-modal-close-btn" style="width:100%;padding:0.625rem;border:2px solid #e2e8f0;color:#475569;font-weight:700;background:white;border-radius:0.5rem;cursor:pointer;font-size:0.875rem;transition:border-color 0.2s,background 0.2s;">
|
<button id="acaab-modal-close-btn" style="width:100%;padding:0.625rem;border:2px solid #e2e8f0;color:#475569;font-weight:700;background:white;border-radius:0.5rem;cursor:pointer;font-size:0.875rem;transition:border-color 0.2s,background 0.2s;">
|
||||||
Tutup
|
${t('grp_acaab_modal_close')}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
`, true);
|
`, true);
|
||||||
|
|||||||
@@ -0,0 +1,273 @@
|
|||||||
|
# PROJECT CONTEXT
|
||||||
|
## Website Statis Halaman Beasiswa — Informatika UNTAN
|
||||||
|
|
||||||
|
> File ini adalah konteks utama proyek untuk AI assistant (Antigravity).
|
||||||
|
> Baca file ini setiap kali kamu membantu pengerjaan proyek ini.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🎯 Apa yang Dibangun?
|
||||||
|
|
||||||
|
**Single static landing page** berbasis HTML/CSS/JS murni (native web) untuk menampilkan informasi beasiswa bagi mahasiswa aktif, alumni, dan masyarakat umum Program Studi Informatika, Universitas Tanjungpura (UNTAN), Pontianak.
|
||||||
|
|
||||||
|
Website ini bukan aplikasi web dinamis. Tidak ada backend, tidak ada database, tidak ada login. Update konten dilakukan dengan mengedit file JSON dan push ke GitHub → auto-deploy via Puify ke server prodi.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🏗️ Tech Stack
|
||||||
|
|
||||||
|
| Layer | Teknologi |
|
||||||
|
|---|---|
|
||||||
|
| Markup | HTML5 |
|
||||||
|
| Styling | CSS3 + Tailwind CSS |
|
||||||
|
| Interaktivitas | Vanilla JavaScript (ES6+) |
|
||||||
|
| Font | Google Fonts (Inter / Poppins) |
|
||||||
|
| Ikon | Font Awesome |
|
||||||
|
| Animasi | AOS.js (Animate on Scroll) |
|
||||||
|
| Carousel | Swiper.js |
|
||||||
|
| Hosting | Dedicated Server Prodi UNTAN via Puify |
|
||||||
|
| Version Control | Git + GitHub |
|
||||||
|
|
||||||
|
**Tidak boleh menggunakan:** Framework berat (React, Vue, Angular), backend (Node.js, PHP, Python), database (MySQL, MongoDB).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📐 Desain
|
||||||
|
|
||||||
|
- **Figma Project:** https://www.figma.com/design/rG6JYG19CWziaPMhbJ2NPL/PPL-FIGMA?node-id=0-1
|
||||||
|
- **Prototype:** https://www.figma.com/proto/rG6JYG19CWziaPMhbJ2NPL/PPL-FIGMA?node-id=120-1247
|
||||||
|
|
||||||
|
### Warna Utama
|
||||||
|
|
||||||
|
| Variabel | Hex | Penggunaan |
|
||||||
|
|---|---|---|
|
||||||
|
| Primary (Biru) | `#2B4590` | Navbar, heading, tombol, border aktif |
|
||||||
|
| Secondary (Kuning) | `#F5A623` | CTA, aksen, badge |
|
||||||
|
| Background | `#FFFFFF` | Latar halaman |
|
||||||
|
| Text | `#1A1A1A` | Body text |
|
||||||
|
| Accent | `#6B7280` | Caption, label, border |
|
||||||
|
| Success | `#10B981` | Badge "Buka" |
|
||||||
|
| Danger | `#EF4444` | Badge "Ditutup" |
|
||||||
|
| Overlay | `#00000080` | Background popup |
|
||||||
|
|
||||||
|
### Tipografi
|
||||||
|
- **Font:** Inter (utama) / Poppins (heading)
|
||||||
|
- H1: 48–64px bold | H2: 32–40px semibold | H3: 24–28px semibold
|
||||||
|
- Body: 16–18px regular | Caption: 12–14px
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📄 Struktur Halaman (Top → Bottom)
|
||||||
|
|
||||||
|
```
|
||||||
|
[NAVBAR - Sticky]
|
||||||
|
Logo UNTAN | Menu: Beranda, Beasiswa, Testimoni, Kontak | Toggle ID/EN
|
||||||
|
|
||||||
|
[#hero - Hero Section]
|
||||||
|
Judul: "Beasiswa Studi & Penelitian"
|
||||||
|
Sub: Teknik Informatika Universitas Tanjungpura
|
||||||
|
Deskripsi singkat tentang beasiswa
|
||||||
|
CTA Button (kuning): "Lihat Daftar Beasiswa →"
|
||||||
|
Foto ilustrasi mahasiswa (kanan)
|
||||||
|
|
||||||
|
[#statistics - Statistik Counter]
|
||||||
|
3 angka dengan animasi scroll:
|
||||||
|
- Total Mahasiswa Penerima Beasiswa Semester Ini
|
||||||
|
- Total Penerima Beasiswa Pembiayaan Pemerintah
|
||||||
|
- Total Penerima Beasiswa Pembiayaan Swasta
|
||||||
|
|
||||||
|
[#directory - Direktori Beasiswa]
|
||||||
|
- Tab filter: Semua | Sedang Buka | Ditutup | Pemerintah | Swasta
|
||||||
|
- Search bar (real-time)
|
||||||
|
- Grid kartu beasiswa:
|
||||||
|
* Desktop: 3 kolom
|
||||||
|
* Tablet: 2 kolom
|
||||||
|
* Mobile: 1 kolom
|
||||||
|
- Tiap kartu: thumbnail, badge status, nama, deskripsi singkat, tanggal, tombol "Selengkapnya →"
|
||||||
|
- Klik "Selengkapnya →" → buka POPUP MODAL
|
||||||
|
|
||||||
|
[POPUP MODAL - Detail Beasiswa]
|
||||||
|
- Nama + thumbnail/logo beasiswa
|
||||||
|
- Badge status (Buka / Ditutup)
|
||||||
|
- Syarat umum (ringkasan/bullet)
|
||||||
|
- Kontak yang bisa dihubungi
|
||||||
|
- Tombol "Info Lebih Lanjut" → buka URL sumber resmi (tab baru)
|
||||||
|
- Tutup: tombol ×, klik luar area, tekan Escape
|
||||||
|
|
||||||
|
[#testimonial - Testimoni Penerima Beasiswa]
|
||||||
|
- Carousel / grid kartu
|
||||||
|
- Tiap kartu: foto, nama, nama beasiswa yang diterima, kutipan singkat
|
||||||
|
- Navigasi carousel jika > 3 testimoni
|
||||||
|
|
||||||
|
[#cta - Call to Action]
|
||||||
|
- Judul: "Ingin Mengetahui Info Lebih Lanjut?"
|
||||||
|
- Dua tombol:
|
||||||
|
* "Daftar Beasiswa" (scroll ke #directory)
|
||||||
|
* "Hubungi Kami" (WhatsApp admin)
|
||||||
|
|
||||||
|
[#footer - Footer]
|
||||||
|
- Logo Informatika UNTAN
|
||||||
|
- Alamat prodi, email, telepon, WhatsApp
|
||||||
|
- Ikon media sosial
|
||||||
|
- Ilustrasi khas Pontianak (dekorasi bawah)
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📁 Struktur File Proyek
|
||||||
|
|
||||||
|
```
|
||||||
|
project-root/
|
||||||
|
├── index.html
|
||||||
|
├── assets/
|
||||||
|
│ ├── css/
|
||||||
|
│ │ └── style.css
|
||||||
|
│ ├── js/
|
||||||
|
│ │ ├── main.js # Init AOS, smooth scroll, sticky navbar
|
||||||
|
│ │ ├── filter.js # Filter tab + real-time search
|
||||||
|
│ │ ├── popup.js # Modal detail beasiswa
|
||||||
|
│ │ ├── counter.js # Animasi counter statistik
|
||||||
|
│ │ ├── carousel.js # Carousel testimoni (Swiper.js)
|
||||||
|
│ │ └── i18n.js # Toggle bahasa ID/EN
|
||||||
|
│ └── images/
|
||||||
|
│ ├── hero/
|
||||||
|
│ ├── beasiswa/ # Logo/thumbnail beasiswa
|
||||||
|
│ └── testimoni/ # Foto penerima
|
||||||
|
├── data/
|
||||||
|
│ ├── beasiswa.json
|
||||||
|
│ └── testimoni.json
|
||||||
|
└── README.md
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🗃️ Format Data
|
||||||
|
|
||||||
|
### `data/beasiswa.json`
|
||||||
|
```json
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"id": "bsw-001",
|
||||||
|
"nama": "Beasiswa Adaro Foundation 2026",
|
||||||
|
"kategori": "Swasta",
|
||||||
|
"status": "Ditutup",
|
||||||
|
"thumbnail": "assets/images/beasiswa/adaro.jpg",
|
||||||
|
"deskripsi_singkat": "Beasiswa untuk mahasiswa S1 & D4 dengan IPK minimal 3.00...",
|
||||||
|
"syarat_umum": [
|
||||||
|
"Mahasiswa aktif S1/D4",
|
||||||
|
"IPK minimal 3.00",
|
||||||
|
"Berasal dari keluarga kurang mampu"
|
||||||
|
],
|
||||||
|
"kontak": "Admin Prodi / Kemahasiswaan UNTAN",
|
||||||
|
"tanggal_buka": "2026-01-01",
|
||||||
|
"tanggal_tutup": "2026-04-09",
|
||||||
|
"url_sumber": "https://...",
|
||||||
|
"tags": ["S1", "Swasta"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
|
### `data/testimoni.json`
|
||||||
|
```json
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"id": "tsm-001",
|
||||||
|
"nama": "Aulia Rahman",
|
||||||
|
"foto": "assets/images/testimoni/aulia.jpg",
|
||||||
|
"nama_beasiswa": "Beasiswa Prestasi",
|
||||||
|
"kutipan": "Beasiswa ini benar-benar membuka jalan bagi saya untuk fokus sepenuhnya pada pendidikan..."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## ⚙️ Fitur Interaktif yang Harus Diimplementasikan
|
||||||
|
|
||||||
|
| Fitur | Status | File |
|
||||||
|
|---|---|---|
|
||||||
|
| Sticky Navbar (transparent → solid saat scroll) | ⏳ | `main.js` |
|
||||||
|
| Hamburger Menu | ⏳ | `main.js` |
|
||||||
|
| Smooth Scroll ke seksi | ⏳ | `main.js` |
|
||||||
|
| Active State Navbar (IntersectionObserver) | ⏳ | `main.js` |
|
||||||
|
| Animasi AOS (elemen muncul saat scroll) | ⏳ | `main.js` |
|
||||||
|
| Counter Animasi Statistik | ⏳ | `counter.js` |
|
||||||
|
| Render kartu beasiswa dari JSON | ⏳ | `filter.js` |
|
||||||
|
| Filter tab (Semua/Buka/Ditutup/Pemerintah/Swasta) | ⏳ | `filter.js` |
|
||||||
|
| Real-time search | ⏳ | `filter.js` |
|
||||||
|
| Popup Modal detail beasiswa | ⏳ | `popup.js` |
|
||||||
|
| Tutup popup (×, klik luar, Escape) | ⏳ | `popup.js` |
|
||||||
|
| Carousel testimoni (Swiper.js) | ⏳ | `carousel.js` |
|
||||||
|
| Toggle bahasa ID/EN | ⏳ | `i18n.js` |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📱 Responsive Breakpoints
|
||||||
|
|
||||||
|
```css
|
||||||
|
/* Mobile first */
|
||||||
|
/* Default: mobile < 768px */
|
||||||
|
/* Tablet: */ @media (min-width: 768px) { ... }
|
||||||
|
/* Laptop: */ @media (min-width: 1024px) { ... }
|
||||||
|
/* Desktop: */ @media (min-width: 1280px) { ... }
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🔒 Aturan Keamanan Kode
|
||||||
|
|
||||||
|
- Semua link eksternal: `target="_blank" rel="noopener noreferrer"`
|
||||||
|
- Tidak ada hardcoded data sensitif di source code
|
||||||
|
- Input search di-sanitasi sebelum digunakan untuk filter DOM
|
||||||
|
- Tidak menggunakan `innerHTML` dengan input pengguna langsung (cegah XSS)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 👥 Tim & Peran
|
||||||
|
|
||||||
|
| Nama | Peran |
|
||||||
|
|---|---|
|
||||||
|
| Djapianus Thebrianto | Project Manager |
|
||||||
|
| Derangga Aray Abimanyu | Backend Developer (data, scraping, JSON) |
|
||||||
|
| Destra Aulia Faza Ananda Putra | Frontend Developer (HTML, CSS, JS) |
|
||||||
|
| Dian Satrio Prayogo | UI/UX Designer (Figma) |
|
||||||
|
| Jonathan Geral Nababan | Quality Assurance (testing) |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📋 Hal Penting untuk AI Assistant
|
||||||
|
|
||||||
|
1. **Ini bukan React/Vue/Angular.** Semua harus ditulis dalam HTML/CSS/Tailwind/Vanilla JS.
|
||||||
|
2. **Data beasiswa dibaca dari `data/beasiswa.json`** — bukan hardcoded di HTML.
|
||||||
|
3. **Warna wajib sesuai palet resmi** — jangan gunakan warna lain sembarangan.
|
||||||
|
4. **Mobile-first** — tulis CSS dari ukuran kecil dulu, baru ke besar.
|
||||||
|
5. **Popup harus bisa ditutup 3 cara:** tombol ×, klik overlay, tekan Escape.
|
||||||
|
6. **Filter dan search bisa aktif bersamaan** (kumulatif, bukan saling menggantikan).
|
||||||
|
7. **Navbar berubah warna saat scroll** — transparent di atas hero, solid biru setelah scroll turun.
|
||||||
|
8. **Semua animasi pakai AOS.js** — inisialisasi di `main.js` dengan `AOS.init()`.
|
||||||
|
9. **Carousel testimoni pakai Swiper.js** — touch-friendly untuk mobile.
|
||||||
|
10. **Tidak ada `alert()`, `console.log()` di production code.**
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🚀 Cara Kerja Deployment
|
||||||
|
|
||||||
|
```
|
||||||
|
Developer push ke GitHub
|
||||||
|
↓
|
||||||
|
Puify detects push
|
||||||
|
↓
|
||||||
|
Auto-deploy ke server
|
||||||
|
↓
|
||||||
|
Website live (Dev)
|
||||||
|
↓
|
||||||
|
Approved → Production
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📎 Dokumen Terkait
|
||||||
|
|
||||||
|
- `SRS.md` — Spesifikasi kebutuhan lengkap (use case, NFR, batasan)
|
||||||
|
- `SDD.md` — Desain teknis lengkap (arsitektur, komponen, schema data)
|
||||||
|
- Figma: https://www.figma.com/design/rG6JYG19CWziaPMhbJ2NPL/PPL-FIGMA?node-id=0-1
|
||||||
@@ -0,0 +1,329 @@
|
|||||||
|
# Software Design Document (SDD)
|
||||||
|
## Website Statis Halaman Beasiswa — One-Page HTML
|
||||||
|
### Program Studi Informatika — Universitas Tanjungpura
|
||||||
|
|
||||||
|
| Field | Detail |
|
||||||
|
|---|---|
|
||||||
|
| Nama Proyek | Pengembangan Website Statis Halaman Beasiswa |
|
||||||
|
| Kelompok | Ape Nama Team E |
|
||||||
|
| Versi | 1.0 |
|
||||||
|
| Fase SDLC | Design (aktif) |
|
||||||
|
| Dosen | Izuardo Zulkarnain, S.Pd., M.T |
|
||||||
|
| Semester | Genap 2025/2026 |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 1. Pendahuluan
|
||||||
|
|
||||||
|
### 1.1 Tujuan Dokumen
|
||||||
|
SDD ini mendeskripsikan perancangan teknis website beasiswa Informatika UNTAN sebagai one-page HTML native. Dokumen ini menjadi panduan tim dalam mengimplementasikan:
|
||||||
|
- Fitur popup detail beasiswa
|
||||||
|
- Integrasi data hasil scraping & survei admin
|
||||||
|
- Otomatisasi deployment via Puify (push-to-deploy)
|
||||||
|
|
||||||
|
### 1.2 Stack Teknologi
|
||||||
|
|
||||||
|
| Layer | Teknologi | Keterangan |
|
||||||
|
|---|---|---|
|
||||||
|
| Markup | HTML5 | Struktur konten |
|
||||||
|
| Styling | CSS3 / Tailwind CSS | Layout responsif |
|
||||||
|
| Interaktivitas | JavaScript (Vanilla / Alpine.js) | Animasi, scroll, toggle |
|
||||||
|
| Font & Ikon | Google Fonts / Font Awesome | Tipografi & ikon |
|
||||||
|
| Hosting | Puify (SaaS) | Auto-deploy dari repo ke server |
|
||||||
|
| Server | Dedicated Server Prodi | Dev & Production |
|
||||||
|
| Version Control | Git + GitHub | Kolaborasi & push-to-deploy |
|
||||||
|
|
||||||
|
### 1.3 Posisi dalam SDLC
|
||||||
|
|
||||||
|
| Fase | Status |
|
||||||
|
|---|---|
|
||||||
|
| Requirement | ✅ Selesai |
|
||||||
|
| Design | 🔄 Aktif |
|
||||||
|
| Implementation | ⏳ Belum |
|
||||||
|
| Testing | ⏳ Belum |
|
||||||
|
| Deployment | ⏳ Belum |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 2. Arsitektur Halaman (Site Architecture)
|
||||||
|
|
||||||
|
### 2.1 Konsep One-Page Website
|
||||||
|
Single-page statis — semua konten dalam satu file HTML utama. Navigasi menggunakan **smooth scroll**. Detail beasiswa (syarat umum) ditampilkan via **popup modal** agar halaman tetap bersih.
|
||||||
|
|
||||||
|
### 2.2 Struktur Seksi (Vertikal, Atas → Bawah)
|
||||||
|
|
||||||
|
| No | ID | Nama Seksi | Konten Utama |
|
||||||
|
|---|---|---|---|
|
||||||
|
| 1 | `#hero` | Hero / Landing | Judul "Beasiswa Studi & Penelitian", deskripsi, CTA "Lihat Daftar Beasiswa", foto ilustrasi mahasiswa |
|
||||||
|
| 2 | `#statistics` | Statistik Counter | 3 angka animasi: Total Penerima Semester Ini, Total Pemerintah, Total Swasta |
|
||||||
|
| 3 | `#directory` | Direktori Beasiswa | Grid kartu (3 kolom desktop, 2 tablet, 1 mobile), tab filter, real-time search, popup detail |
|
||||||
|
| 4 | `#testimonial` | Testimoni | Carousel/grid testimoni: foto, nama, beasiswa, kutipan singkat |
|
||||||
|
| 5 | `#cta` | Call-to-Action | Banner ajakan + tombol WhatsApp admin + Instagram kemahasiswaan |
|
||||||
|
| 6 | `#footer` | Footer | Logo prodi, alamat, email, telepon, WA, ikon sosmed, dekorasi ilustrasi Pontianak |
|
||||||
|
|
||||||
|
### 2.3 Navigasi
|
||||||
|
**Sticky navbar** yang selalu terlihat saat scroll.
|
||||||
|
|
||||||
|
| Perangkat | Perilaku Navbar |
|
||||||
|
|---|---|
|
||||||
|
| Desktop/Laptop | Horizontal, semua item terlihat |
|
||||||
|
| Tablet | Horizontal, item muat; sisanya dropdown |
|
||||||
|
| Mobile | Hamburger menu (≡) — tap untuk expand vertikal |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 3. Desain Visual & Identitas
|
||||||
|
|
||||||
|
### 3.1 Color Palette
|
||||||
|
|
||||||
|
| Peran | Nama | Hex | Digunakan Untuk |
|
||||||
|
|---|---|---|---|
|
||||||
|
| Primary | Biru Informatika | `#2B4590` | Navbar, heading, tombol primary, border aktif |
|
||||||
|
| Secondary | Kuning/Oranye | `#F5A623` | CTA button, aksen, badge |
|
||||||
|
| Background | White | `#FFFFFF` | Latar halaman utama |
|
||||||
|
| Text | Dark Gray | `#1A1A1A` | Body text, paragraf |
|
||||||
|
| Accent | Abu-abu | `#6B7280` | Caption, label, border |
|
||||||
|
| Success | Hijau | `#10B981` | Badge status "Buka" |
|
||||||
|
| Danger | Merah | `#EF4444` | Badge status "Ditutup" |
|
||||||
|
| Overlay | Hitam + Transparansi | `#00000080` | Background popup modal |
|
||||||
|
|
||||||
|
### 3.2 Tipografi
|
||||||
|
|
||||||
|
| Elemen | Font Family | Ukuran | Weight |
|
||||||
|
|---|---|---|---|
|
||||||
|
| Heading H1 | Poppins / Inter | 48–64px | 700 (Bold) |
|
||||||
|
| Heading H2 | Poppins / Inter | 32–40px | 600 (SemiBold) |
|
||||||
|
| Heading H3 | Poppins / Inter | 24–28px | 600 (SemiBold) |
|
||||||
|
| Body Text | Inter / Poppins | 16–18px | 400 (Regular) |
|
||||||
|
| Caption/Label | Inter / Poppins | 12–14px | 400–500 |
|
||||||
|
| Navbar | Inter | 14–16px | 500 (Medium) |
|
||||||
|
| Button | Inter | 14–16px | 600 (SemiBold) |
|
||||||
|
|
||||||
|
### 3.3 Komponen UI
|
||||||
|
|
||||||
|
| Komponen | Spesifikasi |
|
||||||
|
|---|---|
|
||||||
|
| Navbar | Sticky; transparent di atas hero → solid biru `#2B4590` saat scroll; toggle ID/EN di kanan |
|
||||||
|
| Hero Section | Full-height, overlay gradient gelap, judul besar, deskripsi, CTA kuning kontras |
|
||||||
|
| Card Beasiswa | Border subtle, shadow ringan; hover: scale sedikit + shadow lebih dalam; thumbnail 100% lebar |
|
||||||
|
| Button Primary | Solid biru, teks putih |
|
||||||
|
| Button Secondary | Outline biru |
|
||||||
|
| Button Ghost | Tanpa border |
|
||||||
|
| Badge Status | Rounded pill; Hijau "Buka", Merah "Ditutup" |
|
||||||
|
| Tab Filter | Underline active state, smooth transition, teks hitam, garis bawah aktif biru |
|
||||||
|
| Popup Modal | Center screen, dark overlay, border-radius 12px, close button (×) kanan atas |
|
||||||
|
| Footer | Background `#1A1A1A`, teks putih, 3–4 kolom desktop |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 4. Desain Mockup (UI/UX)
|
||||||
|
|
||||||
|
### 4.1 Alat Desain
|
||||||
|
**Figma** — kolaborasi realtime, wireframe + hi-fidelity prototype.
|
||||||
|
|
||||||
|
- **Figma Project:** https://www.figma.com/design/rG6JYG19CWziaPMhbJ2NPL/PPL-FIGMA?node-id=0-1
|
||||||
|
- **Prototype Interaktif:** https://www.figma.com/proto/rG6JYG19CWziaPMhbJ2NPL/PPL-FIGMA?node-id=120-1247
|
||||||
|
|
||||||
|
### 4.2 Tahapan Desain
|
||||||
|
1. **Wireframe (Lo-Fi)** — sketsa hitam-putih, fokus layout & posisi elemen
|
||||||
|
2. **Mockup (Hi-Fi)** — desain lengkap dengan warna, font, dan aset visual
|
||||||
|
3. **Prototype** — mockup yang bisa diklik untuk simulasi navigasi antar seksi
|
||||||
|
4. **User Testing** — validasi desain bersama calon pengguna
|
||||||
|
|
||||||
|
### 4.3 Breakpoint & Resolusi
|
||||||
|
|
||||||
|
| Perangkat | Resolusi Mockup |
|
||||||
|
|---|---|
|
||||||
|
| Desktop Monitor | 1920 × 1080 |
|
||||||
|
| Laptop | 1366 × 768 |
|
||||||
|
| Tablet Portrait | 768 × 1024 |
|
||||||
|
| Tablet Landscape | 1024 × 768 |
|
||||||
|
| Mobile / HP | 390 × 844 |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 5. Desain Responsif
|
||||||
|
|
||||||
|
### 5.1 Strategi: Mobile-First
|
||||||
|
Desain dimulai dari layar terkecil → diperluas ke layar lebih besar via CSS media query. Memastikan performa optimal di koneksi lambat.
|
||||||
|
|
||||||
|
### 5.2 Breakpoint
|
||||||
|
|
||||||
|
| Perangkat | Breakpoint | Resolusi Umum |
|
||||||
|
|---|---|---|
|
||||||
|
| Desktop Monitor | `>= 1280px` | 1920×1080, 2560×1440 |
|
||||||
|
| Laptop | `>= 1024px` | 1366×768, 1440×900 |
|
||||||
|
| Tablet | `>= 768px` | 768×1024, 820×1180 |
|
||||||
|
| Mobile | `< 768px` | 360×800, 390×844, 414×896 |
|
||||||
|
|
||||||
|
### 5.3 Perubahan Layout per Breakpoint
|
||||||
|
|
||||||
|
| Elemen | Mobile (<768px) | Tablet (768–1279px) | Desktop (≥1280px) |
|
||||||
|
|---|---|---|---|
|
||||||
|
| Navbar | Hamburger menu | Hamburger / partial menu | Horizontal full menu |
|
||||||
|
| Hero Section | Teks atas, gambar bawah | Teks kiri, gambar kanan 50/50 | Teks kiri, gambar kanan lebar |
|
||||||
|
| Card Grid | 1 kolom | 2 kolom | 3–4 kolom |
|
||||||
|
| Teks Body | 16px | 16–17px | 17–18px |
|
||||||
|
| Padding Section | 24px 16px | 40px 32px | 80px 64px |
|
||||||
|
| Footer | Stack vertikal | 2 kolom | 3–4 kolom |
|
||||||
|
|
||||||
|
### 5.4 Hasil Uji Responsivitas
|
||||||
|
|
||||||
|
| No | Perangkat/Browser | Ukuran | Status | Catatan |
|
||||||
|
|---|---|---|---|---|
|
||||||
|
| 1 | Chrome Desktop | 1920×1080 | ✅ Lulus | Layout proporsional, spacing rapi |
|
||||||
|
| 2 | Chrome Mobile Sim. | 390×844 | ✅ Lulus | Card grid 1 kolom, teks 16px nyaman |
|
||||||
|
| 3 | Firefox Desktop | 1440×900 | ✅ Lulus | Konsisten dengan Chrome Desktop |
|
||||||
|
| 4 | iPhone (Safari) | 390×844 | ✅ Lulus | Hero stack sempurna, padding aman |
|
||||||
|
| 5 | Android Chrome | 360×800 | ✅ Lulus | Touch target ideal, gambar proporsional |
|
||||||
|
| 6 | iPad (Safari) | 768×1024 | ✅ Lulus | Hero 50/50, spasi sentuh lega |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 6. Use Case Diagram
|
||||||
|
|
||||||
|
### 6.1 Aktor Sistem
|
||||||
|
|
||||||
|
| Aktor | Deskripsi |
|
||||||
|
|---|---|
|
||||||
|
| Pengunjung Umum | Mahasiswa aktif, alumni, calon mahasiswa, dosen, masyarakat — tanpa autentikasi |
|
||||||
|
| Admin Prodi | Pengelola konten: memperbarui data beasiswa, testimoni, statistik via push-to-repo |
|
||||||
|
|
||||||
|
### 6.2 Daftar Use Case & Skenario
|
||||||
|
|
||||||
|
Lihat detail lengkap di SRS.md. Ringkasan:
|
||||||
|
|
||||||
|
| Kode | Nama | Aktor |
|
||||||
|
|---|---|---|
|
||||||
|
| UC-01 | Melihat Daftar Beasiswa | Pengunjung Umum |
|
||||||
|
| UC-02 | Memfilter Beasiswa Berdasarkan Kategori | Pengunjung Umum |
|
||||||
|
| UC-03 | Mencari Beasiswa | Pengunjung Umum |
|
||||||
|
| UC-04 | Melihat Detail Beasiswa (Popup) | Pengunjung Umum |
|
||||||
|
| UC-05 | Mengakses Sumber Resmi Beasiswa | Pengunjung Umum |
|
||||||
|
| UC-06 | Menghubungi Admin via CTA | Pengunjung Umum |
|
||||||
|
| UC-07 | Melihat Testimoni Penerima Beasiswa | Pengunjung Umum |
|
||||||
|
| UC-08 | Mengganti Bahasa Tampilan (ID/EN) | Pengunjung Umum |
|
||||||
|
| UC-09 | Memperbarui Data Beasiswa | Admin Prodi |
|
||||||
|
|
||||||
|
**Relasi antar UC:** UC-04 `<<include>>` UC-05 (popup detail menyertakan akses sumber resmi)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 7. Fitur Interaktif (Client-Side)
|
||||||
|
|
||||||
|
Tidak ada backend API. Semua interaktivitas dijalankan di sisi klien.
|
||||||
|
|
||||||
|
| No | Fitur | Teknologi | Keterangan |
|
||||||
|
|---|---|---|---|
|
||||||
|
| 1 | Smooth Scroll Navigasi | CSS `scroll-behavior` / JS | Scroll halus ke seksi saat klik menu |
|
||||||
|
| 2 | Sticky Navbar | CSS `position:sticky` / JS scroll | Navbar tetap di atas saat scroll |
|
||||||
|
| 3 | Hamburger Menu | JavaScript + CSS toggle | Menu responsif layar kecil |
|
||||||
|
| 4 | Active State Navbar | JS `IntersectionObserver` | Highlight menu sesuai seksi terlihat |
|
||||||
|
| 5 | Animasi Masuk (AOS) | AOS.js / CSS animation | Elemen muncul saat pertama kali di viewport |
|
||||||
|
| 6 | Counter Animasi | JavaScript | Angka statistik berjalan saat di-scroll |
|
||||||
|
| 7 | Filter Real-Time | Vanilla JavaScript | Filter kartu saat klik tab, tanpa reload |
|
||||||
|
| 8 | Pencarian Real-Time | Vanilla JavaScript | Cari beasiswa saat ketik di search bar |
|
||||||
|
| 9 | Popup Modal Detail | Vanilla JavaScript | Detail beasiswa dalam modal; tutup via ×, klik luar, atau Escape |
|
||||||
|
| 10 | Toggle Bahasa ID/EN | Vanilla JS + localStorage | Ubah teks tanpa reload, simpan preference di session |
|
||||||
|
| 11 | Carousel Testimoni | Vanilla JS / Swiper.js | Navigasi testimoni left/right; touch swipe di mobile |
|
||||||
|
| 12 | Form Kontak (Opsional) | Formspree / EmailJS / mailto | Kirim pesan tanpa backend |
|
||||||
|
| 13 | Lightbox Galeri (Opsional) | Fancybox / vanilla JS | Gambar fullscreen saat diklik |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 8. Layanan Pihak Ketiga
|
||||||
|
|
||||||
|
| Layanan | Kegunaan | Gratis? |
|
||||||
|
|---|---|---|
|
||||||
|
| Google Fonts | Tipografi (Inter/Poppins) | ✅ Ya |
|
||||||
|
| Font Awesome | Ikon UI | ✅ Ya (tier dasar) |
|
||||||
|
| Google Maps Embed | Peta lokasi di seksi kontak | ✅ Ya (basic embed) |
|
||||||
|
| Formspree | Form kontak tanpa backend | ✅ Ya (tier dasar) |
|
||||||
|
| AOS.js | Animasi scroll (Animate on Scroll) | ✅ Ya (open source) |
|
||||||
|
| Swiper.js | Carousel testimoni | ✅ Ya (open source) |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 9. Desain Keamanan
|
||||||
|
|
||||||
|
### 9.1 Keamanan Form Kontak
|
||||||
|
- Validasi client-side: semua field wajib diisi, format email dicek sebelum submit
|
||||||
|
- Rate limiting: Formspree/EmailJS membatasi pengiriman untuk mencegah spam
|
||||||
|
- reCAPTCHA (Opsional): Google reCAPTCHA v3 untuk mencegah bot
|
||||||
|
|
||||||
|
### 9.2 Keamanan Konten
|
||||||
|
- **Tidak ada data sensitif** — website tidak menyimpan data pengguna (no login, no database)
|
||||||
|
- **HTTPS wajib** — sertifikat SSL/TLS pada server hosting prodi
|
||||||
|
- **Content Security Policy** — meta CSP header untuk mencegah XSS
|
||||||
|
- **External link** — semua link eksternal menggunakan `rel="noopener noreferrer"`
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 10. Struktur File yang Direkomendasikan
|
||||||
|
|
||||||
|
```
|
||||||
|
project-root/
|
||||||
|
├── index.html # File HTML utama (one-page)
|
||||||
|
├── assets/
|
||||||
|
│ ├── css/
|
||||||
|
│ │ └── style.css # Custom CSS (jika tidak full Tailwind)
|
||||||
|
│ ├── js/
|
||||||
|
│ │ ├── main.js # Logika utama: scroll, navbar, AOS init
|
||||||
|
│ │ ├── filter.js # Filter & pencarian beasiswa
|
||||||
|
│ │ ├── popup.js # Modal popup detail beasiswa
|
||||||
|
│ │ ├── counter.js # Animasi counter statistik
|
||||||
|
│ │ ├── carousel.js # Carousel testimoni
|
||||||
|
│ │ └── i18n.js # Toggle bahasa ID/EN
|
||||||
|
│ └── images/
|
||||||
|
│ ├── hero/ # Foto hero section
|
||||||
|
│ ├── beasiswa/ # Thumbnail logo beasiswa
|
||||||
|
│ └── testimoni/ # Foto penerima beasiswa
|
||||||
|
├── data/
|
||||||
|
│ ├── beasiswa.json # Data beasiswa (diupdate oleh admin)
|
||||||
|
│ └── testimoni.json # Data testimoni
|
||||||
|
└── README.md # Panduan setup & deployment
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 11. Data Schema
|
||||||
|
|
||||||
|
### 11.1 Schema Beasiswa (`beasiswa.json`)
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"id": "string",
|
||||||
|
"nama": "string",
|
||||||
|
"kategori": "Pemerintah | Swasta",
|
||||||
|
"status": "Buka | Ditutup",
|
||||||
|
"thumbnail": "path/to/image.jpg",
|
||||||
|
"deskripsi_singkat": "string (max 150 char)",
|
||||||
|
"syarat_umum": ["string", "string"],
|
||||||
|
"kontak": "string",
|
||||||
|
"tanggal_buka": "YYYY-MM-DD",
|
||||||
|
"tanggal_tutup": "YYYY-MM-DD",
|
||||||
|
"url_sumber": "https://...",
|
||||||
|
"tags": ["S1", "S2", "Magang", "Luar Negeri"]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### 11.2 Schema Testimoni (`testimoni.json`)
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"id": "string",
|
||||||
|
"nama": "string",
|
||||||
|
"foto": "path/to/foto.jpg",
|
||||||
|
"nama_beasiswa": "string",
|
||||||
|
"kutipan": "string (max 200 char)"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 12. Referensi
|
||||||
|
|
||||||
|
1. IEEE Standard 1016-2009 — Software Design Descriptions
|
||||||
|
2. W3C — HTML5 & CSS3 Specification (https://www.w3.org)
|
||||||
|
3. Google — Web Fundamentals: Responsive Web Design
|
||||||
|
4. MDN Web Docs — CSS Media Queries
|
||||||
|
5. Figma — Design Tool Documentation
|
||||||
|
6. Nurhikmat et al. (2024) — Optimasi Responsivitas Web dengan Mobile-First Design. JINTEKS.
|
||||||
@@ -0,0 +1,337 @@
|
|||||||
|
# Software Requirements Specification (SRS)
|
||||||
|
## Pengembangan Website Statis Halaman Beasiswa
|
||||||
|
### Program Studi Informatika — Universitas Tanjungpura
|
||||||
|
|
||||||
|
| Field | Detail |
|
||||||
|
|---|---|
|
||||||
|
| Nama Proyek | Pengembangan Website Statis Halaman Beasiswa |
|
||||||
|
| Kelompok | Ape Nama Team E |
|
||||||
|
| Versi | 1.1 |
|
||||||
|
| Tanggal | 01/05/2026 |
|
||||||
|
| Dosen | Izuardo Zulkarnain, S.Pd., M.T |
|
||||||
|
| Mata Kuliah | Proyek Perangkat Lunak — Semester Genap 2025/2026 |
|
||||||
|
|
||||||
|
**Anggota Tim:**
|
||||||
|
- Djapianus Thebrianto — Project Manager
|
||||||
|
- Derangga Aray Abimanyu — Backend Developer
|
||||||
|
- Destra Aulia Faza Ananda Putra — Frontend Developer
|
||||||
|
- Dian Satrio Prayogo — UI/UX Designer
|
||||||
|
- Jonathan Geral Nababan — Quality Assurance
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 1. Pendahuluan
|
||||||
|
|
||||||
|
### 1.1 Tujuan Dokumen
|
||||||
|
|
||||||
|
SRS ini memberikan spesifikasi teknis dan fungsional untuk pengembangan Website Statis Beasiswa Informatika Universitas Tanjungpura. Dokumen ini memastikan:
|
||||||
|
|
||||||
|
- Pengembang membangun sistem dengan kode sederhana yang mudah di-maintain melalui mekanisme push-to-repo ke dedicated server prodi.
|
||||||
|
- Penyajian data beasiswa (nama & syarat umum) dilakukan melalui fitur **Pop-up** dengan akses langsung ke admin via WhatsApp dan Instagram kemahasiswaan UNTAN.
|
||||||
|
- Proyek mengalihkan alur data dari portal universitas/survei admin ke static page dengan **availability 24 jam**.
|
||||||
|
|
||||||
|
**Ditujukan kepada:** Tim Ape Nama Team E, Product Owner (dosen), dan Administrator Prodi.
|
||||||
|
|
||||||
|
### 1.2 Ruang Lingkup
|
||||||
|
|
||||||
|
Website statis single-page yang menjadi pusat informasi beasiswa, riset, dan pengembangan karir — terintegrasi dengan infrastruktur server Prodi Informatika UNTAN.
|
||||||
|
|
||||||
|
**Fitur yang dicakup:**
|
||||||
|
- Direktori beasiswa (mahasiswa aktif, alumni, S2 luar negeri, magang)
|
||||||
|
- Detail beasiswa via popup (nama + syarat umum)
|
||||||
|
- Data beasiswa dari web scraping sumber resmi
|
||||||
|
- Seksi testimoni penerima beasiswa (foto, profil, kutipan)
|
||||||
|
- Toggle bahasa Indonesia / Inggris (bilingual)
|
||||||
|
- CTA ke WhatsApp admin & Instagram kemahasiswaan UNTAN
|
||||||
|
|
||||||
|
**Yang TIDAK dicakup:**
|
||||||
|
- Formulir pendaftaran (diarahkan ke URL asli penyedia)
|
||||||
|
- Halaman admin berbasis web (update via push-to-repo)
|
||||||
|
- Database — data bersifat statis (JSON/JS di repositori)
|
||||||
|
|
||||||
|
### 1.3 Definisi & Akronim
|
||||||
|
|
||||||
|
| Istilah | Definisi |
|
||||||
|
|---|---|
|
||||||
|
| Native Website | Web dengan HTML, CSS, JS murni tanpa framework kompleks |
|
||||||
|
| Scraping | Pengambilan data otomatis dari website eksternal |
|
||||||
|
| Dedicated Server | Server milik Prodi Informatika UNTAN (Dev & Production) |
|
||||||
|
| Pop-up / Modal | Jendela overlay di atas halaman tanpa reload |
|
||||||
|
| CTA | Call-to-Action — tombol ajakan ke WhatsApp/Instagram |
|
||||||
|
| Availability | Kemampuan sistem beroperasi 24 jam |
|
||||||
|
| Puify | Platform SaaS otomatisasi deployment dari repo ke server |
|
||||||
|
|
||||||
|
### 1.4 Referensi
|
||||||
|
- IEEE Std 830-1998 — Software Requirements Specifications
|
||||||
|
- UU No. 27 Tahun 2022 tentang Perlindungan Data Pribadi (UU PDP)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 2. Deskripsi Umum Sistem
|
||||||
|
|
||||||
|
### 2.1 Perspektif Produk
|
||||||
|
|
||||||
|
Produk baru berdiri sendiri sebagai **single static landing page** — bukan pengganti sistem lama. Website ini hadir sebagai transformasi digital dari penyebaran info beasiswa yang sebelumnya manual (portal, surat kabar mahasiswa, grup medsos) ke satu platform terpusat.
|
||||||
|
|
||||||
|
**Integrasi eksternal (satu arah):**
|
||||||
|
- Website resmi penyedia beasiswa (data via scraping)
|
||||||
|
- API Website Informatika UNTAN (konten artikel/berita)
|
||||||
|
- WhatsApp & Instagram Kemahasiswaan UNTAN (CTA)
|
||||||
|
|
||||||
|
Tidak ada antarmuka admin berbasis web. Semua update konten via **push ke GitHub → auto-deploy ke server** melalui Puify.
|
||||||
|
|
||||||
|
### 2.2 Fungsi Utama Sistem
|
||||||
|
|
||||||
|
| Kode | Fungsi | Deskripsi |
|
||||||
|
|---|---|---|
|
||||||
|
| F01 | Direktori Beasiswa | Grid kartu beasiswa aktif, S2, magang, penelitian dari berbagai sumber resmi |
|
||||||
|
| F02 | Filter & Pencarian | Saring berdasarkan kategori (Semua/Buka/Ditutup/Pemerintah/Swasta) + real-time search |
|
||||||
|
| F03 | Detail via Pop-up | Modal berisi nama, syarat umum, kontak, tautan sumber resmi |
|
||||||
|
| F04 | Testimoni | Foto, nama, nama beasiswa, kutipan dari penerima beasiswa |
|
||||||
|
| F05 | CTA Hubungi Admin | Tombol cepat ke WhatsApp admin & Instagram kemahasiswaan |
|
||||||
|
| F06 | Bilingual ID/EN | Toggle bahasa Indonesia ↔ Inggris tanpa reload |
|
||||||
|
| F07 | Update via Repository | Admin edit file data + push → halaman publik auto-update |
|
||||||
|
|
||||||
|
### 2.3 Kelas Pengguna
|
||||||
|
|
||||||
|
| Kelas | Karakteristik | Hak Akses |
|
||||||
|
|---|---|---|
|
||||||
|
| Pengunjung Umum | Mahasiswa aktif, alumni, masyarakat — tanpa login | Lihat konten, filter, search, buka popup, akses link eksternal |
|
||||||
|
| Admin Prodi | Staf/mahasiswa dengan kemampuan Git dasar | Edit file data di GitHub → push → deploy otomatis |
|
||||||
|
|
||||||
|
### 2.4 Lingkungan Operasional
|
||||||
|
|
||||||
|
| Komponen | Spesifikasi |
|
||||||
|
|---|---|
|
||||||
|
| Platform | Browser modern: Chrome ≥v100, Firefox ≥v100, Edge ≥v100, Safari ≥v15 |
|
||||||
|
| Server/Hosting | Dedicated server Prodi Informatika UNTAN (Dev & Production) via Puify |
|
||||||
|
| Database | Tidak ada — data di file statis JSON/JS di repositori |
|
||||||
|
| Bahasa Pemrograman | HTML5, CSS3 + Tailwind CSS, JavaScript ES6+ |
|
||||||
|
| Version Control | Git / GitHub |
|
||||||
|
| Koneksi | Min 1 Mbps (dasar), 10 Mbps (optimal) |
|
||||||
|
|
||||||
|
### 2.5 Asumsi & Ketergantungan
|
||||||
|
|
||||||
|
**Asumsi:**
|
||||||
|
- Pengunjung menggunakan browser modern dengan JS ES6+ dan CSS3 aktif
|
||||||
|
- Data beasiswa sudah diverifikasi admin sebelum dipublikasikan
|
||||||
|
- Perangkat pengunjung mendukung akses WhatsApp (app atau web)
|
||||||
|
|
||||||
|
**Ketergantungan:**
|
||||||
|
- Dedicated server Prodi UNTAN harus aktif untuk availability 24 jam
|
||||||
|
- Update data bergantung pada keaktifan admin melakukan push secara berkala
|
||||||
|
- Fitur berita bergantung pada stabilitas API Website Informatika UNTAN
|
||||||
|
- CTA bergantung pada keaktifan nomor WhatsApp & akun Instagram kemahasiswaan
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 3. Kebutuhan Fungsional
|
||||||
|
|
||||||
|
### 3.1 Daftar Use Case
|
||||||
|
|
||||||
|
| UC ID | Nama Use Case | Aktor | Prioritas (MoSCoW) |
|
||||||
|
|---|---|---|---|
|
||||||
|
| UC-01 | Melihat Daftar Beasiswa | Pengunjung Umum | Must Have |
|
||||||
|
| UC-02 | Memfilter Beasiswa Berdasarkan Kategori | Pengunjung Umum | Must Have |
|
||||||
|
| UC-03 | Mencari Beasiswa | Pengunjung Umum | Must Have |
|
||||||
|
| UC-04 | Melihat Detail Beasiswa (Popup) | Pengunjung Umum | Must Have |
|
||||||
|
| UC-05 | Mengakses Sumber Informasi Beasiswa | Pengunjung Umum | Must Have |
|
||||||
|
| UC-06 | Menghubungi Admin via CTA | Pengunjung Umum | Must Have |
|
||||||
|
| UC-07 | Melihat Testimoni Penerima Beasiswa | Pengunjung Umum | Should Have |
|
||||||
|
| UC-08 | Mengganti Bahasa Tampilan (ID/EN) | Pengunjung Umum | Should Have |
|
||||||
|
| UC-09 | Memperbarui Data Beasiswa | Admin Prodi | Must Have |
|
||||||
|
|
||||||
|
### 3.2 Detail Use Case
|
||||||
|
|
||||||
|
#### UC-01: Melihat Daftar Beasiswa
|
||||||
|
| Field | Detail |
|
||||||
|
|---|---|
|
||||||
|
| Aktor | Pengunjung Umum |
|
||||||
|
| Precondition | Halaman berhasil dimuat di browser |
|
||||||
|
| Trigger | Pengunjung membuka URL atau scroll ke seksi Daftar Beasiswa |
|
||||||
|
| Main Flow | 1. Pengunjung buka URL halaman<br>2. Sistem tampilkan hero, statistik, daftar beasiswa<br>3. Kartu ditampilkan grid: 3 kolom desktop / 2 tablet / 1 mobile<br>4. Tiap kartu: thumbnail, badge status, nama, deskripsi singkat, tanggal, tombol "Selengkapnya"<br>5. Paginasi tampil di bawah grid jika beasiswa > 1 halaman |
|
||||||
|
| Alt Flow | 3a. Koneksi lambat → skeleton loading<br>3b. Tidak ada data → tampil "Belum ada beasiswa tersedia saat ini." |
|
||||||
|
| Postcondition | Pengunjung dapat melihat seluruh daftar beasiswa |
|
||||||
|
|
||||||
|
#### UC-02: Memfilter Beasiswa Berdasarkan Kategori
|
||||||
|
| Field | Detail |
|
||||||
|
|---|---|
|
||||||
|
| Aktor | Pengunjung Umum |
|
||||||
|
| Precondition | Halaman dimuat, daftar beasiswa tampil |
|
||||||
|
| Trigger | Pengunjung klik salah satu tab filter |
|
||||||
|
| Main Flow | 1. Tampil tab: Semua \| Sedang Buka \| Ditutup \| Pemerintah \| Swasta<br>2. Pengunjung klik tab<br>3. Sistem real-time filter beasiswa sesuai kategori<br>4. Tab aktif ditandai bold/underline/warna<br>5. Jumlah hasil diperbarui |
|
||||||
|
| Alt Flow | 3a. Tidak ada hasil → "Tidak ada beasiswa pada kategori ini."<br>3b. Klik "Semua" → tampil semua beasiswa |
|
||||||
|
| Postcondition | Daftar beasiswa sesuai filter yang dipilih |
|
||||||
|
|
||||||
|
#### UC-03: Mencari Beasiswa
|
||||||
|
| Field | Detail |
|
||||||
|
|---|---|
|
||||||
|
| Aktor | Pengunjung Umum |
|
||||||
|
| Precondition | Halaman dimuat, kolom pencarian tersedia |
|
||||||
|
| Trigger | Pengunjung mengetik di kolom pencarian |
|
||||||
|
| Main Flow | 1. Pengunjung klik kolom pencarian<br>2. Ketik kata kunci (misal: "Pertamina", "KIP", "luar negeri")<br>3. Sistem real-time filter kartu yang nama/deskripsinya cocok<br>4. Hapus kata kunci → kembali ke tampilan penuh<br>5. Filter dan pencarian dapat aktif bersamaan (kumulatif) |
|
||||||
|
| Alt Flow | 3a. Tidak ada hasil → "Tidak ditemukan beasiswa yang sesuai pencarian Anda." |
|
||||||
|
| Postcondition | Daftar beasiswa sesuai kata kunci |
|
||||||
|
|
||||||
|
#### UC-04: Melihat Detail Beasiswa (Popup)
|
||||||
|
| Field | Detail |
|
||||||
|
|---|---|
|
||||||
|
| Aktor | Pengunjung Umum |
|
||||||
|
| Precondition | Kartu beasiswa tampil, pengunjung menemukan beasiswa yang diinginkan |
|
||||||
|
| Trigger | Klik tombol "Selengkapnya →" pada kartu |
|
||||||
|
| Main Flow | 1. Klik "Selengkapnya →"<br>2. Sistem tampilkan modal popup berisi: nama + thumbnail, badge status, syarat umum ringkasan, kontak, tombol "Info Lebih Lanjut" (→ URL sumber resmi di tab baru)<br>3. Background di-overlay gelap<br>4. Tutup via: tombol ×, klik di luar area, atau tekan Escape |
|
||||||
|
| Alt Flow | 4a. Klik "Info Lebih Lanjut" → jalankan UC-05 |
|
||||||
|
| Postcondition | Pengunjung mendapat info ringkas dan dapat lanjut ke sumber resmi |
|
||||||
|
|
||||||
|
#### UC-05: Mengakses Sumber Informasi Beasiswa
|
||||||
|
| Field | Detail |
|
||||||
|
|---|---|
|
||||||
|
| Aktor | Pengunjung Umum |
|
||||||
|
| Precondition | Popup detail terbuka, tombol "Info Lebih Lanjut" tersedia |
|
||||||
|
| Trigger | Klik tombol "Info Lebih Lanjut" di popup |
|
||||||
|
| Main Flow | 1. Klik tombol<br>2. Sistem buka URL sumber resmi di tab baru<br>3. Popup di tab asal tetap terbuka |
|
||||||
|
| Alt Flow | 3a. URL tidak tersedia → "Tautan tidak tersedia. Silakan hubungi admin prodi." |
|
||||||
|
| Postcondition | Pengunjung diarahkan ke sumber resmi beasiswa |
|
||||||
|
|
||||||
|
#### UC-06: Menghubungi Admin via CTA
|
||||||
|
| Field | Detail |
|
||||||
|
|---|---|
|
||||||
|
| Aktor | Pengunjung Umum |
|
||||||
|
| Precondition | Pengunjung ingin info lebih lanjut |
|
||||||
|
| Trigger | Scroll ke seksi CTA, klik salah satu tombol |
|
||||||
|
| Main Flow | 1. Scroll ke CTA ("Ingin Tahu Lebih Banyak tentang Beasiswa?")<br>2. Tampil dua tombol: "Hubungi Admin" (WhatsApp) + "Instagram Beasiswa" (IG kemahasiswaan)<br>3. Klik tombol → buka platform di tab baru |
|
||||||
|
| Alt Flow | 4a. Tanpa WhatsApp terinstall → buka WhatsApp Web |
|
||||||
|
| Postcondition | Pengunjung terhubung dengan admin atau follow Instagram |
|
||||||
|
|
||||||
|
#### UC-07: Melihat Testimoni Penerima Beasiswa
|
||||||
|
| Field | Detail |
|
||||||
|
|---|---|
|
||||||
|
| Aktor | Pengunjung Umum |
|
||||||
|
| Precondition | Halaman dimuat, data testimoni tersedia di source code |
|
||||||
|
| Trigger | Scroll ke seksi Testimoni |
|
||||||
|
| Main Flow | 1. Scroll ke seksi Testimoni<br>2. Tampil kartu testimoni: foto, nama, nama beasiswa, kutipan singkat<br>3. Jika > 3 testimoni → navigasi carousel/tombol selanjutnya |
|
||||||
|
| Alt Flow | 2a. Belum ada data → seksi tidak ditampilkan atau tampil placeholder |
|
||||||
|
| Postcondition | Pengunjung mendapat gambaran pengalaman penerima beasiswa |
|
||||||
|
|
||||||
|
#### UC-08: Mengganti Bahasa Tampilan (ID/EN)
|
||||||
|
| Field | Detail |
|
||||||
|
|---|---|
|
||||||
|
| Aktor | Pengunjung Umum |
|
||||||
|
| Precondition | Toggle ID\|EN tersedia di header navigasi |
|
||||||
|
| Trigger | Klik toggle bahasa di pojok kanan header |
|
||||||
|
| Main Flow | 1. Pengunjung lihat toggle ID \| EN di kanan atas<br>2. Klik bahasa yang diinginkan<br>3. Seluruh teks berubah tanpa reload<br>4. Pilihan tersimpan di session (tidak reset saat scroll/filter) |
|
||||||
|
| Alt Flow | 3a. Konten hanya tersedia 1 bahasa → tetap tampil bahasa aslinya |
|
||||||
|
| Postcondition | Halaman tampil dalam bahasa yang dipilih |
|
||||||
|
|
||||||
|
#### UC-09: Memperbarui Data Beasiswa
|
||||||
|
| Field | Detail |
|
||||||
|
|---|---|
|
||||||
|
| Aktor | Admin Prodi |
|
||||||
|
| Precondition | Admin punya akses repo, ada info beasiswa baru/perubahan status |
|
||||||
|
| Trigger | Admin mendapat informasi update dari survei/portal/sumber lain |
|
||||||
|
| Main Flow | 1. Admin dapat info baru/perubahan status<br>2. Edit file data beasiswa (nama, kategori, status, syarat, kontak, URL)<br>3. Simpan dan push ke GitHub<br>4. Halaman publik auto-update dalam waktu singkat via Puify |
|
||||||
|
| Alt Flow | 3a. Error saat deploy → halaman publik tidak berubah, admin perbaiki dan push ulang |
|
||||||
|
| Postcondition | Info beasiswa terbaru tersedia di halaman publik 24/7 |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 4. Kebutuhan Antarmuka Eksternal
|
||||||
|
|
||||||
|
### 4.1 Antarmuka Pengguna (UI)
|
||||||
|
|
||||||
|
- Responsive design: breakpoint 320px (mobile), 768px (tablet), 1280px (desktop)
|
||||||
|
- Warna utama: Biru Informatika `#2B4590` dan Kuning `#F5A623` (branding UNTAN)
|
||||||
|
- Font: Inter atau Poppins, minimal 14px untuk body text
|
||||||
|
- Waktu respons antarmuka ≤ 3 detik pada koneksi 10 Mbps
|
||||||
|
- Aksesibilitas WCAG 2.1 level AA (kontras warna, ARIA label, navigasi keyboard)
|
||||||
|
- Semua elemen interaktif memiliki feedback visual saat hover/klik
|
||||||
|
|
||||||
|
**Halaman / Seksi:**
|
||||||
|
|
||||||
|
| Seksi | ID | Konten Utama |
|
||||||
|
|---|---|---|
|
||||||
|
| Header & Navigasi | — | Navbar sticky, logo UNTAN, toggle ID/EN, info ticker |
|
||||||
|
| Hero | `#hero` | Judul "Beasiswa Studi & Penelitian", deskripsi, CTA kuning, foto mahasiswa |
|
||||||
|
| Statistik Counter | `#statistics` | 3 angka animasi: Total Penerima, Pemerintah, Swasta |
|
||||||
|
| Direktori Beasiswa | `#directory` | Grid kartu, tab filter, real-time search, popup detail |
|
||||||
|
| Testimoni | `#testimonial` | Carousel foto+nama+kutipan penerima beasiswa |
|
||||||
|
| CTA | `#cta` | Banner ajakan + tombol WhatsApp & Instagram |
|
||||||
|
| Footer | `#footer` | Logo, alamat, kontak, sosial media, ilustrasi Pontianak |
|
||||||
|
|
||||||
|
### 4.2 Antarmuka Hardware
|
||||||
|
- Browser modern: Chrome/Firefox/Edge ≥v100, Safari ≥v15
|
||||||
|
- Koneksi minimal 1 Mbps; optimal 10 Mbps
|
||||||
|
- Resolusi minimal 320px lebar
|
||||||
|
- Tidak butuh hardware khusus (kamera, printer, sensor, dll.)
|
||||||
|
|
||||||
|
### 4.3 Antarmuka Software
|
||||||
|
|
||||||
|
| Layanan | Tujuan | Protokol |
|
||||||
|
|---|---|---|
|
||||||
|
| Dedicated Server + Puify | Hosting dev & production, auto-deploy dari GitHub | HTTPS |
|
||||||
|
| GitHub | Version control, kolaborasi, deliverable akhir | HTTPS/SSH |
|
||||||
|
| Sumber Resmi Beasiswa | Link eksternal di popup (dibuka tab baru) | HTTPS |
|
||||||
|
| WhatsApp / Instagram UNTAN | Tombol CTA | HTTPS / wa.me |
|
||||||
|
| Figma | Desain mockup & wireframe acuan implementasi | HTTPS |
|
||||||
|
| Web Scraper | Ambil data beasiswa dari sumber resmi | HTTPS |
|
||||||
|
|
||||||
|
### 4.4 Antarmuka Komunikasi
|
||||||
|
- Semua file dikirim via HTTPS dengan sertifikat SSL/TLS valid
|
||||||
|
- Fitur interaktif (filter, search, toggle bahasa, popup, counter) berjalan client-side (JS) — tanpa request ke server
|
||||||
|
- Semua link eksternal: `target="_blank"` + `rel="noopener noreferrer"`
|
||||||
|
- Tidak menggunakan cookie, session storage, atau autentikasi pengguna (v1.0)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 5. Kebutuhan Non-Fungsional
|
||||||
|
|
||||||
|
### NFR-01: Performa
|
||||||
|
- **P-01** Loading halaman ≤ 3 detik pada koneksi 10 Mbps
|
||||||
|
- **P-02** Filter beasiswa merespons < 0,5 detik setelah klik
|
||||||
|
- **P-03** Tetap responsif dan optimal di desktop, tablet, dan smartphone
|
||||||
|
|
||||||
|
### NFR-02: Keamanan
|
||||||
|
- **S-01** Semua komunikasi via HTTPS dengan SSL/TLS
|
||||||
|
- **S-02** Source code bersih dari script berbahaya, bebas celah XSS
|
||||||
|
- **S-03** Semua link CTA dan pendaftaran mengarah ke sumber resmi tervalidasi
|
||||||
|
|
||||||
|
### NFR-03: Skalabilitas
|
||||||
|
- **SC-01** Mampu menampilkan minimal 100 data beasiswa tanpa penurunan performa
|
||||||
|
- **SC-02** Struktur kode memungkinkan penambahan kategori baru tanpa perubahan besar
|
||||||
|
- **SC-03** Sistem bilingual mendukung penambahan bahasa baru di masa depan
|
||||||
|
|
||||||
|
### NFR-04: Ketersediaan & Reliabilitas
|
||||||
|
- **R-01** Uptime minimal 99% selama masa operasional
|
||||||
|
- **R-02** Dapat diakses 24 jam selama server aktif
|
||||||
|
- **R-03** Backup source code via Git/GitHub untuk pemulihan data
|
||||||
|
|
||||||
|
### NFR-05: Usability
|
||||||
|
- **U-01** Antarmuka bilingual ID/EN
|
||||||
|
- **U-02** Pengguna menemukan info beasiswa dalam < 2 menit via navigasi & filter
|
||||||
|
- **U-03** Tombol CTA di Hero kontras dan posisinya jelas
|
||||||
|
|
||||||
|
### NFR-06: Maintainability
|
||||||
|
- **M-01** Tech stack: HTML5, CSS3 + Tailwind CSS, JavaScript ES6+ — kode rapi dan mudah dipelihara
|
||||||
|
- **M-02** Semua perubahan dikelola via Git/GitHub (version control)
|
||||||
|
- **M-03** Dokumentasi teknis & panduan deployment disertakan saat penyerahan akhir
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 6. Batasan & Kendala
|
||||||
|
|
||||||
|
### 6.1 Batasan Implementasi
|
||||||
|
- Tech stack terkunci: HTML5, CSS3, Tailwind CSS, JavaScript ES6+, Figma, Git/GitHub
|
||||||
|
- Single static landing page — tidak ada backend, database, atau login
|
||||||
|
- Harus berjalan optimal di Chrome, Firefox, Edge versi terbaru
|
||||||
|
- Wajib responsif: desktop, tablet, smartphone
|
||||||
|
|
||||||
|
### 6.2 Batasan Proyek
|
||||||
|
- Durasi: 10 hari kerja (1 Mei – 11 Mei 2026)
|
||||||
|
- Tim: 5 orang dengan peran tetap (PM, Backend, Frontend, UI/UX, QA)
|
||||||
|
- Revisi antarmuka/konten sesuai batas yang disepakati
|
||||||
|
- Penambahan fitur baru saat development = di luar ruang lingkup utama
|
||||||
|
|
||||||
|
### 6.3 Regulasi & Standar
|
||||||
|
- UU PDP No. 27/2022 untuk pengelolaan data testimoni mahasiswa
|
||||||
|
- Visual harus selaras branding resmi Informatika UNTAN
|
||||||
|
- Memenuhi prinsip aksesibilitas dasar (navigasi jelas, tampilan informatif)
|
||||||
|
After Width: | Height: | Size: 7.4 MiB |
|
After Width: | Height: | Size: 848 KiB |
|
After Width: | Height: | Size: 755 KiB |
@@ -0,0 +1,81 @@
|
|||||||
|
// =====================================================
|
||||||
|
// API.js — Mekanisme Fetch Data Beasiswa (terpusat)
|
||||||
|
// -----------------------------------------------------
|
||||||
|
// Alur: coba API remote (Directus publik) → jika gagal,
|
||||||
|
// fallback ke berkas lokal `data/beasiswa.json`.
|
||||||
|
//
|
||||||
|
// Data remote dinormalisasi ke skema UI yang sama dengan
|
||||||
|
// data lokal agar filter.js dan popup.js tidak perlu berubah.
|
||||||
|
// =====================================================
|
||||||
|
|
||||||
|
(function (global) {
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
const CONFIG = {
|
||||||
|
baseUrl: 'https://api.ifuntanhub.dev',
|
||||||
|
collection: '/items/beasiswa',
|
||||||
|
localSource: 'data/beasiswa.json',
|
||||||
|
};
|
||||||
|
|
||||||
|
// Normalise status remote → nilai yang dipakai UI
|
||||||
|
function normalizeStatus(s) {
|
||||||
|
if (!s) return 'Ditutup';
|
||||||
|
const lower = s.toLowerCase();
|
||||||
|
if (lower === 'dibuka' || lower === 'buka') return 'Buka';
|
||||||
|
if (lower === 'ditutup') return 'Ditutup';
|
||||||
|
return s; // "Segera Dibuka" atau nilai lain: tampilkan apa adanya
|
||||||
|
}
|
||||||
|
|
||||||
|
// Petakan satu item Directus ke skema yang diharapkan filter.js / popup.js
|
||||||
|
function normalizeItem(item) {
|
||||||
|
const parts = [item.jenjang, item.negara, item.tipe_pendanaan].filter(Boolean);
|
||||||
|
return {
|
||||||
|
id: String(item.id),
|
||||||
|
nama: item.nama || '',
|
||||||
|
status: normalizeStatus(item.status),
|
||||||
|
kategori: item.tipe_pendanaan || '',
|
||||||
|
thumbnail: '',
|
||||||
|
deskripsi_singkat: parts.join(' · ') || 'Info beasiswa tersedia di sumber resmi.',
|
||||||
|
tanggal_buka: item.tanggal_buka || '',
|
||||||
|
tanggal_tutup: item.tenggat_waktu || '',
|
||||||
|
url_sumber: item.url || '',
|
||||||
|
syarat_umum: [],
|
||||||
|
kontak: '',
|
||||||
|
tags: parts,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
async function fetchRemote() {
|
||||||
|
const res = await fetch(CONFIG.baseUrl + CONFIG.collection);
|
||||||
|
if (!res.ok) throw new Error(`API merespons HTTP ${res.status}`);
|
||||||
|
const json = await res.json();
|
||||||
|
return (json.data || []).map(normalizeItem);
|
||||||
|
}
|
||||||
|
|
||||||
|
async function fetchLocal() {
|
||||||
|
const res = await fetch(CONFIG.localSource);
|
||||||
|
if (!res.ok) throw new Error(`Gagal memuat data lokal (HTTP ${res.status})`);
|
||||||
|
const json = await res.json();
|
||||||
|
return Array.isArray(json) ? json : json.data || [];
|
||||||
|
}
|
||||||
|
|
||||||
|
async function getBeasiswa() {
|
||||||
|
try {
|
||||||
|
// Prioritas: data lokal (lengkap: url_sumber, syarat_umum, kontak tersedia)
|
||||||
|
// Remote API digunakan hanya sebagai fallback jika data lokal tidak ditemukan.
|
||||||
|
const data = await fetchLocal();
|
||||||
|
return { data, source: 'local' };
|
||||||
|
} catch (err) {
|
||||||
|
console.warn('[BeasiswaAPI] Data lokal gagal, fallback ke API remote:', err.message);
|
||||||
|
try {
|
||||||
|
const data = await fetchRemote();
|
||||||
|
return { data, source: 'remote' };
|
||||||
|
} catch (remoteErr) {
|
||||||
|
console.error('[BeasiswaAPI] Semua sumber gagal:', remoteErr.message);
|
||||||
|
throw remoteErr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
global.BeasiswaAPI = { config: CONFIG, getBeasiswa, fetchRemote, fetchLocal };
|
||||||
|
})(window);
|
||||||
@@ -0,0 +1,140 @@
|
|||||||
|
// =====================================================
|
||||||
|
// carousel.js — Swiper.js Carousel Testimoni
|
||||||
|
// Touch-friendly, auto-play, responsive breakpoints
|
||||||
|
// + DUKUNGAN MULTI-BAHASA (ID/EN) Terintegrasi
|
||||||
|
// =====================================================
|
||||||
|
|
||||||
|
let testimoniSwiper = null;
|
||||||
|
let allTestimoniData = []; // Simpan data di memori agar tidak perlu loading ulang saat ganti bahasa
|
||||||
|
|
||||||
|
// 1. Variabel penampung bahasa yang terhubung otomatis dengan tombol ID/EN
|
||||||
|
let activeCarouselLang = localStorage.getItem('if_untan_lang') || document.documentElement.lang || 'id';
|
||||||
|
|
||||||
|
// 2. Tangkap event perubahan bahasa secara langsung dari localization.js
|
||||||
|
document.addEventListener('languageChanged', (e) => {
|
||||||
|
// Update bahasa
|
||||||
|
if (e.detail && e.detail.lang) {
|
||||||
|
activeCarouselLang = e.detail.lang;
|
||||||
|
} else if (typeof window.getLang === 'function') {
|
||||||
|
activeCarouselLang = window.getLang();
|
||||||
|
} else {
|
||||||
|
activeCarouselLang = document.documentElement.lang || 'id';
|
||||||
|
}
|
||||||
|
|
||||||
|
// Jika data sudah ada, langsung cetak ulang testimoninya
|
||||||
|
if (allTestimoniData && allTestimoniData.length > 0) {
|
||||||
|
renderTestimoniSlides(allTestimoniData);
|
||||||
|
initSwiper(allTestimoniData.length); // Swiper harus di-restart agar animasinya tidak rusak
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
/** Render slide testimoni ke dalam swiper-wrapper */
|
||||||
|
function renderTestimoniSlides(data) {
|
||||||
|
const wrapper = document.getElementById('testimonial-wrapper');
|
||||||
|
if (!wrapper) return;
|
||||||
|
|
||||||
|
const lang = activeCarouselLang; // Gunakan bahasa terbaru
|
||||||
|
|
||||||
|
wrapper.innerHTML = data.map(t => {
|
||||||
|
// Logika Pintar: Cek mode bahasa. Jika 'en' dan teks terjemahannya ada, pakai bahasa Inggris.
|
||||||
|
// Jika tidak, tetap tampilkan teks bahasa Indonesia (sebagai cadangan).
|
||||||
|
const beasiswaName = (lang === 'en' && t.nama_beasiswa_en) ? t.nama_beasiswa_en : t.nama_beasiswa;
|
||||||
|
const quote = (lang === 'en' && t.kutipan_en) ? t.kutipan_en : t.kutipan;
|
||||||
|
|
||||||
|
return `
|
||||||
|
<div class="swiper-slide" style="height:auto;">
|
||||||
|
<div class="testimonial-card">
|
||||||
|
<img
|
||||||
|
src="${t.foto}"
|
||||||
|
alt="Foto ${t.nama}"
|
||||||
|
class="testimonial-avatar"
|
||||||
|
loading="lazy"
|
||||||
|
onerror="
|
||||||
|
this.style.display='none';
|
||||||
|
this.nextElementSibling.style.display='flex';
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="testimonial-avatar"
|
||||||
|
style="
|
||||||
|
display:none;
|
||||||
|
background:linear-gradient(135deg,#003150,#4a6bc5);
|
||||||
|
align-items:center;
|
||||||
|
justify-content:center;
|
||||||
|
color:white;
|
||||||
|
font-size:22px;
|
||||||
|
font-weight:700;
|
||||||
|
"
|
||||||
|
>
|
||||||
|
${t.nama.charAt(0).toUpperCase()}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="testimonial-name">${t.nama}</div>
|
||||||
|
<div class="testimonial-beasiswa">${beasiswaName}</div>
|
||||||
|
<p class="testimonial-quote">"${quote}"</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
`;
|
||||||
|
}).join('');
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Inisialisasi Swiper setelah slide di-render */
|
||||||
|
function initSwiper(count) {
|
||||||
|
// Bersihkan swiper lama jika ada (penting agar tidak menumpuk saat ganti bahasa)
|
||||||
|
if (testimoniSwiper) {
|
||||||
|
testimoniSwiper.destroy(true, true);
|
||||||
|
testimoniSwiper = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
testimoniSwiper = new Swiper('.testimonial-swiper', {
|
||||||
|
slidesPerView: 1,
|
||||||
|
spaceBetween: 24,
|
||||||
|
loop: count > 3,
|
||||||
|
centerInsufficientSlides: true,
|
||||||
|
autoplay: {
|
||||||
|
delay: 4500,
|
||||||
|
disableOnInteraction: false,
|
||||||
|
pauseOnMouseEnter: true,
|
||||||
|
},
|
||||||
|
pagination: {
|
||||||
|
el: '.testimonial-pagination',
|
||||||
|
clickable: true,
|
||||||
|
},
|
||||||
|
grabCursor: true,
|
||||||
|
breakpoints: {
|
||||||
|
640: { slidesPerView: 2 },
|
||||||
|
1024: { slidesPerView: 3 },
|
||||||
|
},
|
||||||
|
// Dukungan Aksesibilitas Dinamis (VoiceOver / Screen Reader)
|
||||||
|
a11y: {
|
||||||
|
prevSlideMessage: activeCarouselLang === 'en' ? 'Previous slide' : 'Slide sebelumnya',
|
||||||
|
nextSlideMessage: activeCarouselLang === 'en' ? 'Next slide' : 'Slide berikutnya',
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Fetch data testimoni dan render */
|
||||||
|
async function initCarousel() {
|
||||||
|
const section = document.getElementById('testimonial');
|
||||||
|
|
||||||
|
try {
|
||||||
|
const res = await fetch('data/testimoni.json');
|
||||||
|
if (!res.ok) throw new Error(`HTTP ${res.status}`);
|
||||||
|
|
||||||
|
const data = await res.json();
|
||||||
|
allTestimoniData = data; // Simpan ke variabel global
|
||||||
|
|
||||||
|
if (!data || data.length === 0) {
|
||||||
|
section?.classList.add('hidden');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
renderTestimoniSlides(data);
|
||||||
|
requestAnimationFrame(() => initSwiper(data.length));
|
||||||
|
|
||||||
|
} catch {
|
||||||
|
section?.classList.add('hidden');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
document.addEventListener('DOMContentLoaded', initCarousel);
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
// =====================================================
|
||||||
|
// counter.js — Animasi Counter Statistik
|
||||||
|
// Menggunakan IntersectionObserver + requestAnimationFrame
|
||||||
|
// =====================================================
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Animasi angka dari 0 ke nilai target
|
||||||
|
* @param {HTMLElement} el - Elemen yang menampilkan angka
|
||||||
|
* @param {number} target - Angka target
|
||||||
|
* @param {number} duration - Durasi animasi dalam ms
|
||||||
|
*/
|
||||||
|
function animateCounter(el, target, duration = 1800) {
|
||||||
|
const startTime = performance.now();
|
||||||
|
|
||||||
|
function update(currentTime) {
|
||||||
|
const elapsed = currentTime - startTime;
|
||||||
|
const progress = Math.min(elapsed / duration, 1);
|
||||||
|
|
||||||
|
// Ease out cubic — percepat di awal, lambat di akhir
|
||||||
|
const eased = 1 - Math.pow(1 - progress, 3);
|
||||||
|
const current = Math.round(eased * target);
|
||||||
|
|
||||||
|
el.textContent = current;
|
||||||
|
|
||||||
|
if (progress < 1) {
|
||||||
|
requestAnimationFrame(update);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
requestAnimationFrame(update);
|
||||||
|
}
|
||||||
|
|
||||||
|
function initCounters() {
|
||||||
|
const counters = document.querySelectorAll('[data-counter]');
|
||||||
|
if (!counters.length) return;
|
||||||
|
|
||||||
|
const observer = new IntersectionObserver(
|
||||||
|
(entries) => {
|
||||||
|
entries.forEach(entry => {
|
||||||
|
if (entry.isIntersecting && !entry.target.dataset.animated) {
|
||||||
|
entry.target.dataset.animated = 'true';
|
||||||
|
const target = parseInt(entry.target.dataset.counter, 10) || 0;
|
||||||
|
animateCounter(entry.target, target);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
{ threshold: 0.6 }
|
||||||
|
);
|
||||||
|
|
||||||
|
counters.forEach(el => observer.observe(el));
|
||||||
|
}
|
||||||
|
|
||||||
|
document.addEventListener('DOMContentLoaded', initCounters);
|
||||||
@@ -0,0 +1,288 @@
|
|||||||
|
// =====================================================
|
||||||
|
// filter.js — Fetch JSON, Render Kartu, Filter Tab, Pencarian, Paginasi
|
||||||
|
// Filter dan search berjalan KUMULATIF
|
||||||
|
// + DUKUNGAN MULTI-BAHASA (ID/EN) Terintegrasi
|
||||||
|
// =====================================================
|
||||||
|
|
||||||
|
const ITEMS_PER_PAGE = 6;
|
||||||
|
|
||||||
|
let allData = [];
|
||||||
|
let activeFilter = 'semua';
|
||||||
|
let searchKeyword = '';
|
||||||
|
let currentPage = 1;
|
||||||
|
|
||||||
|
// 1. Variabel penampung bahasa yang terhubung otomatis dengan tombol ID/EN
|
||||||
|
let activeLang = localStorage.getItem('if_untan_lang') || document.documentElement.lang || 'id';
|
||||||
|
|
||||||
|
// 2. Tangkap event perubahan bahasa secara langsung dari localization.js
|
||||||
|
document.addEventListener('languageChanged', (e) => {
|
||||||
|
if (e.detail && e.detail.lang) {
|
||||||
|
activeLang = e.detail.lang; // Perbarui bahasa!
|
||||||
|
} else {
|
||||||
|
activeLang = document.documentElement.lang || 'id';
|
||||||
|
}
|
||||||
|
|
||||||
|
// Jika data sudah ada, langsung cetak ulang kartunya
|
||||||
|
if (allData.length > 0) {
|
||||||
|
renderCards();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// 3. Format tanggal cerdas berdasarkan bahasa
|
||||||
|
function formatDate(str) {
|
||||||
|
if (!str) return '—';
|
||||||
|
const d = new Date(str);
|
||||||
|
if (isNaN(d.getTime())) return str;
|
||||||
|
|
||||||
|
return d.toLocaleDateString(activeLang === 'en' ? 'en-US' : 'id-ID', {
|
||||||
|
day: 'numeric', month: 'long', year: 'numeric'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// 4. Kamus mini untuk teks dinamis dari JSON (Negara & Kategori)
|
||||||
|
function translateDynamic(text, lang) {
|
||||||
|
if (!text || lang === 'id') return text;
|
||||||
|
|
||||||
|
const dict = {
|
||||||
|
'Amerika Serikat': 'United States',
|
||||||
|
'Swiss': 'Switzerland',
|
||||||
|
'Pemerintah': 'Government',
|
||||||
|
'Swasta': 'Private',
|
||||||
|
};
|
||||||
|
|
||||||
|
return dict[text] || text;
|
||||||
|
}
|
||||||
|
|
||||||
|
function sanitize(str) {
|
||||||
|
return str.replace(/[<>&"']/g, c =>
|
||||||
|
({ '<': '<', '>': '>', '&': '&', '"': '"', "'": ''' }[c])
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function createCard(bsw) {
|
||||||
|
const lang = activeLang; // Selalu gunakan bahasa aktif terbaru
|
||||||
|
|
||||||
|
// Terjemahan Tombol Status
|
||||||
|
let statusClass = 'status-btn-ditutup';
|
||||||
|
let statusLabel = lang === 'en' ? 'Closed' : 'Ditutup';
|
||||||
|
|
||||||
|
const statusLower = (bsw.status || '').toLowerCase();
|
||||||
|
if (statusLower === 'buka' || statusLower === 'dibuka') {
|
||||||
|
statusClass = 'status-btn-buka';
|
||||||
|
statusLabel = lang === 'en' ? 'Registration Open' : 'Pendaftaran Dibuka';
|
||||||
|
} else if (statusLower.includes('segera')) {
|
||||||
|
statusClass = 'status-btn-segera';
|
||||||
|
statusLabel = lang === 'en' ? 'Opening Soon' : 'Segera Dibuka';
|
||||||
|
}
|
||||||
|
|
||||||
|
// --- KAMUS MINI UNTUK KARTU ---
|
||||||
|
const textMulai = lang === 'en' ? 'Start' : 'Mulai';
|
||||||
|
const textDeadline = lang === 'en' ? 'Deadline' : 'Tenggat';
|
||||||
|
const textSelengkapnya = lang === 'en' ? 'Read More' : 'Selengkapnya';
|
||||||
|
|
||||||
|
// Ambil pills (tags) dan terjemahkan negaranya
|
||||||
|
const tags = Array.isArray(bsw.tags) ? bsw.tags : [];
|
||||||
|
const jenjang = tags[0] || '';
|
||||||
|
const skipPatterns = /^(S1|S2|S3|D3|D4|Swasta|Pemerintah|Fully Funded|Partially Funded|Beasiswa Penuh|Beasiswa Sebagian|Prestasi)$/i;
|
||||||
|
const rawNegara = tags.slice(1).find(t => !skipPatterns.test(t)) || '';
|
||||||
|
const negara = translateDynamic(rawNegara, lang);
|
||||||
|
|
||||||
|
// Terjemahan Subtitle (Kategori Beasiswa)
|
||||||
|
const tipe = bsw.kategori || '';
|
||||||
|
const rawTipe = tipe.replace(/^beasiswa\s+/i, '');
|
||||||
|
let subtitle = '';
|
||||||
|
if (rawTipe) {
|
||||||
|
if (lang === 'en') {
|
||||||
|
const tipeEn = translateDynamic(rawTipe, lang);
|
||||||
|
subtitle = `${tipeEn} Scholarship`;
|
||||||
|
} else {
|
||||||
|
subtitle = `Beasiswa ${rawTipe}`;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Ambil nama dari versi Inggris jika ada
|
||||||
|
const namaBsw = (lang === 'en' && bsw.nama_en) ? bsw.nama_en : bsw.nama;
|
||||||
|
|
||||||
|
const pillsHtml = [jenjang, negara]
|
||||||
|
.filter(Boolean)
|
||||||
|
.map((t, i) => `<span class="card-pill ${i === 0 ? 'card-pill-level' : ''}">${t}</span>`)
|
||||||
|
.join('');
|
||||||
|
|
||||||
|
const article = document.createElement('article');
|
||||||
|
article.className = 'scholarship-card fade-in-up';
|
||||||
|
article.setAttribute('role', 'listitem');
|
||||||
|
article.setAttribute('data-id', bsw.id);
|
||||||
|
|
||||||
|
article.innerHTML = `
|
||||||
|
<div class="card-body">
|
||||||
|
<h3 class="card-title">${namaBsw}</h3>
|
||||||
|
${subtitle ? `<p class="card-subtitle">${subtitle}</p>` : ''}
|
||||||
|
${pillsHtml ? `<div class="card-pills">${pillsHtml}</div>` : ''}
|
||||||
|
<hr class="card-divider">
|
||||||
|
<div class="card-dates">
|
||||||
|
<div class="card-date-col">
|
||||||
|
<span class="card-date-label">${textMulai}</span>
|
||||||
|
<span class="card-date-value">${formatDate(bsw.tanggal_buka)}</span>
|
||||||
|
</div>
|
||||||
|
<div class="card-date-col">
|
||||||
|
<span class="card-date-label">${textDeadline}</span>
|
||||||
|
<span class="card-date-value">${formatDate(bsw.tanggal_tutup)}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<button class="card-status-btn ${statusClass}" disabled>${statusLabel}</button>
|
||||||
|
<button
|
||||||
|
class="btn-selengkapnya"
|
||||||
|
onclick="openPopup('${bsw.id}')"
|
||||||
|
aria-label="Lihat detail beasiswa ${namaBsw}"
|
||||||
|
>${textSelengkapnya}</button>
|
||||||
|
</div>
|
||||||
|
`;
|
||||||
|
|
||||||
|
return article;
|
||||||
|
}
|
||||||
|
|
||||||
|
function getFiltered() {
|
||||||
|
const kw = searchKeyword.toLowerCase();
|
||||||
|
return allData.filter(bsw => {
|
||||||
|
|
||||||
|
// Logika Filter Tab S1 & Studi Lanjut
|
||||||
|
let matchFilter = false;
|
||||||
|
const tags = bsw.tags || [];
|
||||||
|
|
||||||
|
if (activeFilter === 'semua') {
|
||||||
|
matchFilter = true;
|
||||||
|
} else if (activeFilter === 's1') {
|
||||||
|
matchFilter = tags.some(t => t.includes('S1'));
|
||||||
|
} else if (activeFilter === 'studi_lanjut') {
|
||||||
|
matchFilter = tags.some(t => t.includes('S2') || t.includes('S3'));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Logika Pencarian Search Bar
|
||||||
|
const matchSearch = !kw ||
|
||||||
|
bsw.nama.toLowerCase().includes(kw) ||
|
||||||
|
bsw.deskripsi_singkat.toLowerCase().includes(kw) ||
|
||||||
|
tags.some(t => t.toLowerCase().includes(kw));
|
||||||
|
|
||||||
|
return matchFilter && matchSearch;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function renderCards() {
|
||||||
|
const grid = document.getElementById('beasiswa-grid');
|
||||||
|
const pagCont = document.getElementById('pagination');
|
||||||
|
const filtered = getFiltered();
|
||||||
|
const lang = activeLang; // Gunakan bahasa terbaru
|
||||||
|
|
||||||
|
grid.innerHTML = '';
|
||||||
|
|
||||||
|
if (filtered.length === 0) {
|
||||||
|
const emptyTitle = lang === 'en' ? 'No scholarships found' : 'Tidak ada beasiswa ditemukan';
|
||||||
|
const emptyDesc = lang === 'en' ? 'Try adjusting your filters or search keywords' : 'Coba ubah filter atau kata kunci pencarian Anda';
|
||||||
|
|
||||||
|
grid.innerHTML = `
|
||||||
|
<div class="empty-state" style="grid-column:1/-1">
|
||||||
|
<i class="fas fa-search-minus"></i>
|
||||||
|
<p style="font-size:15px;font-weight:700;color:#94a3b8;margin-bottom:6px;">${emptyTitle}</p>
|
||||||
|
<p style="font-size:13px;color:#cbd5e1;">${emptyDesc}</p>
|
||||||
|
</div>`;
|
||||||
|
pagCont.innerHTML = '';
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const totalPages = Math.ceil(filtered.length / ITEMS_PER_PAGE);
|
||||||
|
if (currentPage > totalPages) currentPage = totalPages;
|
||||||
|
const start = (currentPage - 1) * ITEMS_PER_PAGE;
|
||||||
|
const items = filtered.slice(start, start + ITEMS_PER_PAGE);
|
||||||
|
|
||||||
|
items.forEach((bsw, i) => {
|
||||||
|
const card = createCard(bsw);
|
||||||
|
card.style.animationDelay = `${i * 55}ms`;
|
||||||
|
grid.appendChild(card);
|
||||||
|
});
|
||||||
|
|
||||||
|
renderPagination(totalPages, pagCont);
|
||||||
|
}
|
||||||
|
|
||||||
|
function renderPagination(total, container) {
|
||||||
|
container.innerHTML = '';
|
||||||
|
if (total <= 1) return;
|
||||||
|
|
||||||
|
const make = (content, page, disabled = false, isActive = false) => {
|
||||||
|
const btn = document.createElement('button');
|
||||||
|
btn.className = `page-btn${isActive ? ' active' : ''}`;
|
||||||
|
btn.innerHTML = content;
|
||||||
|
btn.disabled = disabled;
|
||||||
|
if (!disabled) {
|
||||||
|
btn.addEventListener('click', () => {
|
||||||
|
currentPage = page;
|
||||||
|
renderCards();
|
||||||
|
const dir = document.getElementById('directory');
|
||||||
|
if (dir) {
|
||||||
|
const top = dir.getBoundingClientRect().top + window.scrollY - 120;
|
||||||
|
window.scrollTo({ top, behavior: 'smooth' });
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return btn;
|
||||||
|
};
|
||||||
|
|
||||||
|
container.appendChild(make('<i class="fas fa-chevron-left" style="font-size:11px;"></i>', currentPage - 1, currentPage === 1));
|
||||||
|
for (let i = 1; i <= total; i++) {
|
||||||
|
container.appendChild(make(i, i, false, i === currentPage));
|
||||||
|
}
|
||||||
|
container.appendChild(make('<i class="fas fa-chevron-right" style="font-size:11px;"></i>', currentPage + 1, currentPage === total));
|
||||||
|
}
|
||||||
|
|
||||||
|
function initFilterTabs() {
|
||||||
|
document.querySelectorAll('.filter-tab').forEach(btn => {
|
||||||
|
btn.addEventListener('click', () => {
|
||||||
|
document.querySelectorAll('.filter-tab').forEach(b => {
|
||||||
|
b.classList.remove('active');
|
||||||
|
b.setAttribute('aria-selected', 'false');
|
||||||
|
});
|
||||||
|
btn.classList.add('active');
|
||||||
|
btn.setAttribute('aria-selected', 'true');
|
||||||
|
activeFilter = btn.dataset.filter;
|
||||||
|
currentPage = 1;
|
||||||
|
renderCards();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function initSearch() {
|
||||||
|
const input = document.getElementById('search-input');
|
||||||
|
if (!input) return;
|
||||||
|
input.addEventListener('input', () => {
|
||||||
|
searchKeyword = sanitize(input.value).trim();
|
||||||
|
currentPage = 1;
|
||||||
|
renderCards();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
async function initDirectory() {
|
||||||
|
const grid = document.getElementById('beasiswa-grid');
|
||||||
|
try {
|
||||||
|
if (!window.BeasiswaAPI) throw new Error('Modul API.js (BeasiswaAPI) belum dimuat');
|
||||||
|
const { data, source } = await window.BeasiswaAPI.getBeasiswa();
|
||||||
|
allData = data;
|
||||||
|
window.beasiswaData = allData;
|
||||||
|
renderCards();
|
||||||
|
} catch (err) {
|
||||||
|
const lang = activeLang;
|
||||||
|
const errTitle = lang === 'en' ? 'Failed to load scholarship data' : 'Gagal memuat data beasiswa';
|
||||||
|
const errDesc = lang === 'en' ? 'Could not connect to the server. Please refresh or contact admin.' : 'Tidak dapat terhubung ke server. Silakan refresh atau hubungi admin.';
|
||||||
|
|
||||||
|
grid.innerHTML = `
|
||||||
|
<div class="empty-state" style="grid-column:1/-1">
|
||||||
|
<i class="fas fa-exclamation-triangle" style="color:#fca5a5;"></i>
|
||||||
|
<p style="font-size:15px;font-weight:700;color:#94a3b8;margin-bottom:6px;">${errTitle}</p>
|
||||||
|
<p style="font-size:13px;color:#cbd5e1;">${errDesc}</p>
|
||||||
|
</div>`;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
initFilterTabs();
|
||||||
|
initSearch();
|
||||||
|
initDirectory();
|
||||||
|
});
|
||||||
@@ -0,0 +1,173 @@
|
|||||||
|
// =====================================================
|
||||||
|
// main.js — Inisialisasi Utama
|
||||||
|
// Sticky Navbar, Hamburger Menu, Smooth Scroll, AOS, Active Nav
|
||||||
|
// =====================================================
|
||||||
|
|
||||||
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
|
||||||
|
// ─── AOS (Animate on Scroll) ────────────────────────
|
||||||
|
AOS.init({
|
||||||
|
duration: 700,
|
||||||
|
easing: 'ease-out-cubic',
|
||||||
|
once: true,
|
||||||
|
offset: 50,
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
// ─── Sticky Navbar ──────────────────────────────────
|
||||||
|
// Navbar sudah fixed di CSS; tidak perlu mengubah warna karena
|
||||||
|
// warna primary sudah menjadi identitas halaman ini.
|
||||||
|
// Namun kita tambahkan shadow saat scroll untuk depth effect.
|
||||||
|
|
||||||
|
// PERBAIKAN: Menyesuaikan ID dengan yang ada di index.html (nav-wrapper)
|
||||||
|
const navbar = document.getElementById('nav-wrapper') || document.getElementById('navbar');
|
||||||
|
|
||||||
|
const handleScroll = () => {
|
||||||
|
if (!navbar) return; // PERBAIKAN: Mencegah error jika elemen tidak ada di halaman
|
||||||
|
|
||||||
|
if (window.scrollY > 10) {
|
||||||
|
navbar.style.boxShadow = '0 4px 20px rgba(0,0,0,0.25)';
|
||||||
|
} else {
|
||||||
|
navbar.style.boxShadow = 'none';
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
window.addEventListener('scroll', handleScroll, { passive: true });
|
||||||
|
handleScroll(); // initial call
|
||||||
|
|
||||||
|
|
||||||
|
// ─── Ticker Visibility (Muncul setelah Hero & Stats) ─
|
||||||
|
const ticker = document.querySelector('.ticker-wrapper');
|
||||||
|
const statsSection = document.getElementById('statistics');
|
||||||
|
|
||||||
|
const handleTickerVisibility = () => {
|
||||||
|
if (!ticker || !statsSection) return;
|
||||||
|
|
||||||
|
// Ticker muncul setelah melewati batas bawah elemen statistik
|
||||||
|
const statsBottom = statsSection.offsetTop + statsSection.offsetHeight;
|
||||||
|
|
||||||
|
if (window.scrollY > statsBottom) {
|
||||||
|
ticker.classList.add('show-ticker');
|
||||||
|
} else {
|
||||||
|
ticker.classList.remove('show-ticker');
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
window.addEventListener('scroll', handleTickerVisibility, { passive: true });
|
||||||
|
// Call once on load with a slight delay to ensure layout is ready
|
||||||
|
setTimeout(handleTickerVisibility, 100);
|
||||||
|
|
||||||
|
|
||||||
|
// ─── Hamburger Menu (Mobile) ─────────────────────────
|
||||||
|
const mobileBtn = document.getElementById('mobile-menu-button');
|
||||||
|
const mobileMenu = document.getElementById('mobile-menu');
|
||||||
|
const closeMobileBtn = document.getElementById('close-mobile-menu');
|
||||||
|
|
||||||
|
const closeMobileMenu = () => {
|
||||||
|
mobileMenu?.classList.add('-translate-x-full');
|
||||||
|
mobileBtn?.setAttribute('aria-expanded', 'false');
|
||||||
|
};
|
||||||
|
|
||||||
|
// openMobileMenu handled by inline script in HTML; this covers close-on-scroll
|
||||||
|
closeMobileBtn?.addEventListener('click', closeMobileMenu);
|
||||||
|
|
||||||
|
|
||||||
|
// ─── Smooth Scroll untuk anchor links ──────────────
|
||||||
|
// Sesuai SDD: CSS scroll-behavior + JS fallback dengan offset
|
||||||
|
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
||||||
|
anchor.addEventListener('click', e => {
|
||||||
|
const href = anchor.getAttribute('href');
|
||||||
|
const target = document.querySelector(href);
|
||||||
|
if (!target) return;
|
||||||
|
|
||||||
|
e.preventDefault();
|
||||||
|
|
||||||
|
// PERBAIKAN: Mencegah error saat membaca offsetHeight jika navbar null
|
||||||
|
const navHeight = navbar ? navbar.offsetHeight : 110;
|
||||||
|
const top = target.getBoundingClientRect().top + window.scrollY - navHeight - 4;
|
||||||
|
window.scrollTo({ top, behavior: 'smooth' });
|
||||||
|
|
||||||
|
// Tutup mobile menu jika sedang terbuka
|
||||||
|
closeMobileMenu();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
// ─── Active Nav Link via IntersectionObserver ──────
|
||||||
|
// Sesuai SDD fitur #4: highlight menu sesuai seksi yang terlihat
|
||||||
|
const sections = document.querySelectorAll('section[id]');
|
||||||
|
const navLinks = document.querySelectorAll('a.nav-link');
|
||||||
|
|
||||||
|
const sectionObserver = new IntersectionObserver(
|
||||||
|
entries => {
|
||||||
|
entries.forEach(entry => {
|
||||||
|
if (entry.isIntersecting) {
|
||||||
|
navLinks.forEach(link => {
|
||||||
|
link.classList.remove('active');
|
||||||
|
if (link.getAttribute('href') === `#${entry.target.id}`) {
|
||||||
|
link.classList.add('active');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
{ rootMargin: '-30% 0px -65% 0px' }
|
||||||
|
);
|
||||||
|
|
||||||
|
sections.forEach(s => sectionObserver.observe(s));
|
||||||
|
|
||||||
|
|
||||||
|
// ─── Back to Top visibility ────────────────────────
|
||||||
|
const backToTop = document.getElementById('back-to-top');
|
||||||
|
if (backToTop) {
|
||||||
|
window.addEventListener('scroll', () => {
|
||||||
|
if (window.scrollY > 400) {
|
||||||
|
backToTop.classList.remove('opacity-0', 'pointer-events-none');
|
||||||
|
backToTop.classList.add('opacity-100');
|
||||||
|
} else {
|
||||||
|
backToTop.classList.add('opacity-0', 'pointer-events-none');
|
||||||
|
backToTop.classList.remove('opacity-100');
|
||||||
|
}
|
||||||
|
}, { passive: true });
|
||||||
|
|
||||||
|
backToTop.addEventListener('click', () => {
|
||||||
|
window.scrollTo({ top: 0, behavior: 'smooth' });
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// ─── Contact Us Modal (Hubungi Kami) ────────────────
|
||||||
|
const btnOpenContact = document.getElementById('btn-open-contact');
|
||||||
|
const contactOverlay = document.getElementById('contact-overlay');
|
||||||
|
const contactModal = document.getElementById('contact-modal');
|
||||||
|
const contactClose = document.getElementById('contact-close');
|
||||||
|
const contactBackdrop = document.getElementById('contact-backdrop');
|
||||||
|
|
||||||
|
const openContactModal = () => {
|
||||||
|
if (!contactOverlay) return;
|
||||||
|
contactOverlay.classList.remove('hidden');
|
||||||
|
contactOverlay.classList.add('flex');
|
||||||
|
// Animasi muncul
|
||||||
|
setTimeout(() => {
|
||||||
|
contactOverlay.classList.remove('opacity-0');
|
||||||
|
contactModal.classList.remove('scale-95');
|
||||||
|
contactModal.classList.add('scale-100');
|
||||||
|
}, 10);
|
||||||
|
};
|
||||||
|
|
||||||
|
const closeContactModal = () => {
|
||||||
|
if (!contactOverlay) return;
|
||||||
|
contactOverlay.classList.add('opacity-0');
|
||||||
|
contactModal.classList.remove('scale-100');
|
||||||
|
contactModal.classList.add('scale-95');
|
||||||
|
// Tunggu animasi selesai baru di-hide
|
||||||
|
setTimeout(() => {
|
||||||
|
contactOverlay.classList.remove('flex');
|
||||||
|
contactOverlay.classList.add('hidden');
|
||||||
|
}, 300);
|
||||||
|
};
|
||||||
|
|
||||||
|
if (btnOpenContact) btnOpenContact.addEventListener('click', openContactModal);
|
||||||
|
if (contactClose) contactClose.addEventListener('click', closeContactModal);
|
||||||
|
if (contactBackdrop) contactBackdrop.addEventListener('click', closeContactModal);
|
||||||
|
|
||||||
|
}); // end DOMContentLoaded
|
||||||
@@ -0,0 +1,202 @@
|
|||||||
|
// =====================================================
|
||||||
|
// popup.js — Modal Detail Beasiswa
|
||||||
|
// Tutup via: tombol ×, klik overlay, tekan Escape
|
||||||
|
// + DUKUNGAN MULTI-BAHASA (ID/EN)
|
||||||
|
// =====================================================
|
||||||
|
|
||||||
|
const overlay = document.getElementById('popup-overlay');
|
||||||
|
const modal = document.getElementById('popup-modal');
|
||||||
|
const closeBtn = document.getElementById('popup-close');
|
||||||
|
const popupBody = document.getElementById('popup-content');
|
||||||
|
|
||||||
|
let currentOpenId = null; // Menyimpan status beasiswa mana yang sedang dibuka
|
||||||
|
|
||||||
|
// Bertanya langsung ke mesin utama (localization.js)
|
||||||
|
function getPopupLang() {
|
||||||
|
if (typeof window.getLang === 'function') {
|
||||||
|
return window.getLang();
|
||||||
|
}
|
||||||
|
return localStorage.getItem('if_untan_lang') || 'id';
|
||||||
|
}
|
||||||
|
|
||||||
|
// Format tanggal dinamis (ID / EN)
|
||||||
|
function fmtDate(str, lang) {
|
||||||
|
if (!str) return '—';
|
||||||
|
const d = new Date(str);
|
||||||
|
if (isNaN(d.getTime())) return str;
|
||||||
|
return d.toLocaleDateString(lang === 'en' ? 'en-US' : 'id-ID', {
|
||||||
|
day: 'numeric',
|
||||||
|
month: 'long',
|
||||||
|
year: 'numeric'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Kamus Teks Statis Modal
|
||||||
|
const popupDict = {
|
||||||
|
id: {
|
||||||
|
req_empty: 'Syarat belum tersedia. Kunjungi sumber resmi.',
|
||||||
|
req_title: 'Syarat Umum',
|
||||||
|
open_date: 'Tanggal Buka',
|
||||||
|
close_date: 'Tanggal Tutup',
|
||||||
|
contact: 'Kontak',
|
||||||
|
more_info: 'Info Lebih Lanjut',
|
||||||
|
no_link: 'Tautan tidak tersedia. Silakan hubungi admin prodi.',
|
||||||
|
status_open: 'Buka',
|
||||||
|
status_closed: 'Ditutup'
|
||||||
|
},
|
||||||
|
en: {
|
||||||
|
req_empty: 'Requirements not available. Visit official source.',
|
||||||
|
req_title: 'General Requirements',
|
||||||
|
open_date: 'Open Date',
|
||||||
|
close_date: 'Closing Date',
|
||||||
|
contact: 'Contact',
|
||||||
|
more_info: 'More Information',
|
||||||
|
no_link: 'Link unavailable. Please contact department admin.',
|
||||||
|
status_open: 'Open',
|
||||||
|
status_closed: 'Closed'
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Buka popup modal untuk beasiswa dengan ID tertentu
|
||||||
|
*/
|
||||||
|
function openPopup(id) {
|
||||||
|
currentOpenId = id;
|
||||||
|
const data = window.beasiswaData || [];
|
||||||
|
const bsw = data.find(b => b.id === id);
|
||||||
|
if (!bsw) return;
|
||||||
|
|
||||||
|
const lang = getPopupLang();
|
||||||
|
const d = popupDict[lang];
|
||||||
|
|
||||||
|
const isBuka = bsw.status === 'Buka' || bsw.status === 'Dibuka';
|
||||||
|
const badgeClass = isBuka ? 'badge-buka' : 'badge-ditutup';
|
||||||
|
|
||||||
|
// Terjemahkan Status & Kategori
|
||||||
|
const statusText = isBuka ? d.status_open : (lang === 'en' && (bsw.status === 'Ditutup' || bsw.status === 'Tutup') ? d.status_closed : bsw.status);
|
||||||
|
|
||||||
|
// Menerjemahkan Kategori (Misal: "Beasiswa Swasta" -> "Private Scholarship")
|
||||||
|
let kategoriText = bsw.kategori;
|
||||||
|
if (lang === 'en') {
|
||||||
|
if (bsw.kategori_en) {
|
||||||
|
kategoriText = bsw.kategori_en;
|
||||||
|
} else if (bsw.kategori.toLowerCase().includes('swasta')) {
|
||||||
|
kategoriText = 'Private Scholarship';
|
||||||
|
} else if (bsw.kategori.toLowerCase().includes('pemerintah')) {
|
||||||
|
kategoriText = 'Government Scholarship';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Teks Dinamis (Ambil _en dari JSON jika ada, jika tidak pakai ID)
|
||||||
|
const namaText = (lang === 'en' && bsw.nama_en) ? bsw.nama_en : bsw.nama;
|
||||||
|
const deskripsiText = (lang === 'en' && bsw.deskripsi_singkat_en) ? bsw.deskripsi_singkat_en : bsw.deskripsi_singkat;
|
||||||
|
const syaratData = (lang === 'en' && bsw.syarat_umum_en) ? bsw.syarat_umum_en : (bsw.syarat_umum || []);
|
||||||
|
|
||||||
|
// Bangun list syarat umum
|
||||||
|
const syaratItems = syaratData
|
||||||
|
.map(s => `
|
||||||
|
<li>
|
||||||
|
<i class="fas fa-check-circle"></i>
|
||||||
|
<span>${s}</span>
|
||||||
|
</li>`)
|
||||||
|
.join('');
|
||||||
|
|
||||||
|
const syaratHTML = syaratItems
|
||||||
|
? `<ul class="syarat-list">${syaratItems}</ul>`
|
||||||
|
: `<p style="font-size:13px;color:#94a3b8;font-style:italic;">${d.req_empty}</p>`;
|
||||||
|
|
||||||
|
const hasUrl = bsw.url_sumber && bsw.url_sumber !== '#';
|
||||||
|
|
||||||
|
// Render konten popup dengan template Anda yang dipertahankan
|
||||||
|
popupBody.innerHTML = `
|
||||||
|
<div class="popup-body">
|
||||||
|
<div class="popup-kategori-row">
|
||||||
|
<span class="badge-status ${badgeClass}">${statusText}</span>
|
||||||
|
<span class="popup-kategori">${kategoriText}</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h2 id="popup-title" class="popup-title">${namaText}</h2>
|
||||||
|
|
||||||
|
<p class="popup-desc">${deskripsiText}</p>
|
||||||
|
|
||||||
|
<div class="popup-section-title">
|
||||||
|
<i class="fas fa-list-check"></i>
|
||||||
|
${d.req_title}
|
||||||
|
</div>
|
||||||
|
${syaratHTML}
|
||||||
|
|
||||||
|
<div class="popup-periode">
|
||||||
|
<div class="popup-periode-item">
|
||||||
|
<label>${d.open_date}</label>
|
||||||
|
<span>${fmtDate(bsw.tanggal_buka, lang)}</span>
|
||||||
|
</div>
|
||||||
|
<div class="popup-periode-item">
|
||||||
|
<label>${d.close_date}</label>
|
||||||
|
<span style="${!isBuka ? 'color:#EF4444;' : ''}">${fmtDate(bsw.tanggal_tutup, lang)}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
${bsw.kontak ? `
|
||||||
|
<div class="popup-kontak">
|
||||||
|
<i class="fas fa-phone-alt"></i>
|
||||||
|
<div>
|
||||||
|
<div style="font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-bottom:2px;">${d.contact}</div>
|
||||||
|
${bsw.kontak}
|
||||||
|
</div>
|
||||||
|
</div>` : ''}
|
||||||
|
|
||||||
|
${hasUrl
|
||||||
|
? `<a
|
||||||
|
href="${bsw.url_sumber}"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
class="popup-cta"
|
||||||
|
aria-label="${d.more_info} ${bsw.nama}"
|
||||||
|
>
|
||||||
|
${d.more_info}
|
||||||
|
<i class="fas fa-external-link-alt" style="font-size:12px;"></i>
|
||||||
|
</a>`
|
||||||
|
: `<button class="popup-cta disabled" disabled aria-disabled="true">
|
||||||
|
${d.more_info}
|
||||||
|
<i class="fas fa-external-link-alt" style="font-size:12px;"></i>
|
||||||
|
</button>
|
||||||
|
<p style="text-align:center;font-size:11px;color:#94a3b8;margin-top:8px;">
|
||||||
|
${d.no_link}
|
||||||
|
</p>`
|
||||||
|
}
|
||||||
|
</div>
|
||||||
|
`;
|
||||||
|
|
||||||
|
// Tampilkan overlay
|
||||||
|
overlay.classList.add('show');
|
||||||
|
document.body.style.overflow = 'hidden';
|
||||||
|
|
||||||
|
// Set focus ke modal untuk aksesibilitas
|
||||||
|
setTimeout(() => modal.focus(), 50);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Tutup popup modal */
|
||||||
|
function closePopup() {
|
||||||
|
currentOpenId = null;
|
||||||
|
overlay.classList.remove('show');
|
||||||
|
document.body.style.overflow = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
// === Event Listeners untuk menutup popup ===
|
||||||
|
closeBtn?.addEventListener('click', closePopup);
|
||||||
|
document.getElementById('popup-backdrop')?.addEventListener('click', closePopup);
|
||||||
|
document.addEventListener('keydown', (e) => {
|
||||||
|
if (e.key === 'Escape' && overlay.classList.contains('show')) {
|
||||||
|
closePopup();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Jika bahasa diganti SAAT popup sedang terbuka, cetak ulang isinya!
|
||||||
|
document.addEventListener('languageChanged', () => {
|
||||||
|
if (currentOpenId && overlay.classList.contains('show')) {
|
||||||
|
openPopup(currentOpenId);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
window.openPopup = openPopup;
|
||||||
|
window.closePopup = closePopup;
|
||||||
@@ -0,0 +1,285 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"id": "bsw-001",
|
||||||
|
"nama": "Boustany Foundation Scholarship, MBA - Harvard University",
|
||||||
|
"nama_en": "Boustany Foundation Scholarship, MBA - Harvard University",
|
||||||
|
"kategori": "Swasta",
|
||||||
|
"kategori_en": "Private",
|
||||||
|
"status": "Buka",
|
||||||
|
"thumbnail": "https://images.unsplash.com/photo-1541339907198-e08756dedf3f?w=400&q=80&auto=format&fit=crop",
|
||||||
|
"deskripsi_singkat": "Beasiswa bergengsi dari Boustany Foundation untuk program MBA di Harvard University, Amerika Serikat, bagi calon pemimpin bisnis dunia.",
|
||||||
|
"deskripsi_singkat_en": "A prestigious scholarship from the Boustany Foundation for the MBA program at Harvard University, United States, for future global business leaders.",
|
||||||
|
"syarat_umum": [
|
||||||
|
"Diterima atau mendaftar di program MBA Harvard Business School",
|
||||||
|
"Memiliki rekam jejak prestasi akademik dan profesional yang luar biasa",
|
||||||
|
"Menunjukkan potensi kepemimpinan dan kontribusi internasional",
|
||||||
|
"Melengkapi aplikasi beasiswa secara online melalui situs resmi Boustany Foundation"
|
||||||
|
],
|
||||||
|
"syarat_umum_en": [
|
||||||
|
"Accepted or applying to the MBA program at Harvard Business School",
|
||||||
|
"Have an exceptional track record of academic and professional achievements",
|
||||||
|
"Demonstrate leadership potential and international contribution",
|
||||||
|
"Complete the scholarship application online through the official Boustany Foundation website"
|
||||||
|
],
|
||||||
|
"kontak": "Boustany Foundation — boustany-foundation.com",
|
||||||
|
"tanggal_buka": "2026-05-21",
|
||||||
|
"tanggal_tutup": "2027-05-31",
|
||||||
|
"url_sumber": "https://www.schoters.com/id/beasiswa/boustany-foundation-scholarship-mba-harvard-university-1",
|
||||||
|
"tags": ["S2", "Swasta", "Amerika Serikat", "Partially Funded", "MBA"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "bsw-002",
|
||||||
|
"nama": "La Trobe University - La Trobe High Achiever Scholarship (S1)",
|
||||||
|
"kategori": "Swasta",
|
||||||
|
"kategori_en": "Private",
|
||||||
|
"status": "Buka",
|
||||||
|
"thumbnail": "https://images.unsplash.com/photo-1523240795612-9a054b0db644?w=400&q=80&auto=format&fit=crop",
|
||||||
|
"deskripsi_singkat": "Beasiswa dari La Trobe University Australia untuk mahasiswa internasional jenjang S1 berprestasi tinggi yang ingin melanjutkan studi di Melbourne.",
|
||||||
|
"deskripsi_singkat_en": "Scholarship from La Trobe University Australia for high-achieving international undergraduate students who wish to pursue their studies in Melbourne.",
|
||||||
|
"syarat_umum": [
|
||||||
|
"Mendaftar sebagai mahasiswa internasional jenjang S1 (Undergraduate) di La Trobe University",
|
||||||
|
"Memiliki nilai akademik yang sangat baik (High Achiever)",
|
||||||
|
"Tidak sedang menerima beasiswa penuh lainnya dari La Trobe University",
|
||||||
|
"Memenuhi persyaratan masuk dan kemampuan bahasa Inggris La Trobe University"
|
||||||
|
],
|
||||||
|
"syarat_umum_en": [
|
||||||
|
"Apply as an international undergraduate student at La Trobe University",
|
||||||
|
"Have an excellent academic record (High Achiever)",
|
||||||
|
"Not currently receiving any other full scholarship from La Trobe University",
|
||||||
|
"Meet La Trobe University's entry and English language requirements"
|
||||||
|
],
|
||||||
|
"kontak": "La Trobe University Admissions — latrobe.edu.au",
|
||||||
|
"tanggal_buka": "2023-09-29",
|
||||||
|
"tanggal_tutup": "2026-12-31",
|
||||||
|
"url_sumber": "https://www.schoters.com/id/beasiswa/la-trobe-university-la-trobe-high-achiever-scholarship-2",
|
||||||
|
"tags": ["S1", "Swasta", "Australia", "Partially Funded"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "bsw-003",
|
||||||
|
"nama": "Charles Sturt University - International Student Support Scholarship",
|
||||||
|
"kategori": "Swasta",
|
||||||
|
"kategori_en": "Private",
|
||||||
|
"status": "Buka",
|
||||||
|
"thumbnail": "https://images.unsplash.com/photo-1560472354-b33ff0c44a43?w=400&q=80&auto=format&fit=crop",
|
||||||
|
"deskripsi_singkat": "Beasiswa dukungan dari Charles Sturt University bagi mahasiswa internasional jenjang S1 yang mendaftar di kampus yang berlokasi di New South Wales, Australia.",
|
||||||
|
"deskripsi_singkat_en": "Support scholarship from Charles Sturt University for international undergraduate students enrolling at a campus located in New South Wales, Australia.",
|
||||||
|
"syarat_umum": [
|
||||||
|
"Mendaftar sebagai mahasiswa internasional penuh waktu (full-time) jenjang S1",
|
||||||
|
"Memenuhi persyaratan penerimaan akademik Charles Sturt University",
|
||||||
|
"Memiliki kemampuan Bahasa Inggris yang memadai (IELTS/TOEFL)",
|
||||||
|
"Mendaftar melalui jalur penerimaan internasional resmi"
|
||||||
|
],
|
||||||
|
"syarat_umum_en": [
|
||||||
|
"Apply as a full-time international undergraduate student",
|
||||||
|
"Meet Charles Sturt University's academic admission requirements",
|
||||||
|
"Have adequate English language proficiency (IELTS/TOEFL)",
|
||||||
|
"Apply through the official international admission pathway"
|
||||||
|
],
|
||||||
|
"kontak": "Charles Sturt University International — csu.edu.au",
|
||||||
|
"tanggal_buka": "2026-05-21",
|
||||||
|
"tanggal_tutup": "2026-12-31",
|
||||||
|
"url_sumber": "https://www.schoters.com/id/beasiswa/charles-sturt-university-international-student-support-scholarship-3",
|
||||||
|
"tags": ["S1", "Swasta", "Australia", "Partially Funded"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "bsw-004",
|
||||||
|
"nama": "La Trobe University - La Trobe High Achiever Scholarship (S2)",
|
||||||
|
"kategori": "Swasta",
|
||||||
|
"kategori_en": "Private",
|
||||||
|
"status": "Buka",
|
||||||
|
"thumbnail": "https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=400&q=80&auto=format&fit=crop",
|
||||||
|
"deskripsi_singkat": "Beasiswa dari La Trobe University Australia untuk mahasiswa internasional jenjang S2 (Postgraduate) dengan pencapaian akademik tinggi.",
|
||||||
|
"deskripsi_singkat_en": "Scholarship from La Trobe University Australia for international postgraduate students with high academic achievements.",
|
||||||
|
"syarat_umum": [
|
||||||
|
"Mendaftar sebagai mahasiswa internasional jenjang S2 di La Trobe University",
|
||||||
|
"Memiliki nilai akademik yang sangat baik di jenjang sarjana sebelumnya",
|
||||||
|
"Memenuhi persyaratan bahasa Inggris yang ditetapkan",
|
||||||
|
"Tidak sedang menerima beasiswa lain dari universitas yang sama"
|
||||||
|
],
|
||||||
|
"syarat_umum_en": [
|
||||||
|
"Apply as an international postgraduate student at La Trobe University",
|
||||||
|
"Have excellent academic grades in the previous undergraduate degree",
|
||||||
|
"Meet the specified English language requirements",
|
||||||
|
"Not currently receiving another scholarship from the same university"
|
||||||
|
],
|
||||||
|
"kontak": "La Trobe University Admissions — latrobe.edu.au",
|
||||||
|
"tanggal_buka": "2023-09-29",
|
||||||
|
"tanggal_tutup": "2026-12-31",
|
||||||
|
"url_sumber": "https://www.schoters.com/id/beasiswa/la-trobe-university-la-trobe-high-achiever-scholarship-4",
|
||||||
|
"tags": ["S2", "Swasta", "Australia", "Partially Funded"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "bsw-005",
|
||||||
|
"nama": "ETH Zurich - Excellence Scholarship & Opportunity Programme (ESOP)",
|
||||||
|
"kategori": "Pemerintah",
|
||||||
|
"kategori_en": "Government",
|
||||||
|
"status": "Buka",
|
||||||
|
"thumbnail": "https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=400&q=80&auto=format&fit=crop",
|
||||||
|
"deskripsi_singkat": "Beasiswa bergengsi dari ETH Zurich (salah satu universitas teknik terbaik dunia) untuk mahasiswa S2 internasional yang unggul secara akademik.",
|
||||||
|
"deskripsi_singkat_en": "Prestigious scholarship from ETH Zurich (one of the world's best engineering universities) for academically outstanding international master's students.",
|
||||||
|
"syarat_umum": [
|
||||||
|
"Mendaftar program Master (S2) di ETH Zurich",
|
||||||
|
"Lulus ujian penerimaan ETH Zurich atau memiliki setara gelar sarjana yang diakui",
|
||||||
|
"Menunjukkan prestasi akademik luar biasa (biasanya masuk 10% terbaik angkatan)",
|
||||||
|
"Melengkapi formulir aplikasi beasiswa ESOP yang terpisah dari aplikasi studi",
|
||||||
|
"Mendapatkan surat rekomendasi dari akademisi berwenang"
|
||||||
|
],
|
||||||
|
"syarat_umum_en": [
|
||||||
|
"Apply for a Master's program at ETH Zurich",
|
||||||
|
"Pass the ETH Zurich entrance exam or hold a recognized equivalent bachelor's degree",
|
||||||
|
"Demonstrate outstanding academic performance (usually top 10% of the cohort)",
|
||||||
|
"Complete the ESOP scholarship application form separately from the study application",
|
||||||
|
"Obtain a recommendation letter from authorized academics"
|
||||||
|
],
|
||||||
|
"kontak": "ETH Zurich Scholarship Office — ethz.ch",
|
||||||
|
"tanggal_buka": "2026-11-01",
|
||||||
|
"tanggal_tutup": "2026-11-30",
|
||||||
|
"url_sumber": "https://www.schoters.com/id/beasiswa/eth-zurich-excellence-scholarship-opportunity-programme-esop-5",
|
||||||
|
"tags": ["S2", "Pemerintah", "Swiss", "Fully Funded", "Prestasi"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "bsw-006",
|
||||||
|
"nama": "STUST - Scholarship for International Students (S3, Fully Funded)",
|
||||||
|
"kategori": "Swasta",
|
||||||
|
"kategori_en": "Private",
|
||||||
|
"status": "Buka",
|
||||||
|
"thumbnail": "https://images.unsplash.com/photo-1580582932707-520aed937b7b?w=400&q=80&auto=format&fit=crop",
|
||||||
|
"deskripsi_singkat": "Beasiswa penuh (fully funded) dari Southern Taiwan University of Science and Technology untuk mahasiswa internasional jenjang S3 (Doktoral).",
|
||||||
|
"deskripsi_singkat_en": "Fully funded scholarship from Southern Taiwan University of Science and Technology for international doctoral students.",
|
||||||
|
"syarat_umum": [
|
||||||
|
"Mendaftar program Doktoral (S3) di STUST, Taiwan",
|
||||||
|
"Memiliki gelar magister (S2) yang diakui",
|
||||||
|
"Memenuhi persyaratan kemampuan bahasa Inggris atau Mandarin",
|
||||||
|
"Menyerahkan proposal penelitian yang relevan dengan bidang studi yang dipilih",
|
||||||
|
"Mendapatkan persetujuan dari calon pembimbing (supervisor) di STUST"
|
||||||
|
],
|
||||||
|
"syarat_umum_en": [
|
||||||
|
"Apply for a Doctoral program at STUST, Taiwan",
|
||||||
|
"Hold a recognized Master's degree",
|
||||||
|
"Meet the English or Mandarin language proficiency requirements",
|
||||||
|
"Submit a research proposal relevant to the chosen field of study",
|
||||||
|
"Obtain approval from a prospective supervisor at STUST"
|
||||||
|
],
|
||||||
|
"kontak": "STUST International Affairs Office — stust.edu.tw",
|
||||||
|
"tanggal_buka": "2026-09-15",
|
||||||
|
"tanggal_tutup": "2026-11-30",
|
||||||
|
"url_sumber": "https://www.schoters.com/id/beasiswa/southern-taiwan-university-of-science-and-technology-the-stust-scholarship-for-international-students-6",
|
||||||
|
"tags": ["S3", "Swasta", "Taiwan", "Fully Funded"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "bsw-007",
|
||||||
|
"nama": "STUST - Scholarship for International Students (S2, Partially Funded)",
|
||||||
|
"kategori": "Swasta",
|
||||||
|
"kategori_en": "Private",
|
||||||
|
"status": "Buka",
|
||||||
|
"thumbnail": "https://images.unsplash.com/photo-1606761568499-6d2451b23c66?w=400&q=80&auto=format&fit=crop",
|
||||||
|
"deskripsi_singkat": "Beasiswa parsial (partially funded) dari Southern Taiwan University of Science and Technology untuk mahasiswa internasional jenjang S2 (Magister).",
|
||||||
|
"deskripsi_singkat_en": "Partially funded scholarship from Southern Taiwan University of Science and Technology for international master's students.",
|
||||||
|
"syarat_umum": [
|
||||||
|
"Mendaftar program Magister (S2) di STUST, Taiwan",
|
||||||
|
"Memiliki gelar sarjana (S1) yang diakui",
|
||||||
|
"Memenuhi persyaratan kemampuan bahasa Inggris atau Mandarin",
|
||||||
|
"Melengkapi berkas aplikasi secara online melalui portal resmi STUST",
|
||||||
|
"Menyertakan transkrip nilai dan surat motivasi"
|
||||||
|
],
|
||||||
|
"syarat_umum_en": [
|
||||||
|
"Apply for a Master's program at STUST, Taiwan",
|
||||||
|
"Hold a recognized Bachelor's degree",
|
||||||
|
"Meet the English or Mandarin language proficiency requirements",
|
||||||
|
"Complete the application file online through the official STUST portal",
|
||||||
|
"Include academic transcripts and a motivation letter"
|
||||||
|
],
|
||||||
|
"kontak": "STUST International Affairs Office — stust.edu.tw",
|
||||||
|
"tanggal_buka": "2026-09-15",
|
||||||
|
"tanggal_tutup": "2026-11-30",
|
||||||
|
"url_sumber": "https://www.schoters.com/id/beasiswa/southern-taiwan-university-of-science-and-technology-the-stust-scholarship-for-international-students-7",
|
||||||
|
"tags": ["S2", "Swasta", "Taiwan", "Partially Funded"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "bsw-008",
|
||||||
|
"nama": "University of Melbourne - Melbourne International Undergraduate Scholarship",
|
||||||
|
"kategori": "Swasta",
|
||||||
|
"kategori_en": "Private",
|
||||||
|
"status": "Buka",
|
||||||
|
"thumbnail": "https://images.unsplash.com/photo-1504711434969-e33886168f5c?w=400&q=80&auto=format&fit=crop",
|
||||||
|
"deskripsi_singkat": "Beasiswa untuk mahasiswa internasional berprestasi yang mendaftar program S1 di University of Melbourne, salah satu universitas terbaik di Australia.",
|
||||||
|
"deskripsi_singkat_en": "Scholarship for outstanding international students applying for an undergraduate program at the University of Melbourne, one of Australia's best universities.",
|
||||||
|
"syarat_umum": [
|
||||||
|
"Merupakan mahasiswa internasional (bukan warga negara Australia atau New Zealand)",
|
||||||
|
"Mendaftar program sarjana (S1 / Undergraduate) di University of Melbourne",
|
||||||
|
"Memiliki hasil akademik yang sangat luar biasa di tingkat sekolah menengah atas",
|
||||||
|
"Memenuhi persyaratan kemampuan bahasa Inggris (IELTS minimal 6.5)",
|
||||||
|
"Beasiswa diberikan otomatis berdasarkan nilai akademik, tidak perlu aplikasi terpisah"
|
||||||
|
],
|
||||||
|
"syarat_umum_en": [
|
||||||
|
"Be an international student (not a citizen of Australia or New Zealand)",
|
||||||
|
"Apply for an undergraduate program at the University of Melbourne",
|
||||||
|
"Have an exceptional academic result at the high school level",
|
||||||
|
"Meet the English language proficiency requirements (minimum IELTS 6.5)",
|
||||||
|
"The scholarship is awarded automatically based on academic merit, no separate application required"
|
||||||
|
],
|
||||||
|
"kontak": "University of Melbourne Future Students — unimelb.edu.au",
|
||||||
|
"tanggal_buka": "2026-05-21",
|
||||||
|
"tanggal_tutup": "2026-10-31",
|
||||||
|
"url_sumber": "https://www.schoters.com/id/beasiswa/university-of-melbourne-melbourne-international-undergraduate-scholarship-8",
|
||||||
|
"tags": ["S1", "Swasta", "Australia", "Partially Funded", "Prestasi"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "bsw-009",
|
||||||
|
"nama": "Charles Darwin University - CDU Global Merit Scholarship",
|
||||||
|
"kategori": "Swasta",
|
||||||
|
"kategori_en": "Private",
|
||||||
|
"status": "Buka",
|
||||||
|
"thumbnail": "https://images.unsplash.com/photo-1434030216411-0b793f4b4173?w=400&q=80&auto=format&fit=crop",
|
||||||
|
"deskripsi_singkat": "Beasiswa merit global dari Charles Darwin University (CDU) di Darwin, Australia, untuk mahasiswa internasional S1 yang memiliki rekam jejak akademik yang kuat.",
|
||||||
|
"deskripsi_singkat_en": "Global merit scholarship from Charles Darwin University (CDU) in Darwin, Australia, for international undergraduate students with a strong academic track record.",
|
||||||
|
"syarat_umum": [
|
||||||
|
"Mendaftar sebagai mahasiswa internasional baru (new international student) di CDU",
|
||||||
|
"Mendaftar untuk program sarjana (Undergraduate/S1) penuh waktu",
|
||||||
|
"Memiliki nilai ujian akhir sekolah yang baik (dikonversi ke skala CDU)",
|
||||||
|
"Memenuhi persyaratan bahasa Inggris (IELTS 6.0 atau setara)",
|
||||||
|
"Tidak sedang menerima potongan biaya kuliah lainnya dari CDU"
|
||||||
|
],
|
||||||
|
"syarat_umum_en": [
|
||||||
|
"Apply as a new international student at CDU",
|
||||||
|
"Apply for a full-time undergraduate program",
|
||||||
|
"Have a good high school final exam score (converted to CDU scale)",
|
||||||
|
"Meet the English language requirements (IELTS 6.0 or equivalent)",
|
||||||
|
"Not currently receiving any other tuition fee discount from CDU"
|
||||||
|
],
|
||||||
|
"kontak": "CDU International — cdu.edu.au",
|
||||||
|
"tanggal_buka": "2026-05-21",
|
||||||
|
"tanggal_tutup": "2026-10-09",
|
||||||
|
"url_sumber": "https://www.schoters.com/id/beasiswa/charles-darwin-university-cdu-global-merit-scholarship-9",
|
||||||
|
"tags": ["S1", "Swasta", "Australia", "Partially Funded"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "bsw-010",
|
||||||
|
"nama": "Deakin University - Vice-Chancellor's International Scholarship",
|
||||||
|
"kategori": "Swasta",
|
||||||
|
"kategori_en": "Private",
|
||||||
|
"status": "Buka",
|
||||||
|
"thumbnail": "https://images.unsplash.com/photo-1541339907198-e08756dedf3f?w=400&q=80&auto=format&fit=crop",
|
||||||
|
"deskripsi_singkat": "Beasiswa bergengsi dari Wakil Rektor (Vice-Chancellor) Deakin University untuk mahasiswa internasional terbaik yang akan menempuh studi S1 atau S2 di Australia.",
|
||||||
|
"deskripsi_singkat_en": "Prestigious Vice-Chancellor's scholarship from Deakin University for the best international students pursuing an undergraduate or postgraduate degree in Australia.",
|
||||||
|
"syarat_umum": [
|
||||||
|
"Merupakan mahasiswa internasional (bukan warga negara Australia/New Zealand)",
|
||||||
|
"Mendaftar untuk program S1 (Undergraduate) atau S2 (Postgraduate Coursework) di Deakin",
|
||||||
|
"Memiliki rekam jejak akademik yang sangat baik dan konsisten",
|
||||||
|
"Memenuhi persyaratan masuk dan kemampuan bahasa Inggris Deakin University",
|
||||||
|
"Mengajukan aplikasi beasiswa sebelum tanggal penutupan yang ditetapkan"
|
||||||
|
],
|
||||||
|
"syarat_umum_en": [
|
||||||
|
"Be an international student (not an Australia/New Zealand citizen)",
|
||||||
|
"Apply for an undergraduate or postgraduate coursework program at Deakin",
|
||||||
|
"Have a consistent and excellent academic track record",
|
||||||
|
"Meet Deakin University's entry and English language requirements",
|
||||||
|
"Submit the scholarship application before the specified closing date"
|
||||||
|
],
|
||||||
|
"kontak": "Deakin University International — deakin.edu.au",
|
||||||
|
"tanggal_buka": "2026-05-21",
|
||||||
|
"tanggal_tutup": "2026-09-25",
|
||||||
|
"url_sumber": "https://www.schoters.com/id/beasiswa/deakin-university-vice-chancellor-s-international-scholarship-10",
|
||||||
|
"tags": ["S1 & S2", "S2", "Swasta", "Australia", "Partially Funded", "Prestasi"]
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"id": "tsm-001",
|
||||||
|
"nama": "Violaine Gunawan",
|
||||||
|
"foto": "https://ui-avatars.com/api/?name=Violaine+Gunawan&background=111a2f&color=fff&size=200&rounded=true",
|
||||||
|
"nama_beasiswa": "BEASISWA BAKTI BCA 2026",
|
||||||
|
"nama_beasiswa_en": "BAKTI BCA SCHOLARSHIP 2026",
|
||||||
|
"kutipan": "Beasiswa ini sangat berdampak besar. Tantangannya menyeimbangkan kuliah, asisten praktikum, organisasi, dan projek besar beasiswa. Namun, relasi di kampus dan masyarakat jadi bertambah luas. Tips: Jangan takut mencoba, pahami fokus beasiswa, sesuaikan visi misi, dan aktiflah berorganisasi!",
|
||||||
|
"kutipan_en": "This scholarship has a massive impact. The challenge is balancing college, practicum assistant duties, organizations, and major scholarship projects. However, connections on campus and in society have expanded. Tip: Don't be afraid to try, understand the scholarship's focus, align your vision and mission, and be active in organizations!"
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -1,15 +1,27 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="id" class="scroll-smooth">
|
<html lang="id" class="scroll-smooth">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Group 10 – Ape Name Tim E | Informatika UNTAN</title>
|
<title>Group 10 – ApeNameTeamE | Informatika UNTAN</title>
|
||||||
<link rel="stylesheet" href="../../assets/global/output.css">
|
<link rel="stylesheet" href="../../assets/global/output.css">
|
||||||
|
<link rel="stylesheet" href="assets/css/style.css" />
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
|
<link
|
||||||
|
href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
|
||||||
|
rel="stylesheet">
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
||||||
<style>
|
|
||||||
|
<!-- AOS.js -->
|
||||||
|
<link href="https://unpkg.com/aos@2.3.4/dist/aos.css" rel="stylesheet" />
|
||||||
|
|
||||||
|
<!-- Swiper.js -->
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css" />
|
||||||
|
|
||||||
|
|
||||||
|
<style>
|
||||||
/* ===== MOBILE NAV STABILITY FIX =====
|
/* ===== MOBILE NAV STABILITY FIX =====
|
||||||
Prevents logo bar from collapsing/shifting on Android when
|
Prevents logo bar from collapsing/shifting on Android when
|
||||||
address bar hides/shows and triggers viewport reflow.
|
address bar hides/shows and triggers viewport reflow.
|
||||||
@@ -293,6 +305,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="text-slate-800 antialiased bg-white selection:bg-untan-yellow selection:text-black">
|
<body class="text-slate-800 antialiased bg-white selection:bg-untan-yellow selection:text-black">
|
||||||
|
|
||||||
<a href="#main-content" class="skip-link" data-i18n="skip_to_content">Langsung ke Konten Utama</a>
|
<a href="#main-content" class="skip-link" data-i18n="skip_to_content">Langsung ke Konten Utama</a>
|
||||||
@@ -1139,18 +1152,262 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<main id="main-content" class="pt-[88px] lg:pt-[160px] min-h-screen bg-white">
|
<main id="main-content" class="pt-[88px] lg:pt-[160px] min-h-screen bg-white">
|
||||||
<div class="container mx-auto px-4 lg:px-8 py-12">
|
<div class="ticker-wrapper" aria-label="Pengumuman beasiswa terbaru" role="marquee">
|
||||||
<div class="mb-8 pb-8 border-b border-slate-200">
|
<!-- Badge block -->
|
||||||
<span class="bg-untan-yellow text-slate-900 text-[10px] font-bold uppercase tracking-widest px-2 py-0.5 inline-block mb-3">Tugas Halaman Statis</span>
|
<div class="ticker-badge-block">
|
||||||
<h1 class="text-3xl lg:text-4xl font-bold text-slate-900 mb-2">Beasiswa</h1>
|
<span class="ticker-badge" aria-hidden="true">INFO TERBARU</span>
|
||||||
<p class="text-slate-500 text-sm">Kelompok 10 — Ape Name Tim E · Informatika UNTAN 2026</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- Scroll area: inner wrapper berisi 2 copy teks, dianimasikan bersamaan -->
|
||||||
|
<div class="ticker-scroll-area">
|
||||||
|
<div class="ticker-inner" aria-live="off">
|
||||||
|
<span class="ticker-track">Selamat datang di antarmuka situs web Informatika terbaru!
|
||||||
|
| Pendaftaran
|
||||||
|
kolaborasi riset semester genap telah dibuka. | Pantau publikasi dosen dan
|
||||||
|
mahasiswa secara
|
||||||
|
real-time. | Beasiswa KIP Kuliah 2026 dibuka — Daftar sekarang!
|
||||||
|
| Beasiswa LPDP S2
|
||||||
|
tersedia hingga September 2026. </span>
|
||||||
|
<span class="ticker-track" aria-hidden="true">Selamat datang di antarmuka situs web
|
||||||
|
Informatika terbaru!
|
||||||
|
| Pendaftaran kolaborasi riset semester genap telah dibuka. |
|
||||||
|
Pantau publikasi dosen
|
||||||
|
dan mahasiswa secara real-time. | Beasiswa KIP Kuliah 2026 dibuka — Daftar
|
||||||
|
sekarang! |
|
||||||
|
Beasiswa LPDP S2 tersedia hingga September 2026. </span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ================================================
|
||||||
|
HERO SECTION (#hero)
|
||||||
|
================================================ -->
|
||||||
|
<section id="hero" class="hero-section" aria-label="Header halaman beasiswa">
|
||||||
|
<div class="hero-bg"></div>
|
||||||
|
|
||||||
|
<div class="hero-content max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 w-full">
|
||||||
|
<!-- Breadcrumb -->
|
||||||
|
<nav class="breadcrumb" aria-label="Breadcrumb">
|
||||||
|
<a href="#" data-i18n="breadcrumb_home">Beranda</a>
|
||||||
|
<span class="sep"><i class="fas fa-chevron-right" style="font-size:7px;"></i></span>
|
||||||
|
<a href="#" data-i18n="ape_breadcrumb_profile">Pendidikan</a>
|
||||||
|
<span class="sep"><i class="fas fa-chevron-right" style="font-size:7px;"></i></span>
|
||||||
|
<span class="current" data-i18n="ape_breadcrumb_scholarship">Beasiswa</span>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<div class="grid lg:grid-cols-2 gap-10 lg:gap-20 items-center">
|
||||||
|
|
||||||
|
<!-- Left: Text Content -->
|
||||||
|
<div data-aos="fade-right" data-aos-duration="700">
|
||||||
|
<!-- Badge (outline style seperti Figma) -->
|
||||||
|
<div class="hero-badge">
|
||||||
|
<span data-i18n="ape_hero_badge">PROGRAM BEASISWA</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- H1 -->
|
||||||
|
<h1 class="hero-title" data-i18n-html="ape_hero_title">
|
||||||
|
Beasiswa Studi &<br>Penelitian
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
<!-- Subtitle -->
|
||||||
|
<p class="hero-subtitle" data-i18n="ape_hero_subtitle">
|
||||||
|
Teknik Informatika Universitas Tanjungpura
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<!-- Description (sesuai teks Figma) -->
|
||||||
|
<p class="hero-desc" data-i18n="ape_hero_desc">
|
||||||
|
Temukan berbagai peluang beasiswa untuk mendukung perjalanan akademik dan penelitian Anda.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<!-- CTA Button (kuning, teks gelap — sesuai Figma) -->
|
||||||
|
<a href="#directory" class="hero-cta" aria-label="Lihat daftar beasiswa">
|
||||||
|
<span data-i18n="ape_hero_cta">Lihat Daftar Beasiswa</span>
|
||||||
|
<i class="fas fa-arrow-right"></i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Right: Hero Image -->
|
||||||
|
<div class="hidden lg:block" data-aos="fade-left" data-aos-delay="150"
|
||||||
|
data-aos-duration="700">
|
||||||
|
<div class="hero-image-wrap">
|
||||||
|
<img src="assets/images/hero/mahasiswa.png"
|
||||||
|
alt="Mahasiswa Informatika UNTAN berprestasi" width="480" height="400"
|
||||||
|
onerror="this.src='https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=500&q=80'">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- ================================================
|
||||||
|
STATISTIK COUNTER (#statistics)
|
||||||
|
================================================ -->
|
||||||
|
<section id="statistics" class="stats-section" aria-label="Statistik penerima beasiswa">
|
||||||
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||||
|
<div class="grid grid-cols-3 divide-x divide-white/20">
|
||||||
|
|
||||||
|
<div class="stat-item" data-aos="fade-up" data-aos-delay="0">
|
||||||
|
<div class="stat-number" data-counter="20" id="ctr-total">0</div>
|
||||||
|
<div class="stat-label" data-i18n-html="ape_stats_total">
|
||||||
|
Total Mahasiswa Penerima<br>Beasiswa Semester Ini
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="stat-item" data-aos="fade-up" data-aos-delay="100">
|
||||||
|
<div class="stat-number" data-counter="12" id="ctr-s1">0</div>
|
||||||
|
<div class="stat-label" data-i18n-html="ape_stats_s1">
|
||||||
|
Total Penerima Beasiswa<br>Khusus S1
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="stat-item" data-aos="fade-up" data-aos-delay="200">
|
||||||
|
<div class="stat-number" data-counter="8" id="ctr-studi">0</div>
|
||||||
|
<div class="stat-label" data-i18n-html="ape_stats_studi">
|
||||||
|
Total Penerima Beasiswa<br>Studi Lanjut
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- ================================================
|
||||||
|
DIREKTORI BEASISWA (#directory)
|
||||||
|
================================================ -->
|
||||||
|
<section id="directory" class="py-16 bg-white" aria-label="Direktori beasiswa">
|
||||||
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||||
|
|
||||||
|
<!-- Section Header -->
|
||||||
|
<div class="flex flex-col lg:flex-row lg:items-center lg:justify-between gap-6 mb-10">
|
||||||
|
<div data-aos="fade-right">
|
||||||
|
<!-- Label Badge "DAFTAR LENGKAP" -->
|
||||||
|
<div class="section-badge mb-3">
|
||||||
|
<span data-i18n="ape_dir_label">DAFTAR LENGKAP</span>
|
||||||
|
</div>
|
||||||
|
<h2 class="section-title" data-i18n="ape_dir_title">Daftar Beasiswa</h2>
|
||||||
|
<p class="section-desc" data-i18n="ape_dir_desc">
|
||||||
|
Temukan beragam beasiswa dari berbagai sumber resmi yang tersedia untuk mahasiswa aktif.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Filter & Search Row (UC-02, UC-03) -->
|
||||||
|
<div class="flex flex-col lg:flex-row gap-4 mb-8" data-aos="fade-up" data-aos-delay="50">
|
||||||
|
<!-- Filter Tabs -->
|
||||||
|
<div class="filter-tabs flex-1" id="filter-tabs" role="tablist"
|
||||||
|
aria-label="Filter beasiswa">
|
||||||
|
<button class="filter-tab active" data-filter="semua" role="tab" aria-selected="true"
|
||||||
|
data-i18n="filter_all">Semua</button>
|
||||||
|
<button class="filter-tab" data-filter="s1" role="tab" aria-selected="false"
|
||||||
|
data-i18n="ape_filter_s1">S1</button>
|
||||||
|
<button class="filter-tab" data-filter="studi_lanjut" role="tab" aria-selected="false"
|
||||||
|
data-i18n="ape_filter_studi">Studi Lanjut</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Real-Time Search -->
|
||||||
|
<div class="flex flex-col sm:flex-row gap-3 flex-shrink-0">
|
||||||
|
<div class="search-wrapper w-full sm:w-64">
|
||||||
|
<i class="fas fa-search search-icon" aria-hidden="true"></i>
|
||||||
|
<input type="search" id="search-input" class="search-input"
|
||||||
|
placeholder="Cari beasiswa..." data-i18n-placeholder="ape_search_placeholder"
|
||||||
|
aria-label="Cari beasiswa" autocomplete="off" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Cards Grid (rendered by filter.js) -->
|
||||||
|
<div id="beasiswa-grid" class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" role="list"
|
||||||
|
aria-label="Daftar kartu beasiswa">
|
||||||
|
<!-- Skeleton loading state -->
|
||||||
|
<div class="col-span-full flex flex-col items-center justify-center py-20 text-gray-300">
|
||||||
|
<i class="fas fa-spinner fa-spin text-4xl mb-4"></i>
|
||||||
|
<p class="text-sm font-medium">Memuat data beasiswa...</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Pagination (rendered by filter.js) -->
|
||||||
|
<div id="pagination" class="pagination-container" role="navigation"
|
||||||
|
aria-label="Navigasi halaman beasiswa"></div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- ================================================
|
||||||
|
POPUP MODAL DETAIL BEASISWA (UC-04, UC-05)
|
||||||
|
================================================ -->
|
||||||
|
<div id="popup-overlay" role="dialog" aria-modal="true" aria-labelledby="popup-title">
|
||||||
|
<!-- Backdrop (klik untuk tutup - UC-04) -->
|
||||||
|
<div id="popup-backdrop" class="popup-backdrop"></div>
|
||||||
|
|
||||||
|
<!-- Modal Card -->
|
||||||
|
<div id="popup-modal" class="popup-modal" tabindex="-1">
|
||||||
|
<!-- Close Button (×) -->
|
||||||
|
<button id="popup-close" class="popup-close" aria-label="Tutup detail beasiswa">
|
||||||
|
<i class="fas fa-times"></i>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<!-- Content (rendered by popup.js) -->
|
||||||
|
<div id="popup-content"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ================================================
|
||||||
|
TESTIMONI (#testimonial) — UC-07
|
||||||
|
================================================ -->
|
||||||
|
<section id="testimonial" class="testimonials-section" aria-label="Testimoni penerima beasiswa">
|
||||||
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||||
|
|
||||||
|
<!-- Header -->
|
||||||
|
<div class="text-center mb-12" data-aos="fade-up">
|
||||||
|
<h2 class="section-title text-center" data-i18n="ape_testimonial_title">Apa Kata Mereka?</h2>
|
||||||
|
<p class="section-desc mx-auto text-center" data-i18n="ape_testimonial_desc">
|
||||||
|
Cerita nyata dari mahasiswa yang telah meraih beasiswa
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Swiper Carousel -->
|
||||||
|
<div class="swiper testimonial-swiper" data-aos="fade-up" data-aos-delay="100">
|
||||||
|
<div class="swiper-wrapper pb-14" id="testimonial-wrapper">
|
||||||
|
<!-- Rendered by carousel.js -->
|
||||||
|
</div>
|
||||||
|
<div class="swiper-pagination testimonial-pagination"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- ================================================
|
||||||
|
CTA SECTION (#cta) — UC-06
|
||||||
|
================================================ -->
|
||||||
|
<section id="cta" class="cta-section" aria-label="Hubungi admin beasiswa">
|
||||||
|
<div class="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||||
|
<div class="cta-card" data-aos="zoom-in" data-aos-duration="600">
|
||||||
|
<h2 class="cta-title" data-i18n="ape_cta_title">
|
||||||
|
Ingin Mengetahui Info Lebih Lanjut?
|
||||||
|
</h2>
|
||||||
|
<p class="cta-desc" data-i18n="ape_cta_desc">
|
||||||
|
Bersama kami membangun sumber daya manusia unggul melalui program beasiswa dan
|
||||||
|
kolaborasi riset
|
||||||
|
</p>
|
||||||
|
<div class="cta-buttons">
|
||||||
|
<!-- Scroll ke direktori -->
|
||||||
|
<a href="#directory" class="cta-btn-primary" aria-label="Lihat daftar beasiswa">
|
||||||
|
<span data-i18n="ape_cta_btn1">Daftar Beasiswa</span>
|
||||||
|
</a>
|
||||||
|
<!-- Kontak CTA -->
|
||||||
|
<a id="btn-open-contact" class="cta-btn-secondary" aria-label="Hubungi admin" href="https://wa.me/+6285171655161">
|
||||||
|
<span data-i18n="ape_cta_btn2">Hubungi Kami</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<div class="container mx-auto px-4 lg:px-8 py-12">
|
||||||
<div id="assignment-body" class="prose prose-slate max-w-none">
|
<div id="assignment-body" class="prose prose-slate max-w-none">
|
||||||
<!-- ================= START: BAGIAN YANG DIEDIT KELOMPOK ================= -->
|
<!-- ================= START: BAGIAN YANG DIEDIT KELOMPOK ================= -->
|
||||||
<p>Tulis konten halaman kelompok di sini.</p>
|
|
||||||
<h3>Subjudul</h3>
|
|
||||||
<p>Gunakan paragraf, list, tabel, gambar, dan elemen konten lainnya.</p>
|
|
||||||
<!-- ================= END: BAGIAN YANG DIEDIT KELOMPOK ================= -->
|
<!-- ================= END: BAGIAN YANG DIEDIT KELOMPOK ================= -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -1215,11 +1472,23 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="w-full relative z-0 mt-4 pointer-events-none flex justify-center">
|
<div class="w-full relative z-0 mt-4 pointer-events-none flex justify-center">
|
||||||
<img src="../../assets/global/footer.png" alt="Footer Illustration" class="w-full h-auto object-cover object-bottom"
|
<img src="../../assets/global/footer.png" alt="Footer Illustration"
|
||||||
style="object-position: bottom;">
|
class="w-full h-auto object-cover object-bottom" style="object-position: bottom;">
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
<script src="https://unpkg.com/aos@2.3.4/dist/aos.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
|
||||||
|
|
||||||
|
<script src="../../assets/global/localization.js"></script>
|
||||||
|
|
||||||
|
<script src="assets/js/counter.js"></script>
|
||||||
|
<script type="module" src="assets/js/API.js"></script>
|
||||||
|
<script src="assets/js/popup.js"></script>
|
||||||
|
<script src="assets/js/filter.js"></script>
|
||||||
|
<script src="assets/js/carousel.js"></script>
|
||||||
|
<script src="assets/js/main.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
(function () {
|
(function () {
|
||||||
const menuItems = document.querySelectorAll('[data-menu]');
|
const menuItems = document.querySelectorAll('[data-menu]');
|
||||||
@@ -1312,27 +1581,27 @@
|
|||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
(function() {
|
(function () {
|
||||||
const mobileBtn = document.getElementById('mobile-menu-button');
|
const mobileBtn = document.getElementById('mobile-menu-button');
|
||||||
const mobileMenu = document.getElementById('mobile-menu');
|
const mobileMenu = document.getElementById('mobile-menu');
|
||||||
const closeMobileBtn= document.getElementById('close-mobile-menu');
|
const closeMobileBtn = document.getElementById('close-mobile-menu');
|
||||||
if (mobileBtn && mobileMenu) {
|
if (mobileBtn && mobileMenu) {
|
||||||
mobileBtn.addEventListener('click', function() {
|
mobileBtn.addEventListener('click', function () {
|
||||||
const isOpen = !mobileMenu.classList.contains('-translate-x-full');
|
const isOpen = !mobileMenu.classList.contains('-translate-x-full');
|
||||||
mobileMenu.classList.toggle('-translate-x-full');
|
mobileMenu.classList.toggle('-translate-x-full');
|
||||||
mobileBtn.setAttribute('aria-expanded', isOpen ? 'false' : 'true');
|
mobileBtn.setAttribute('aria-expanded', isOpen ? 'false' : 'true');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (closeMobileBtn && mobileMenu) {
|
if (closeMobileBtn && mobileMenu) {
|
||||||
closeMobileBtn.addEventListener('click', function() {
|
closeMobileBtn.addEventListener('click', function () {
|
||||||
mobileMenu.classList.add('-translate-x-full');
|
mobileMenu.classList.add('-translate-x-full');
|
||||||
if (mobileBtn) mobileBtn.setAttribute('aria-expanded', 'false');
|
if (mobileBtn) mobileBtn.setAttribute('aria-expanded', 'false');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script src="../../assets/global/localization.js"></script>
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -0,0 +1,203 @@
|
|||||||
|
{
|
||||||
|
"source": "https://www.schoters.com/id/beasiswa",
|
||||||
|
"title": "Kalender Beasiswa - Schoters",
|
||||||
|
"description": "Kalender dan informasi beasiswa terlengkap dari semua jenjang S1, S2, & S3 di setiap negara dan kampus impian beserta persyaratan dan proses pendaftarannya",
|
||||||
|
"filters": {
|
||||||
|
"jenjang": [
|
||||||
|
{ "level": "D2", "count": 2 },
|
||||||
|
{ "level": "D3", "count": 6 },
|
||||||
|
{ "level": "Non-Degree", "count": 20 },
|
||||||
|
{ "level": "S1", "count": 648 },
|
||||||
|
{ "level": "S2", "count": 683 },
|
||||||
|
{ "level": "S3", "count": 362 }
|
||||||
|
],
|
||||||
|
"tipe_pendanaan": [
|
||||||
|
{ "type": "Fully Funded", "count": 809 },
|
||||||
|
{ "type": "Partially Funded", "count": 590 }
|
||||||
|
],
|
||||||
|
"tipe_beasiswa": [
|
||||||
|
{ "type": "Company/Institution Scholarship", "count": 237 },
|
||||||
|
{ "type": "Government Scholarship", "count": 459 },
|
||||||
|
{ "type": "University Scholarship", "count": 830 }
|
||||||
|
],
|
||||||
|
"negara": [
|
||||||
|
{ "country": "Australia", "count": 161 },
|
||||||
|
{ "country": "Austria", "count": 19 },
|
||||||
|
{ "country": "Azerbaijan", "count": 6 },
|
||||||
|
{ "country": "Belgium", "count": 38 },
|
||||||
|
{ "country": "Brazil", "count": 2 },
|
||||||
|
{ "country": "Brunei", "count": 5 },
|
||||||
|
{ "country": "Canada", "count": 46 },
|
||||||
|
{ "country": "China", "count": 114 },
|
||||||
|
{ "country": "Czech Republic", "count": 2 },
|
||||||
|
{ "country": "Denmark", "count": 13 },
|
||||||
|
{ "country": "Egypt", "count": 3 },
|
||||||
|
{ "country": "Estonia", "count": 2 },
|
||||||
|
{ "country": "Finland", "count": 11 },
|
||||||
|
{ "country": "France", "count": 20 },
|
||||||
|
{ "country": "Germany", "count": 46 },
|
||||||
|
{ "country": "Hong Kong", "count": 24 },
|
||||||
|
{ "country": "Hungary", "count": 5 },
|
||||||
|
{ "country": "India", "count": 2 },
|
||||||
|
{ "country": "Indonesia", "count": 35 },
|
||||||
|
{ "country": "Ireland", "count": 8 },
|
||||||
|
{ "country": "Italy", "count": 19 },
|
||||||
|
{ "country": "Japan", "count": 254 },
|
||||||
|
{ "country": "Kazakhstan", "count": 3 },
|
||||||
|
{ "country": "Latvia", "count": 3 },
|
||||||
|
{ "country": "Libya", "count": 2 },
|
||||||
|
{ "country": "Luxembourg", "count": 1 },
|
||||||
|
{ "country": "Macau", "count": 6 },
|
||||||
|
{ "country": "Malaysia", "count": 12 },
|
||||||
|
{ "country": "Morocco", "count": 2 },
|
||||||
|
{ "country": "Netherlands", "count": 21 },
|
||||||
|
{ "country": "New Zealand", "count": 22 },
|
||||||
|
{ "country": "Pakistan", "count": 1 },
|
||||||
|
{ "country": "Philippines", "count": 2 },
|
||||||
|
{ "country": "Poland", "count": 9 },
|
||||||
|
{ "country": "Portugal", "count": 4 },
|
||||||
|
{ "country": "Qatar", "count": 6 },
|
||||||
|
{ "country": "Romania", "count": 9 },
|
||||||
|
{ "country": "Russia", "count": 6 },
|
||||||
|
{ "country": "Saudi Arabia", "count": 12 },
|
||||||
|
{ "country": "Scotland", "count": 2 },
|
||||||
|
{ "country": "Serbia", "count": 3 },
|
||||||
|
{ "country": "Singapore", "count": 49 },
|
||||||
|
{ "country": "Slovakia", "count": 1 },
|
||||||
|
{ "country": "South Korea", "count": 109 },
|
||||||
|
{ "country": "Spain", "count": 12 },
|
||||||
|
{ "country": "Sweden", "count": 11 },
|
||||||
|
{ "country": "Switzerland", "count": 19 },
|
||||||
|
{ "country": "Taiwan", "count": 112 },
|
||||||
|
{ "country": "Thailand", "count": 38 },
|
||||||
|
{ "country": "Turkey", "count": 11 },
|
||||||
|
{ "country": "United Arab Emirates", "count": 67 },
|
||||||
|
{ "country": "United Kingdom", "count": 76 },
|
||||||
|
{ "country": "United States", "count": 55 },
|
||||||
|
{ "country": "Universal", "count": 2 },
|
||||||
|
{ "country": "Vietnam", "count": 2 }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"scholarships_page_1": [
|
||||||
|
{
|
||||||
|
"name": "Boustany Foundation Scholarship, MBA - Harvard University",
|
||||||
|
"funding_type": "Partially Funded",
|
||||||
|
"level": ["S2"],
|
||||||
|
"country": "United States",
|
||||||
|
"open_date": "2026-05-21",
|
||||||
|
"deadline": "2027-05-31",
|
||||||
|
"status": "Pendaftaran dibuka",
|
||||||
|
"url": "https://www.schoters.com/id/beasiswa/boustany-foundation-scholarship-mba-harvard-university-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "La Trobe University - La Trobe High Achiever Scholarship",
|
||||||
|
"funding_type": "Partially Funded",
|
||||||
|
"level": ["S1"],
|
||||||
|
"country": "Australia",
|
||||||
|
"open_date": "2023-09-29",
|
||||||
|
"deadline": "2026-12-31",
|
||||||
|
"status": "Pendaftaran dibuka",
|
||||||
|
"url": "https://www.schoters.com/id/beasiswa/la-trobe-university-la-trobe-high-achiever-scholarship-2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Charles Sturt University - International Student Support Scholarship",
|
||||||
|
"funding_type": "Partially Funded",
|
||||||
|
"level": ["S1"],
|
||||||
|
"country": "Australia",
|
||||||
|
"open_date": "2026-05-21",
|
||||||
|
"deadline": "2026-12-31",
|
||||||
|
"status": "Pendaftaran dibuka",
|
||||||
|
"url": "https://www.schoters.com/id/beasiswa/charles-sturt-university-international-student-support-scholarship-3"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "La Trobe University - La Trobe High Achiever Scholarship",
|
||||||
|
"funding_type": "Partially Funded",
|
||||||
|
"level": ["S2"],
|
||||||
|
"country": "Australia",
|
||||||
|
"open_date": "2023-09-29",
|
||||||
|
"deadline": "2026-12-31",
|
||||||
|
"status": "Pendaftaran dibuka",
|
||||||
|
"url": "https://www.schoters.com/id/beasiswa/la-trobe-university-la-trobe-high-achiever-scholarship-4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ETH Zurich - Excellence Scholarship & Opportunity Programme (ESOP)",
|
||||||
|
"funding_type": "Fully Funded",
|
||||||
|
"level": ["S2"],
|
||||||
|
"country": "Switzerland",
|
||||||
|
"open_date": "2026-11-01",
|
||||||
|
"deadline": "2026-11-30",
|
||||||
|
"status": "Pendaftaran dibuka",
|
||||||
|
"url": "https://www.schoters.com/id/beasiswa/eth-zurich-excellence-scholarship-opportunity-programme-esop-5"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Southern Taiwan University of Science and Technology - The STUST Scholarship for International Students",
|
||||||
|
"funding_type": "Fully Funded",
|
||||||
|
"level": ["S3"],
|
||||||
|
"country": "Taiwan",
|
||||||
|
"open_date": "2026-09-15",
|
||||||
|
"deadline": "2026-11-30",
|
||||||
|
"status": "Pendaftaran dibuka",
|
||||||
|
"url": "https://www.schoters.com/id/beasiswa/southern-taiwan-university-of-science-and-technology-the-stust-scholarship-for-international-students-6"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Southern Taiwan University of Science and Technology - The STUST Scholarship for International Students",
|
||||||
|
"funding_type": "Partially Funded",
|
||||||
|
"level": ["S2"],
|
||||||
|
"country": "Taiwan",
|
||||||
|
"open_date": "2026-09-15",
|
||||||
|
"deadline": "2026-11-30",
|
||||||
|
"status": "Pendaftaran dibuka",
|
||||||
|
"url": "https://www.schoters.com/id/beasiswa/southern-taiwan-university-of-science-and-technology-the-stust-scholarship-for-international-students-7"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "University of Melbourne - Melbourne International Undergraduate Scholarship",
|
||||||
|
"funding_type": "Partially Funded",
|
||||||
|
"level": ["S1"],
|
||||||
|
"country": "Australia",
|
||||||
|
"open_date": "2026-05-21",
|
||||||
|
"deadline": "2026-10-31",
|
||||||
|
"status": "Pendaftaran dibuka",
|
||||||
|
"url": "https://www.schoters.com/id/beasiswa/university-of-melbourne-melbourne-international-undergraduate-scholarship-8"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Charles Darwin University - CDU Global Merit Scholarship",
|
||||||
|
"funding_type": "Partially Funded",
|
||||||
|
"level": ["S1"],
|
||||||
|
"country": "Australia",
|
||||||
|
"open_date": "2026-05-21",
|
||||||
|
"deadline": "2026-10-09",
|
||||||
|
"status": "Pendaftaran dibuka",
|
||||||
|
"url": "https://www.schoters.com/id/beasiswa/charles-darwin-university-cdu-global-merit-scholarship-9"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Deakin University - Vice-Chancellor's International Scholarship",
|
||||||
|
"funding_type": "Partially Funded",
|
||||||
|
"level": ["S1", "S2"],
|
||||||
|
"country": "Australia",
|
||||||
|
"open_date": "2026-05-21",
|
||||||
|
"deadline": "2026-09-25",
|
||||||
|
"status": "Pendaftaran dibuka",
|
||||||
|
"url": "https://www.schoters.com/id/beasiswa/deakin-university-vice-chancellor-s-international-scholarship-10"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"pagination": {
|
||||||
|
"current_page": 1,
|
||||||
|
"total_pages": 153
|
||||||
|
},
|
||||||
|
"contact": {
|
||||||
|
"email": "ask@schoters.com",
|
||||||
|
"phone": "0811 9424 966",
|
||||||
|
"address": "Gedung Sinarmas MSIG Tower Lt. 33, Jl. Jenderal Sudirman Kav. 21, Karet Kuningan, Setiabudi, Jakarta Selatan, Jakarta 12920"
|
||||||
|
},
|
||||||
|
"social_media": {
|
||||||
|
"instagram": "https://www.instagram.com/schoters/",
|
||||||
|
"facebook": "https://www.facebook.com/schoters",
|
||||||
|
"youtube": "https://www.youtube.com/@Schoters",
|
||||||
|
"tiktok": "https://www.tiktok.com/@schoters.id",
|
||||||
|
"twitter_x": "https://x.com/schoters_com",
|
||||||
|
"linkedin": "https://id.linkedin.com/company/schoters"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,86 @@
|
|||||||
|
# Panduan Pengelolaan Data Kelompok C4A
|
||||||
|
|
||||||
|
Dokumentasi ini dibuat untuk memudahkan pengembang atau pengguna berikutnya dalam mengelola data Staf Pendukung, SOP, dan FAQ pada halaman C4A.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📋 Aturan Umum Pengelolaan Data
|
||||||
|
|
||||||
|
1. **Lokasi Berkas Data**:
|
||||||
|
Seluruh data disimpan dalam format JSON di direktori `groups/C4A/data/`:
|
||||||
|
- Data Staf: `groups/C4A/data/data-staff.json`
|
||||||
|
- Data SOP: `groups/C4A/data/data-sop.json`
|
||||||
|
- Data FAQ: `groups/C4A/data/data-faq.json`
|
||||||
|
|
||||||
|
2. **Ikon FontAwesome (v4)**:
|
||||||
|
Jika ingin mengubah atau menambahkan logo/ikon pada data SOP, harap gunakan daftar ikon dari **FontAwesome v4** melalui tautan berikut:
|
||||||
|
👉 **[FontAwesome v4 Icons](https://fontawesome.com/v4/icons/)** (Contoh penggunaan: `fa-dot-circle-o`, `fa-graduation-cap`, `fa-flask`).
|
||||||
|
|
||||||
|
3. **Field Opsional**:
|
||||||
|
Pada data SOP, properti **`staff_responsible`** (Staf Bertanggung Jawab) dan **`additional_info`** (Informasi Tambahan) bersifat **opsional**. Jika informasi tersebut tidak tersedia, kosongkan nilainya atau hapus propertinya dari JSON agar UI secara otomatis menyembunyikan bloknya.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🛠️ Template Penambahan Data
|
||||||
|
|
||||||
|
Silakan salin-tempel (copy-paste) format di bawah ini ke dalam array JSON yang sesuai di folder `data/` untuk menambahkan data baru.
|
||||||
|
|
||||||
|
### 1. Template Data Staf (`data-staff.json`)
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"id": 3,
|
||||||
|
"name": "Nama Staf Beserta Gelar",
|
||||||
|
"role": "Peran / Jabatan Staf",
|
||||||
|
"image": "assets/images/nama-file-foto.png",
|
||||||
|
"location": "Lokasi Ruang Kerja / Kantor Staf",
|
||||||
|
"contact_consent": true,
|
||||||
|
"phone": "628xxxxxxxxxx",
|
||||||
|
"schedule": [
|
||||||
|
{
|
||||||
|
"day": "Hari Kerja (contoh: Senin – Jumat)",
|
||||||
|
"time": "Jam Kerja (contoh: 07.30–16.00 WIB)",
|
||||||
|
"break": "Jam Istirahat (contoh: istirahat 12.00–13.00 WIB)"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"tasks": [
|
||||||
|
"Tugas dan tanggung jawab utama 1",
|
||||||
|
"Tugas dan tanggung jawab utama 2"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
*Catatan: Letakkan file gambar/foto staf ke dalam direktori `groups/C4A/assets/images/` dan masukkan nama berkas fotonya pada properti `image` di atas. Untuk nomor telepon (`phone`), Anda dapat menggunakan format `08xxxxxxxxxx` atau `628xxxxxxxxxx` karena skrip JavaScript akan melakukan normalisasi secara otomatis.*
|
||||||
|
|
||||||
|
### 2. Template Data SOP (`data-sop.json`)
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"tab_id": "id-unik-sop-tanpa-spasi",
|
||||||
|
"tab_number": 9,
|
||||||
|
"category": "akademik",
|
||||||
|
"icon": "fa-file-text",
|
||||||
|
"title": "Judul Lengkap SOP",
|
||||||
|
"description": "Deskripsi singkat mengenai SOP ini.",
|
||||||
|
"purpose": "Tujuan dibuatnya standar operasional prosedur ini.",
|
||||||
|
"requirements": [
|
||||||
|
"Persyaratan administratif/akademik 1",
|
||||||
|
"Persyaratan administratif/akademik 2"
|
||||||
|
],
|
||||||
|
"procedures": [
|
||||||
|
"Langkah alur prosedur ke-1",
|
||||||
|
"Langkah alur prosedur ke-2"
|
||||||
|
],
|
||||||
|
"staff_responsible": [
|
||||||
|
"👤 Staf Administrasi Informatika"
|
||||||
|
],
|
||||||
|
"additional_info": "Informasi tambahan penting."
|
||||||
|
}
|
||||||
|
```
|
||||||
|
*Catatan: Properti `category` bernilai antara `"akademik"` atau `"praktikum"`. Properti `staff_responsible` dan `additional_info` bersifat opsional.*
|
||||||
|
|
||||||
|
### 3. Template Data FAQ (`data-faq.json`)
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"id": 11,
|
||||||
|
"question": "Pertanyaan yang sering diajukan?",
|
||||||
|
"answer": "Jawaban dari pertanyaan tersebut. Boleh menggunakan tag HTML seperti <strong>tebal</strong>."
|
||||||
|
}
|
||||||
|
```
|
||||||
|
After Width: | Height: | Size: 263 KiB |
|
After Width: | Height: | Size: 313 KiB |
@@ -0,0 +1,112 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"question": {
|
||||||
|
"id": "Apa saja syarat administratif agar saya bisa mengikuti perkuliahan?",
|
||||||
|
"en": "What are the administrative requirements for me to attend lectures?"
|
||||||
|
},
|
||||||
|
"answer": {
|
||||||
|
"id": "Syarat untuk mengikuti perkuliahan adalah mahasiswa telah melakukan <strong>pembayaran UKT</strong>, mengisi <strong>KRS</strong>, dan terdaftar di <strong>kelas Edlink</strong>.",
|
||||||
|
"en": "The requirements to attend lectures are that the student has completed <strong>UKT payment</strong>, filled out the <strong>KRS</strong>, and is registered in <strong>Edlink classes</strong>."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 2,
|
||||||
|
"question": {
|
||||||
|
"id": "Berapa persentase kehadiran minimal agar bisa mengikuti Ujian Akhir Semester (UAS)?",
|
||||||
|
"en": "What is the minimum attendance percentage required to take the Final Semester Exam (UAS)?"
|
||||||
|
},
|
||||||
|
"answer": {
|
||||||
|
"id": "Mahasiswa wajib memenuhi minimal <strong>75% kehadiran</strong> dari total pertemuan perkuliahan. Mahasiswa yang tidak memenuhi syarat kehadiran ini tidak diperkenankan mengikuti UAS.",
|
||||||
|
"en": "Students must meet a minimum of <strong>75% attendance</strong> out of the total lecture sessions. Students who do not meet this attendance requirement are not permitted to take the UAS."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 3,
|
||||||
|
"question": {
|
||||||
|
"id": "Apakah pengisian evaluasi perkuliahan itu wajib?",
|
||||||
|
"en": "Is filling out the lecture evaluation mandatory?"
|
||||||
|
},
|
||||||
|
"answer": {
|
||||||
|
"id": "Ya, karena pengisian evaluasi perkuliahan dapat menjadi salah satu syarat untuk <strong>mengakses hasil studi</strong> sesuai dengan kebijakan yang berlaku. Hasil ini sangat penting untuk perbaikan dan pengembangan kualitas pembelajaran prodi ke depannya.",
|
||||||
|
"en": "Yes, because completing the lecture evaluation may be one of the requirements to <strong>access study results</strong> in accordance with applicable policies. This is very important for improving and developing the quality of the study program's learning in the future."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 4,
|
||||||
|
"question": {
|
||||||
|
"id": "Berapa minimal SKS dan IPK untuk bisa mendaftar Kerja Praktik (KP)?",
|
||||||
|
"en": "What is the minimum number of credits (SKS) and GPA required to register for an Internship (KP)?"
|
||||||
|
},
|
||||||
|
"answer": {
|
||||||
|
"id": "Untuk mendaftar KP, mahasiswa harus sudah lulus minimal <strong>100 SKS</strong> dan memiliki Indeks Prestasi Kumulatif (IPK) <strong>≥ 2,00</strong>.",
|
||||||
|
"en": "To register for KP, students must have passed at least <strong>100 credits (SKS)</strong> and have a Cumulative Grade Point Average (GPA) of <strong>≥ 2.00</strong>."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 5,
|
||||||
|
"question": {
|
||||||
|
"id": "Apakah ada syarat kelulusan mata kuliah tertentu sebelum saya bisa mengajukan Kerja Praktik (KP)?",
|
||||||
|
"en": "Are there specific course completion requirements before I can apply for an Internship (KP)?"
|
||||||
|
},
|
||||||
|
"answer": {
|
||||||
|
"id": "Ya, selain memenuhi syarat minimal SKS dan IPK, mahasiswa juga diwajibkan telah lulus mata kuliah <strong>Penulisan Proposal Tugas Akhir dengan nilai minimal C</strong>. Selain itu, mahasiswa juga harus menyerahkan berkas pendukung pengajuan KP seperti KTM, riwayat studi, transkrip nilai, dan surat permohonan.",
|
||||||
|
"en": "Yes, in addition to meeting the minimum SKS and GPA requirements, students are also required to have passed the <strong>Final Project Proposal Writing course with a minimum grade of C</strong>. Furthermore, students must also submit supporting documents for the KP application, such as student ID card, academic record, transcript, and application letter."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 6,
|
||||||
|
"question": {
|
||||||
|
"id": "Apa kualifikasi yang dibutuhkan untuk Pembimbing Lapangan di instansi tempat KP?",
|
||||||
|
"en": "What qualifications are required for a Field Supervisor at the KP institution?"
|
||||||
|
},
|
||||||
|
"answer": {
|
||||||
|
"id": "Pembimbing Lapangan dari tempat pelaksanaan KP diwajibkan memiliki kualifikasi pendidikan minimal <strong>S1 atau D4</strong>.",
|
||||||
|
"en": "The Field Supervisor from the KP institution is required to have a minimum educational qualification of <strong>Bachelor's (S1) or Applied Bachelor's (D4)</strong>."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 7,
|
||||||
|
"question": {
|
||||||
|
"id": "Bolehkah saya mengambil mata kuliah Kerja Praktik (KP) bersamaan dengan Tugas Akhir?",
|
||||||
|
"en": "Can I take the Internship (KP) course concurrently with my Final Project (Tugas Akhir)?"
|
||||||
|
},
|
||||||
|
"answer": {
|
||||||
|
"id": "Boleh. Mata Kuliah Kerja Praktik (KP) dapat diambil secara bersamaan dengan <strong>Tugas Akhir 1 (TA1)</strong> dan <strong>Tugas Akhir 2 (TA2)</strong> dalam satu semester yang sama.",
|
||||||
|
"en": "Yes. The Internship (KP) course can be taken concurrently with <strong>Final Project 1 (TA1)</strong> and <strong>Final Project 2 (TA2)</strong> within the same semester."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 8,
|
||||||
|
"question": {
|
||||||
|
"id": "Apa saja syarat akademik utama sebelum mengajukan judul Tugas Akhir (Skripsi)?",
|
||||||
|
"en": "What are the main academic requirements before submitting a Final Project (Thesis) title?"
|
||||||
|
},
|
||||||
|
"answer": {
|
||||||
|
"id": "Syarat utamanya adalah mahasiswa harus telah lulus minimal <strong>120 SKS</strong>, memiliki <strong>IPK minimal 2,00</strong>, telah lulus mata kuliah <strong>Penulisan Proposal Tugas Akhir dengan nilai minimal C</strong>, serta telah mendaftarkan mata kuliah skripsi pada KRS.",
|
||||||
|
"en": "The main requirements are that the student must have passed at least <strong>120 credits (SKS)</strong>, have a <strong>minimum GPA of 2.00</strong>, have passed the <strong>Final Project Proposal Writing course with a minimum grade of C</strong>, and have registered the thesis course in the KRS."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 9,
|
||||||
|
"question": {
|
||||||
|
"id": "Siapa yang berhak mendaftar menjadi Asisten Praktikum (Aslab)?",
|
||||||
|
"en": "Who is eligible to register as a Practicum Assistant (Aslab)?"
|
||||||
|
},
|
||||||
|
"answer": {
|
||||||
|
"id": "Rekrutmen terbuka bagi <strong>mahasiswa aktif Program Studi Informatika UNTAN</strong> yang telah lulus mata kuliah terkait (dengan nilai minimal sesuai ketentuan Dosen Pengampu) dan berkomitmen mengikuti seluruh jadwal praktikum selama semester berjalan.",
|
||||||
|
"en": "Recruitment is open to <strong>active students of the Informatics Study Program at UNTAN</strong> who have passed the relevant courses (with a minimum grade as per the Lecturer's requirements) and are committed to attending all practicum schedules throughout the semester."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 10,
|
||||||
|
"question": {
|
||||||
|
"id": "Bagaimana prosedur meminjam Laboratorium Komputer untuk keperluan kegiatan kampus?",
|
||||||
|
"en": "What is the procedure for borrowing the Computer Laboratory for campus activities?"
|
||||||
|
},
|
||||||
|
"answer": {
|
||||||
|
"id": "Peminjam (dosen atau mahasiswa) harus mengajukan <strong>surat permohonan peminjaman</strong> kepada staf laboratorium pengelola dan menyampaikan jadwal penggunaannya. Penggunaan lab juga harus didampingi oleh <strong>dosen atau asisten praktikum</strong> yang bertanggung jawab.",
|
||||||
|
"en": "The borrower (lecturer or student) must submit a <strong>borrowing request letter</strong> to the laboratory management staff and provide the usage schedule. Lab usage must also be supervised by a <strong>responsible lecturer or practicum assistant</strong>."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -0,0 +1,293 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"tab_id": "kuliah",
|
||||||
|
"tab_number": 1,
|
||||||
|
"category": "akademik",
|
||||||
|
"icon": "fa-chalkboard-teacher",
|
||||||
|
"title": {
|
||||||
|
"id": "SOP Pelaksanaan Kuliah",
|
||||||
|
"en": "Lecture Procedure SOP"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"id": "Mengatur tata cara dan tahapan pelaksanaan perkuliahan mulai dari persiapan hingga evaluasi pembelajaran.",
|
||||||
|
"en": "Regulates the procedures and stages of lecture implementation from preparation to learning evaluation."
|
||||||
|
},
|
||||||
|
"purpose": {
|
||||||
|
"id": "SOP ini bertujuan untuk menjelaskan tata cara pelaksanaan perkuliahan bagi mahasiswa Program Studi Informatika Universitas Tanjungpura.",
|
||||||
|
"en": "This SOP aims to explain the procedures for conducting lectures for students of the Informatics Study Program at Tanjungpura University."
|
||||||
|
},
|
||||||
|
"requirements": [
|
||||||
|
{ "id": "Mahasiswa telah melakukan pembayaran UKT", "en": "Student has completed UKT payment" },
|
||||||
|
{ "id": "Mahasiswa telah mengisi KRS", "en": "Student has filled out the KRS" },
|
||||||
|
{ "id": "Mahasiswa terdaftar di kelas Edlink", "en": "Student is registered in Edlink classes" },
|
||||||
|
{ "id": "Mahasiswa wajib mengikuti perkuliahan dan menyelesaikan tugas tepat waktu", "en": "Students must attend lectures and complete assignments on time" },
|
||||||
|
{ "id": "Mahasiswa wajib mengisi daftar hadir dan memberikan alasan resmi jika tidak hadir", "en": "Students must fill in the attendance list and provide an official reason if absent" },
|
||||||
|
{ "id": "Mahasiswa memenuhi minimal 70% kehadiran untuk mengikuti UAS", "en": "Students must meet a minimum of 70% attendance to take the UAS" }
|
||||||
|
],
|
||||||
|
"procedures": [
|
||||||
|
{ "id": "Dosen memasuki ruang perkuliahan sesuai jadwal yang telah ditetapkan", "en": "The lecturer enters the lecture room according to the set schedule" },
|
||||||
|
{ "id": "Dosen mengabsensi mahasiswa dengan mencantumkan keterangan hadir, izin, atau tidak hadir", "en": "The lecturer takes attendance, noting present, excused, or absent" },
|
||||||
|
{ "id": "Pada pertemuan pertama, dosen membuat kontrak perkuliahan secara tertulis bersama mahasiswa", "en": "At the first meeting, the lecturer creates a written lecture contract with students" },
|
||||||
|
{ "id": "Dosen menjelaskan materi perkuliahan sesuai RPS yang telah diserahkan ke program studi", "en": "The lecturer explains the course material according to the RPS submitted to the study program" },
|
||||||
|
{ "id": "Mahasiswa mendiskusikan, mencatat, dan mengkritisi materi perkuliahan", "en": "Students discuss, take notes, and critically engage with the lecture material" },
|
||||||
|
{ "id": "Dosen menyimpulkan materi perkuliahan dan memberikan penugasan", "en": "The lecturer summarizes the lecture material and gives assignments" }
|
||||||
|
],
|
||||||
|
"additional_info": {
|
||||||
|
"id": "Mahasiswa yang tidak memenuhi persyaratan kehadiran minimal tidak diperkenankan mengikuti Ujian Akhir Semester (UAS) sesuai ketentuan akademik yang berlaku.",
|
||||||
|
"en": "Students who do not meet the minimum attendance requirements are not permitted to take the Final Semester Exam (UAS) in accordance with applicable academic regulations."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tab_id": "ujian",
|
||||||
|
"tab_number": 2,
|
||||||
|
"category": "akademik",
|
||||||
|
"icon": "fa-file-signature",
|
||||||
|
"title": {
|
||||||
|
"id": "SOP Pelaksanaan Ujian (UTS & UAS)",
|
||||||
|
"en": "Exam Procedure SOP (Mid-Term & Final Exams)"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"id": "Mengatur pedoman pelaksanaan Ujian Tengah Semester (UTS) dan Ujian Akhir Semester (UAS) mulai dari penentuan kriteria evaluasi, pelaksanaan, hingga perekapan nilai.",
|
||||||
|
"en": "Regulates the guidelines for conducting Mid-Term Exams (UTS) and Final Semester Exams (UAS), from determining evaluation criteria and implementation to grade recording."
|
||||||
|
},
|
||||||
|
"purpose": {
|
||||||
|
"id": "SOP ini bertujuan untuk memastikan kelancaran proses evaluasi pembelajaran mahasiswa melalui UTS dan UAS agar berjalan tertib, terukur, dan sesuai dengan instruksi dosen pengampu mata kuliah.",
|
||||||
|
"en": "This SOP aims to ensure the smooth process of student learning evaluation through UTS and UAS so that it runs orderly, measurably, and in accordance with the course lecturer's instructions."
|
||||||
|
},
|
||||||
|
"requirements": [
|
||||||
|
{ "id": "Mahasiswa terdaftar aktif pada mata kuliah yang sedang berjalan pada semester tersebut", "en": "Students are actively registered in the courses running in that semester" },
|
||||||
|
{ "id": "Persentase kehadiran perkuliahan mahasiswa tidak kurang dari 75%", "en": "Student lecture attendance percentage is not less than 75%" }
|
||||||
|
],
|
||||||
|
"procedures": [
|
||||||
|
{ "id": "Dosen pengampu menentukan kriteria UTS dan UAS", "en": "The course lecturer determines the UTS and UAS criteria" },
|
||||||
|
{ "id": "Mahasiswa mengikuti UTS atau UAS sesuai instruksi dosen pengampu, dan wajib melakukan presensi", "en": "Students take UTS or UAS according to the lecturer's instructions and must complete attendance" },
|
||||||
|
{ "id": "Mahasiswa mengumpulkan hasil UTS atau UAS sesuai rentang waktu yang diberikan", "en": "Students submit UTS or UAS results within the given timeframe" },
|
||||||
|
{ "id": "Dosen menilai dan merekap pengerjaan UTS atau UAS mahasiswa", "en": "The lecturer grades and records the students' UTS or UAS work" }
|
||||||
|
],
|
||||||
|
"additional_info": {
|
||||||
|
"id": "Segala bentuk kecurangan saat ujian, maupun tindakan plagiarisme dalam pengerjaan UTS/UAS, dapat mengakibatkan pembatalan nilai atau pemberian sanksi.",
|
||||||
|
"en": "Any form of cheating during exams, as well as plagiarism in completing the UTS/UAS, may result in grade cancellation or sanctions."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tab_id": "evaluasi",
|
||||||
|
"tab_number": 3,
|
||||||
|
"category": "akademik",
|
||||||
|
"icon": "fa-chart-line",
|
||||||
|
"title": {
|
||||||
|
"id": "SOP Pelaksanaan Evaluasi Pengembangan Perkuliahan",
|
||||||
|
"en": "Lecture Development Evaluation SOP"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"id": "Mengatur tata cara pelaksanaan evaluasi perkuliahan oleh mahasiswa sebagai sarana umpan balik untuk meningkatkan kualitas proses belajar mengajar.",
|
||||||
|
"en": "Regulates the procedures for conducting lecture evaluations by students as a feedback mechanism to improve the quality of the teaching and learning process."
|
||||||
|
},
|
||||||
|
"purpose": {
|
||||||
|
"id": "SOP ini bertujuan memberikan pedoman pelaksanaan evaluasi perkuliahan guna mendukung peningkatan mutu pembelajaran di Program Studi Informatika Universitas Tanjungpura.",
|
||||||
|
"en": "This SOP aims to provide guidelines for conducting lecture evaluations to support the improvement of learning quality in the Informatics Study Program at Tanjungpura University."
|
||||||
|
},
|
||||||
|
"requirements": [
|
||||||
|
{ "id": "Mahasiswa terdaftar aktif pada semester berjalan", "en": "Students are actively registered for the current semester" },
|
||||||
|
{ "id": "Telah mengikuti kegiatan perkuliahan pada mata kuliah yang dievaluasi", "en": "Has attended lecture activities for the course being evaluated" },
|
||||||
|
{ "id": "Tersedia akses ke sistem evaluasi perkuliahan", "en": "Access to the lecture evaluation system is available" }
|
||||||
|
],
|
||||||
|
"procedures": [
|
||||||
|
{ "id": "Program Studi membuka periode evaluasi perkuliahan", "en": "The Study Program opens the lecture evaluation period" },
|
||||||
|
{ "id": "Mahasiswa mengakses satu untan dan mengisi kuesioner evaluasi perkuliahan", "en": "Students access the Satu Untan portal and fill out the lecture evaluation questionnaire" },
|
||||||
|
{ "id": "Sistem merekap hasil evaluasi yang telah diisi mahasiswa", "en": "The system records the evaluation results filled in by students" },
|
||||||
|
{ "id": "Program Studi meninjau hasil evaluasi sebagai bahan pengembangan perkuliahan", "en": "The Study Program reviews the evaluation results as material for lecture development" }
|
||||||
|
],
|
||||||
|
"additional_info": {
|
||||||
|
"id": "Hasil evaluasi digunakan sebagai dasar perbaikan dan pengembangan kualitas pembelajaran pada semester berikutnya. Pengisian evaluasi perkuliahan dapat menjadi salah satu syarat untuk mengakses hasil studi sesuai kebijakan yang berlaku.",
|
||||||
|
"en": "Evaluation results are used as a basis for improving and developing the quality of learning in the following semester. Completing the lecture evaluation may be one of the requirements for accessing study results in accordance with applicable policies."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tab_id": "kp",
|
||||||
|
"tab_number": 4,
|
||||||
|
"category": "akademik",
|
||||||
|
"icon": "fa-briefcase",
|
||||||
|
"title": {
|
||||||
|
"id": "SOP Kerja Praktik",
|
||||||
|
"en": "Internship (KP) SOP"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"id": "Panduan resmi pelaksanaan Kerja Praktek (KP) mulai dari tata cara pendaftaran, pelaksanaan, hingga seminar Kerja Praktek (KP).",
|
||||||
|
"en": "The official guide for conducting the Internship (KP), from registration procedures and implementation to the KP seminar."
|
||||||
|
},
|
||||||
|
"purpose": {
|
||||||
|
"id": "SOP ini bertujuan memberikan pedoman kepada seluruh pihak terkait dalam pelaksanaan Kerja Praktek serta meningkatkan efisiensi dan efektivitas pelaksanaannya di Program Studi Informatika Fakultas Teknik Universitas Tanjungpura.",
|
||||||
|
"en": "This SOP aims to provide guidelines to all relevant parties in the implementation of the Internship and to improve the efficiency and effectiveness of its execution in the Informatics Study Program, Faculty of Engineering, Tanjungpura University."
|
||||||
|
},
|
||||||
|
"requirements": [
|
||||||
|
{ "id": "Telah lulus minimal 100 SKS", "en": "Has passed a minimum of 100 credits (SKS)" },
|
||||||
|
{ "id": "Memiliki IPK minimal 2,00", "en": "Has a minimum GPA of 2.00" },
|
||||||
|
{ "id": "Telah lulus mata kuliah Penulisan Proposal Tugas Akhir dengan nilai minimal C", "en": "Has passed the Final Project Proposal Writing course with a minimum grade of C" },
|
||||||
|
{ "id": "Menyerahkan berkas pendukung pengajuan KP (KTM, riwayat studi, transkrip, dan surat permohonan)", "en": "Submits supporting documents for the KP application (student ID, academic record, transcript, and application letter)" },
|
||||||
|
{ "id": "Pembimbing Lapangan dari tempat KP memiliki kualifikasi pendidikan minimal S1/D4", "en": "The Field Supervisor at the KP institution holds a minimum educational qualification of Bachelor's (S1) or Applied Bachelor's (D4)" }
|
||||||
|
],
|
||||||
|
"procedures": [
|
||||||
|
{ "id": "Mahasiswa mengusulkan topik, draf proposal, dan menyerahkan berkas KP", "en": "Students propose a topic, submit a draft proposal, and submit KP documents" },
|
||||||
|
{ "id": "Staf Administrasi memverifikasi kelengkapan berkas", "en": "Administrative Staff verifies the completeness of documents" },
|
||||||
|
{ "id": "Ketua Prodi menerbitkan surat pengantar KP", "en": "The Head of the Study Program issues the KP introductory letter" },
|
||||||
|
{ "id": "Mahasiswa melaksanakan KP dan mengikuti bimbingan", "en": "Students carry out the KP and attend supervision sessions" },
|
||||||
|
{ "id": "Pembimbing Lapangan memberikan penilaian KP", "en": "The Field Supervisor provides a KP assessment" },
|
||||||
|
{ "id": "Mahasiswa mengajukan seminar dan Prodi menerbitkan undangan", "en": "Students apply for the seminar and the Study Program issues an invitation" },
|
||||||
|
{ "id": "Mahasiswa melaksanakan seminar KP", "en": "Students conduct the KP seminar" },
|
||||||
|
{ "id": "Mahasiswa melakukan revisi laporan akhir KP", "en": "Students revise the final KP report" }
|
||||||
|
],
|
||||||
|
"staff_responsible": [
|
||||||
|
"👤 Staf Administrasi Informatika / Informatics Administrative Staff"
|
||||||
|
],
|
||||||
|
"additional_info": {
|
||||||
|
"id": "Mata Kuliah Kerja Praktik (KP) dapat diambil bersamaan dengan Tugas Akhir 1 (TA1) dan Tugas Akhir 2 (TA2) dalam semester yang sama.",
|
||||||
|
"en": "The Internship (KP) course can be taken concurrently with Final Project 1 (TA1) and Final Project 2 (TA2) in the same semester."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tab_id": "ta",
|
||||||
|
"tab_number": 5,
|
||||||
|
"category": "akademik",
|
||||||
|
"icon": "fa-graduation-cap",
|
||||||
|
"title": {
|
||||||
|
"id": "SOP Tugas Akhir/Skripsi",
|
||||||
|
"en": "Final Project / Thesis SOP"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"id": "Mengatur tata cara pelaksanaan skripsi mulai dari pengajuan judul hingga ujian dan penyelesaian skripsi mahasiswa.",
|
||||||
|
"en": "Regulates the procedures for thesis implementation, from title submission to examination and completion of the student's thesis."
|
||||||
|
},
|
||||||
|
"purpose": {
|
||||||
|
"id": "SOP ini bertujuan untuk memberikan pedoman kepada mahasiswa dan dosen dalam pelaksanaan skripsi agar proses penyusunan skripsi berjalan tertib, terarah, dan sesuai ketentuan akademik.",
|
||||||
|
"en": "This SOP aims to provide guidance to students and lecturers in the implementation of the thesis so that the thesis writing process runs in an orderly, directed, and academically compliant manner."
|
||||||
|
},
|
||||||
|
"requirements": [
|
||||||
|
{ "id": "Telah lulus minimal 120 SKS", "en": "Has passed a minimum of 120 credits (SKS)" },
|
||||||
|
{ "id": "Memiliki IPK minimal 2,00", "en": "Has a minimum GPA of 2.00" },
|
||||||
|
{ "id": "Telah lulus mata kuliah Penulisan Proposal Tugas Akhir dengan nilai minimal C", "en": "Has passed the Final Project Proposal Writing course with a minimum grade of C" },
|
||||||
|
{ "id": "Telah mendaftarkan mata kuliah skripsi pada KRS", "en": "Has registered the thesis course in the KRS" },
|
||||||
|
{ "id": "Telah menyiapkan judul dan proposal skripsi", "en": "Has prepared a thesis title and proposal" },
|
||||||
|
{ "id": "Memiliki dosen pembimbing skripsi", "en": "Has a thesis supervisor" },
|
||||||
|
{ "id": "Melengkapi berkas persyaratan", "en": "Completes the required documents" }
|
||||||
|
],
|
||||||
|
"procedures": [
|
||||||
|
{ "id": "Mahasiswa mengajukan judul dan proposal skripsi", "en": "Students submit the thesis title and proposal" },
|
||||||
|
{ "id": "Program studi menetapkan dosen pembimbing skripsi", "en": "The study program assigns a thesis supervisor" },
|
||||||
|
{ "id": "Mahasiswa melakukan bimbingan dan penyusunan skripsi", "en": "Students conduct supervision sessions and write the thesis" },
|
||||||
|
{ "id": "Mahasiswa mengajukan seminar atau sidang skripsi", "en": "Students apply for the thesis seminar or defense" },
|
||||||
|
{ "id": "Tim penguji dan pembimbing melaksanakan seminar skripsi", "en": "The examination committee and supervisor conduct the thesis seminar" },
|
||||||
|
{ "id": "Mahasiswa melakukan revisi skripsi", "en": "Students revise the thesis" },
|
||||||
|
{ "id": "Mahasiswa menyerahkan skripsi final", "en": "Students submit the final thesis" }
|
||||||
|
],
|
||||||
|
"staff_responsible": [
|
||||||
|
"👤 Staf Administrasi Informatika / Informatics Administrative Staff"
|
||||||
|
],
|
||||||
|
"additional_info": {
|
||||||
|
"id": "Mahasiswa diberi waktu maksimal 2 semester untuk menyelesaikan Tugas Akhir. Perpanjangan dapat dilakukan dengan persetujuan tertulis dari Kaprodi dan Pembimbing.",
|
||||||
|
"en": "Students are given a maximum of 2 semesters to complete the Final Project. Extensions can be made with written approval from the Head of Study Program and the Supervisor."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tab_id": "praktikum",
|
||||||
|
"tab_number": 6,
|
||||||
|
"category": "praktikum",
|
||||||
|
"icon": "fa-flask",
|
||||||
|
"title": {
|
||||||
|
"id": "SOP Praktikum Mata Kuliah",
|
||||||
|
"en": "Course Practicum SOP"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"id": "Mengatur tata cara pelaksanaan praktikum mata kuliah agar kegiatan praktikum berjalan tertib, aman, dan sesuai ketentuan pembelajaran.",
|
||||||
|
"en": "Regulates the procedures for conducting course practicums so that practicum activities run in an orderly, safe, and learning-compliant manner."
|
||||||
|
},
|
||||||
|
"purpose": {
|
||||||
|
"id": "SOP ini bertujuan untuk menjelaskan tata cara pelaksanaan perkuliahan yang memiliki komponen praktikum pada semester berjalan.",
|
||||||
|
"en": "This SOP aims to explain the procedures for conducting courses that have a practicum component in the current semester."
|
||||||
|
},
|
||||||
|
"requirements": [
|
||||||
|
{ "id": "Terdaftar sebagai peserta mata kuliah yang memiliki komponen praktikum pada semester berjalan", "en": "Registered as a participant in courses with a practicum component in the current semester" },
|
||||||
|
{ "id": "Mahasiswa membawa perlengkapan praktikum yang diperlukan", "en": "Students bring the required practicum equipment" }
|
||||||
|
],
|
||||||
|
"procedures": [
|
||||||
|
{ "id": "Dosen mata kuliah menuntaskan pembahasan materi yang menjadi dasar praktikum", "en": "The course lecturer completes the discussion of material that forms the basis of the practicum" },
|
||||||
|
{ "id": "Mahasiswa mengisi daftar hadir dan menerima penjelasan prosedur praktikum", "en": "Students fill in the attendance list and receive an explanation of the practicum procedures" },
|
||||||
|
{ "id": "Mahasiswa melaksanakan praktikum sesuai modul di bawah pengawasan dosen atau asisten praktikum", "en": "Students carry out the practicum according to the module under the supervision of the lecturer or practicum assistant" },
|
||||||
|
{ "id": "Mahasiswa menyusun dan mengumpulkan laporan praktikum sesuai tenggat waktu", "en": "Students compile and submit the practicum report by the deadline" },
|
||||||
|
{ "id": "Dosen atau asisten melakukan penilaian laporan dan hasil praktikum sebagai komponen nilai akhir", "en": "The lecturer or assistant grades the practicum report and results as a component of the final grade" }
|
||||||
|
],
|
||||||
|
"additional_info": {
|
||||||
|
"id": "Mahasiswa wajib mengikuti seluruh ketentuan praktikum dan menjaga ketertiban serta keamanan selama kegiatan praktikum berlangsung.",
|
||||||
|
"en": "Students must comply with all practicum regulations and maintain order and safety throughout the practicum activities."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tab_id": "rekrut_asprak",
|
||||||
|
"tab_number": 7,
|
||||||
|
"category": "praktikum",
|
||||||
|
"icon": "fa-user-plus",
|
||||||
|
"title": {
|
||||||
|
"id": "SOP Perekrutan Asisten Praktikum",
|
||||||
|
"en": "Practicum Assistant Recruitment SOP"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"id": "Prosedur perekrutan Asisten Praktikum (Aslab) mulai dari pendataan kebutuhan mata kuliah, proses seleksi, hingga pengumuman kelulusan.",
|
||||||
|
"en": "The procedure for recruiting Practicum Assistants (Aslab), from identifying course needs and the selection process to announcing results."
|
||||||
|
},
|
||||||
|
"purpose": {
|
||||||
|
"id": "SOP ini bertujuan sebagai panduan baku untuk menyelenggarakan rekrutmen Asisten Praktikum secara transparan, guna menyaring mahasiswa Informatika UNTAN yang kompeten dan berkomitmen sesuai kualifikasi mata kuliah.",
|
||||||
|
"en": "This SOP aims to serve as a standard guide for conducting transparent Practicum Assistant recruitment, in order to select competent and committed Informatics UNTAN students according to course qualifications."
|
||||||
|
},
|
||||||
|
"requirements": [
|
||||||
|
{ "id": "Mahasiswa aktif Program Studi Informatika UNTAN", "en": "Active student of the Informatics Study Program at UNTAN" },
|
||||||
|
{ "id": "Lulus mata kuliah terkait dengan nilai minimal ketentuan Dosen Pengampu", "en": "Passed the relevant course with a minimum grade as per the Lecturer's requirements" },
|
||||||
|
{ "id": "Berkomitmen mengikuti seluruh jadwal dan kontrak praktikum selama semester berjalan", "en": "Committed to following all practicum schedules and contracts throughout the current semester" }
|
||||||
|
],
|
||||||
|
"procedures": [
|
||||||
|
{ "id": "Dosen mendata kebutuhan kuota dan kualifikasi Asisten Praktikum", "en": "The lecturer records the quota needs and qualifications for Practicum Assistants" },
|
||||||
|
{ "id": "Dosen mengumumkan pembukaan rekrutmen asisten praktikum", "en": "The lecturer announces the opening of Practicum Assistant recruitment" },
|
||||||
|
{ "id": "Mahasiswa mendaftarkan diri sesuai persyaratan yang diberikan", "en": "Students register according to the given requirements" },
|
||||||
|
{ "id": "Dosen melakukan seleksi wawancara kepada calon asisten praktikum", "en": "The lecturer conducts interview selection for practicum assistant candidates" },
|
||||||
|
{ "id": "Dosen mengumumkan calon yang diterima berdasarkan hasil seleksi", "en": "The lecturer announces the accepted candidates based on the selection results" }
|
||||||
|
],
|
||||||
|
"additional_info": {
|
||||||
|
"id": "Keputusan hasil seleksi bersifat final dan ditetapkan oleh dosen pengampu mata kuliah. Asisten Praktikum yang terpilih wajib mematuhi seluruh ketentuan yang berlaku selama menjalankan tugas sebagai Asisten Praktikum.",
|
||||||
|
"en": "The selection results are final and determined by the course lecturer. Selected Practicum Assistants must comply with all applicable regulations while performing their duties as Practicum Assistants."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tab_id": "labkom",
|
||||||
|
"tab_number": 8,
|
||||||
|
"category": "praktikum",
|
||||||
|
"icon": "fa-desktop",
|
||||||
|
"title": {
|
||||||
|
"id": "SOP Peminjaman Laboratorium Komputer",
|
||||||
|
"en": "Computer Laboratory Borrowing SOP"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"id": "Mengatur tata cara peminjaman dan penggunaan laboratorium komputer untuk mendukung kegiatan praktikum dan pembelajaran.",
|
||||||
|
"en": "Regulates the procedures for borrowing and using the computer laboratory to support practicum activities and learning."
|
||||||
|
},
|
||||||
|
"purpose": {
|
||||||
|
"id": "SOP ini bertujuan menjelaskan tata cara peminjaman lab komputer dan memastikan peminjaman mendukung kelancaran proses belajar mengajar di Program Studi Informatika Universitas Tanjungpura.",
|
||||||
|
"en": "This SOP aims to explain the procedures for borrowing the computer lab and to ensure that borrowing supports the smooth teaching and learning process in the Informatics Study Program at Tanjungpura University."
|
||||||
|
},
|
||||||
|
"requirements": [
|
||||||
|
{ "id": "Melampirkan surat permohonan peminjaman laboratorium", "en": "Attach a laboratory borrowing request letter" },
|
||||||
|
{ "id": "Terdapat dosen atau asisten praktikum yang bertanggung jawab", "en": "A responsible lecturer or practicum assistant is present" },
|
||||||
|
{ "id": "Pengguna menaati tata tertib dan ketentuan penggunaan perangkat laboratorium", "en": "Users comply with the rules and regulations for using laboratory equipment" }
|
||||||
|
],
|
||||||
|
"procedures": [
|
||||||
|
{ "id": "Dosen atau mahasiswa mengajukan surat permohonan peminjaman laboratorium kepada pengelola", "en": "The lecturer or student submits a laboratory borrowing request letter to the management" },
|
||||||
|
{ "id": "Pengguna menyampaikan jadwal penggunaan laboratorium", "en": "The user submits the laboratory usage schedule" },
|
||||||
|
{ "id": "Pengelola menyusun jadwal penggunaan laboratorium", "en": "The management arranges the laboratory usage schedule" },
|
||||||
|
{ "id": "Laboratorium digunakan sesuai jadwal dan ketentuan yang berlaku", "en": "The laboratory is used according to the schedule and applicable regulations" }
|
||||||
|
],
|
||||||
|
"staff_responsible": [
|
||||||
|
"👤 Staf Laboratorium Informatika / Informatics Laboratory Staff"
|
||||||
|
],
|
||||||
|
"additional_info": {
|
||||||
|
"id": "Pengguna laboratorium wajib menjaga kebersihan, keamanan, dan kondisi perangkat laboratorium selama kegiatan berlangsung.",
|
||||||
|
"en": "Laboratory users must maintain the cleanliness, safety, and condition of laboratory equipment throughout the activity."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -0,0 +1,82 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"name": "Tuning Rahayu, S.Hut.",
|
||||||
|
"role": {
|
||||||
|
"id": "Staf Administrasi Informatika",
|
||||||
|
"en": "Informatics Administrative Staff"
|
||||||
|
},
|
||||||
|
"image": "assets/images/staff-female.png",
|
||||||
|
"location": {
|
||||||
|
"id": "Ruang Administrasi Prodi Informatika",
|
||||||
|
"en": "Informatics Study Program Administration Room"
|
||||||
|
},
|
||||||
|
"contact_consent": true,
|
||||||
|
"phone": "6282350250892",
|
||||||
|
"schedule": [
|
||||||
|
{
|
||||||
|
"day": {
|
||||||
|
"id": "Senin – Jumat",
|
||||||
|
"en": "Monday – Friday"
|
||||||
|
},
|
||||||
|
"time": "07.30–16.00 WIB",
|
||||||
|
"break": {
|
||||||
|
"id": "istirahat 12.00–13.00 WIB",
|
||||||
|
"en": "break 12.00–13.00 WIB"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"id": "Administrasi mahasiswa",
|
||||||
|
"en": "Student administration"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "Informasi berkas akademik",
|
||||||
|
"en": "Academic document information"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 2,
|
||||||
|
"name": "Mahyus Safutra, A.Md.",
|
||||||
|
"role": {
|
||||||
|
"id": "Staf Laboratorium Informatika",
|
||||||
|
"en": "Informatics Laboratory Staff"
|
||||||
|
},
|
||||||
|
"image": "assets/images/staff-male.png",
|
||||||
|
"location": {
|
||||||
|
"id": "Laboratorium Informatika",
|
||||||
|
"en": "Informatics Laboratory"
|
||||||
|
},
|
||||||
|
"contact_consent": true,
|
||||||
|
"phone": "895338672533",
|
||||||
|
"schedule": [
|
||||||
|
{
|
||||||
|
"day": {
|
||||||
|
"id": "Senin – Jumat",
|
||||||
|
"en": "Monday – Friday"
|
||||||
|
},
|
||||||
|
"time": "07.30–16.00 WIB",
|
||||||
|
"break": {
|
||||||
|
"id": "istirahat 12.00–13.00 WIB",
|
||||||
|
"en": "break 12.00–13.00 WIB"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"id": "Pengelolaan laboratorium",
|
||||||
|
"en": "Laboratory management"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "Dukungan praktikum",
|
||||||
|
"en": "Practicum support"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "Peminjaman ruangan dan alat",
|
||||||
|
"en": "Room and equipment borrowing"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="id" class="scroll-smooth">
|
<html lang="id" class="scroll-smooth">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
@@ -7,9 +8,12 @@
|
|||||||
<link rel="stylesheet" href="../../assets/global/output.css">
|
<link rel="stylesheet" href="../../assets/global/output.css">
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
|
<link
|
||||||
|
href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
|
||||||
|
rel="stylesheet">
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
||||||
<style>
|
<link rel="stylesheet" href="./style.css">
|
||||||
|
<style>
|
||||||
/* ===== MOBILE NAV STABILITY FIX =====
|
/* ===== MOBILE NAV STABILITY FIX =====
|
||||||
Prevents logo bar from collapsing/shifting on Android when
|
Prevents logo bar from collapsing/shifting on Android when
|
||||||
address bar hides/shows and triggers viewport reflow.
|
address bar hides/shows and triggers viewport reflow.
|
||||||
@@ -293,9 +297,10 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="text-slate-800 antialiased bg-white selection:bg-untan-yellow selection:text-black">
|
<body class="text-slate-800 antialiased bg-white selection:bg-untan-yellow selection:text-black">
|
||||||
|
|
||||||
<a href="#main-content" class="skip-link" data-i18n="skip_to_content">Langsung ke Konten Utama</a>
|
<a href="#main-content" class="skip-link">Langsung ke Konten Utama</a>
|
||||||
|
|
||||||
<div id="nav-wrapper"
|
<div id="nav-wrapper"
|
||||||
class="fixed top-0 left-0 right-0 z-50 transition-shadow duration-300 shadow-sm border-b border-slate-200 will-change-auto">
|
class="fixed top-0 left-0 right-0 z-50 transition-shadow duration-300 shadow-sm border-b border-slate-200 will-change-auto">
|
||||||
@@ -373,7 +378,7 @@
|
|||||||
<div class="nav-menu-item relative" data-menu="tentang">
|
<div class="nav-menu-item relative" data-menu="tentang">
|
||||||
<button
|
<button
|
||||||
class="nav-menu-btn px-4 py-2.5 text-sm font-bold text-slate-800 hover:text-untan-blue rounded-sm transition-all flex items-center gap-1.5 uppercase tracking-wide">
|
class="nav-menu-btn px-4 py-2.5 text-sm font-bold text-slate-800 hover:text-untan-blue rounded-sm transition-all flex items-center gap-1.5 uppercase tracking-wide">
|
||||||
<span data-i18n="nav_about">Tentang Kami</span>
|
<span>Tentang Kami</span>
|
||||||
<i class="fas fa-chevron-down text-[10px] opacity-70 transition-transform duration-300"></i>
|
<i class="fas fa-chevron-down text-[10px] opacity-70 transition-transform duration-300"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -382,7 +387,7 @@
|
|||||||
<div class="nav-menu-item relative" data-menu="program">
|
<div class="nav-menu-item relative" data-menu="program">
|
||||||
<button
|
<button
|
||||||
class="nav-menu-btn px-4 py-2.5 text-sm font-bold text-slate-800 hover:text-untan-blue rounded-sm transition-all flex items-center gap-1.5 uppercase tracking-wide">
|
class="nav-menu-btn px-4 py-2.5 text-sm font-bold text-slate-800 hover:text-untan-blue rounded-sm transition-all flex items-center gap-1.5 uppercase tracking-wide">
|
||||||
<span data-i18n="nav_program">Program</span>
|
<span>Program</span>
|
||||||
<i class="fas fa-chevron-down text-[10px] opacity-70 transition-transform duration-300"></i>
|
<i class="fas fa-chevron-down text-[10px] opacity-70 transition-transform duration-300"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -391,7 +396,7 @@
|
|||||||
<div class="nav-menu-item relative" data-menu="sdm">
|
<div class="nav-menu-item relative" data-menu="sdm">
|
||||||
<button
|
<button
|
||||||
class="nav-menu-btn px-4 py-2.5 text-sm font-bold text-slate-800 hover:text-untan-blue rounded-sm transition-all flex items-center gap-1.5 uppercase tracking-wide">
|
class="nav-menu-btn px-4 py-2.5 text-sm font-bold text-slate-800 hover:text-untan-blue rounded-sm transition-all flex items-center gap-1.5 uppercase tracking-wide">
|
||||||
<span data-i18n="nav_sdm">SDM</span>
|
<span>SDM</span>
|
||||||
<i class="fas fa-chevron-down text-[10px] opacity-70 transition-transform duration-300"></i>
|
<i class="fas fa-chevron-down text-[10px] opacity-70 transition-transform duration-300"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -400,7 +405,7 @@
|
|||||||
<div class="nav-menu-item relative" data-menu="fasilitas">
|
<div class="nav-menu-item relative" data-menu="fasilitas">
|
||||||
<button
|
<button
|
||||||
class="nav-menu-btn px-4 py-2.5 text-sm font-bold text-slate-800 hover:text-untan-blue rounded-sm transition-all flex items-center gap-1.5 uppercase tracking-wide">
|
class="nav-menu-btn px-4 py-2.5 text-sm font-bold text-slate-800 hover:text-untan-blue rounded-sm transition-all flex items-center gap-1.5 uppercase tracking-wide">
|
||||||
<span data-i18n="nav_facilities">Fasilitas</span>
|
<span>Fasilitas</span>
|
||||||
<i class="fas fa-chevron-down text-[10px] opacity-70 transition-transform duration-300"></i>
|
<i class="fas fa-chevron-down text-[10px] opacity-70 transition-transform duration-300"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -409,7 +414,7 @@
|
|||||||
<div class="nav-menu-item relative" data-menu="karya">
|
<div class="nav-menu-item relative" data-menu="karya">
|
||||||
<button
|
<button
|
||||||
class="nav-menu-btn px-4 py-2.5 text-sm font-bold text-slate-800 hover:text-untan-blue rounded-sm transition-all flex items-center gap-1.5 uppercase tracking-wide">
|
class="nav-menu-btn px-4 py-2.5 text-sm font-bold text-slate-800 hover:text-untan-blue rounded-sm transition-all flex items-center gap-1.5 uppercase tracking-wide">
|
||||||
<span data-i18n="nav_works">Karya & Agenda</span>
|
<span>Karya & Agenda</span>
|
||||||
<i class="fas fa-chevron-down text-[10px] opacity-70 transition-transform duration-300"></i>
|
<i class="fas fa-chevron-down text-[10px] opacity-70 transition-transform duration-300"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -418,7 +423,7 @@
|
|||||||
<div class="nav-menu-item relative" data-menu="kontak">
|
<div class="nav-menu-item relative" data-menu="kontak">
|
||||||
<button
|
<button
|
||||||
class="nav-menu-btn px-4 py-2.5 text-sm font-bold text-slate-800 hover:text-untan-blue rounded-sm transition-all flex items-center gap-1.5 uppercase tracking-wide">
|
class="nav-menu-btn px-4 py-2.5 text-sm font-bold text-slate-800 hover:text-untan-blue rounded-sm transition-all flex items-center gap-1.5 uppercase tracking-wide">
|
||||||
<span data-i18n="nav_contact">Kontak</span>
|
<span>Kontak</span>
|
||||||
<i class="fas fa-chevron-down text-[10px] opacity-70 transition-transform duration-300"></i>
|
<i class="fas fa-chevron-down text-[10px] opacity-70 transition-transform duration-300"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -1139,18 +1144,149 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<main id="main-content" class="pt-[88px] lg:pt-[160px] min-h-screen bg-white">
|
<main id="main-content" class="pt-[88px] lg:pt-[160px] min-h-screen bg-white">
|
||||||
<div class="container mx-auto px-4 lg:px-8 py-12">
|
<div class="container mx-auto px-4 lg:px-8 py-12">
|
||||||
<div class="mb-8 pb-8 border-b border-slate-200">
|
<div class="mb-8 pb-8 border-b border-slate-200">
|
||||||
<span class="bg-untan-yellow text-slate-900 text-[10px] font-bold uppercase tracking-widest px-2 py-0.5 inline-block mb-3">Tugas Halaman Statis</span>
|
<span
|
||||||
<h1 class="text-3xl lg:text-4xl font-bold text-slate-900 mb-2">Judul Halaman Group 04</h1>
|
class="bg-untan-yellow text-slate-900 text-[10px] font-bold uppercase tracking-widest px-2 py-0.5 inline-block mb-3">Tugas
|
||||||
<p class="text-slate-500 text-sm">Kelompok 04 — C4A · Informatika UNTAN 2026</p>
|
Halaman Statis</span>
|
||||||
|
<h1 class="text-3xl lg:text-4xl font-bold text-slate-900 mb-2">Staf Pendukung dan Standar Operasional
|
||||||
|
Prosedur (SOP)</h1>
|
||||||
|
<p class="text-slate-500 text-sm">Kelompok 04 — C4A · Informatika UNTAN 2026
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div id="assignment-body" class="prose prose-slate max-w-none">
|
<div id="assignment-body" class="prose prose-slate max-w-none">
|
||||||
<!-- ================= START: BAGIAN YANG DIEDIT KELOMPOK ================= -->
|
<!-- ================= START: BAGIAN YANG DIEDIT KELOMPOK ================= -->
|
||||||
<p>Tulis konten halaman kelompok di sini.</p>
|
<!-- HERO SECTION -->
|
||||||
<h3>Subjudul</h3>
|
<section class="c4a-hero reveal">
|
||||||
<p>Gunakan paragraf, list, tabel, gambar, dan elemen konten lainnya.</p>
|
<div class="c4a-hero-inner">
|
||||||
|
<div class="c4a-hero-tag" data-i18n="grp_c4a_hero_tag">LAYANAN AKADEMIK • INFORMATIKA UNTAN
|
||||||
|
</div>
|
||||||
|
<h1 class="c4a-hero-title" data-i18n-html="grp_c4a_hero_title">
|
||||||
|
Staf Pendukung & <br />
|
||||||
|
<span class="highlight-orange">Standar Operasional Prosedur (SOP)</span>
|
||||||
|
</h1>
|
||||||
|
<p class="c4a-hero-desc" data-i18n="grp_c4a_hero_desc">Halaman ini menampilkan informasi petugas
|
||||||
|
layanan akademik serta
|
||||||
|
prosedur administrasi
|
||||||
|
mahasiswa
|
||||||
|
Program Studi Informatika UNTAN.</p>
|
||||||
|
<div class="hero-stats">
|
||||||
|
<div class="stat-item">
|
||||||
|
<div class="stat-number" id="stat-staf">0</div>
|
||||||
|
<div class="stat-label" data-i18n="grp_c4a_stat_staf">Staf Aktif</div>
|
||||||
|
</div>
|
||||||
|
<div class="stat-divider"></div>
|
||||||
|
<div class="stat-item">
|
||||||
|
<div class="stat-number" id="stat-sop">0</div>
|
||||||
|
<div class="stat-label" data-i18n="grp_c4a_stat_sop">Jenis SOP</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- STAFF SECTION -->
|
||||||
|
<section class="content-section">
|
||||||
|
<div class="section-header">
|
||||||
|
<div class="section-tag"><span class="dot"></span> <span data-i18n="grp_c4a_staff_tag">Tim
|
||||||
|
Kami</span></div>
|
||||||
|
<h2 class="section-title" data-i18n="grp_c4a_staff_title">Staf Pendukung</h2>
|
||||||
|
<p class="section-subtitle" data-i18n="grp_c4a_staff_subtitle">Staf yang siap melayani kebutuhan
|
||||||
|
akademik dan operasional
|
||||||
|
laboratorium di Prodi Informatika UNTAN.</p>
|
||||||
|
</div>
|
||||||
|
<div class="staff-grid" id="staff-container">
|
||||||
|
<!-- Kartu staf akan diisi secara dinamis melalui main.js berdasarkan data-staff.json -->
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- SOP SECTION -->
|
||||||
|
<section class="sop-section">
|
||||||
|
<div class="section-header">
|
||||||
|
<div class="section-tag"><span class="dot"></span> <span data-i18n="grp_c4a_sop_tag">Prosedur
|
||||||
|
Resmi</span></div>
|
||||||
|
<h2 class="section-title" data-i18n="grp_c4a_sop_title">Standar Operasional Prosedur (SOP)</h2>
|
||||||
|
<p class="section-subtitle" data-i18n="grp_c4a_sop_subtitle">Standar Operasional Prosedur untuk
|
||||||
|
berbagai kebutuhan administrasi
|
||||||
|
akademik mahasiswa. Gunakan pencarian atau filter untuk menemukan SOP yang Anda butuhkan.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- SEARCH & FILTER BAR -->
|
||||||
|
<div class="sop-toolbar reveal">
|
||||||
|
<div class="sop-search-wrap">
|
||||||
|
<i class="fas fa-search sop-search-icon"></i>
|
||||||
|
<input type="search" id="sop-search-input" class="sop-search-input"
|
||||||
|
data-i18n-placeholder="grp_c4a_sop_search_placeholder"
|
||||||
|
placeholder="Cari SOP berdasarkan judul..." autocomplete="off" aria-label="Cari SOP" />
|
||||||
|
<button class="sop-search-clear" id="sop-search-clear" aria-label="Hapus pencarian"
|
||||||
|
style="display:none;">
|
||||||
|
<i class="fas fa-times"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div class="sop-filter-chips" id="sop-filter-chips" role="group"
|
||||||
|
aria-label="Filter kategori SOP">
|
||||||
|
<button class="sop-chip active" data-filter="semua" id="chip-semua"
|
||||||
|
data-i18n="grp_c4a_sop_chip_semua">Semua</button>
|
||||||
|
<button class="sop-chip" data-filter="akademik" id="chip-akademik">
|
||||||
|
<i class="fas fa-graduation-cap"></i> <span
|
||||||
|
data-i18n="grp_c4a_sop_chip_akademik">Akademik</span>
|
||||||
|
</button>
|
||||||
|
<button class="sop-chip" data-filter="praktikum" id="chip-praktikum">
|
||||||
|
<i class="fas fa-flask"></i> <span
|
||||||
|
data-i18n="grp_c4a_sop_chip_praktikum">Praktikum</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- RESULT COUNT -->
|
||||||
|
<div class="sop-result-info" id="sop-result-info" aria-live="polite"></div>
|
||||||
|
|
||||||
|
<!-- SOP CARD GRID -->
|
||||||
|
<div class="sop-card-grid" id="sop-cards-container"></div>
|
||||||
|
|
||||||
|
<!-- EMPTY STATE -->
|
||||||
|
<div class="sop-empty-state" id="sop-empty-state" style="display:none;">
|
||||||
|
<i class="fas fa-search-minus sop-empty-icon"></i>
|
||||||
|
<p class="sop-empty-title" data-i18n="grp_c4a_sop_empty_title">SOP tidak ditemukan</p>
|
||||||
|
<p class="sop-empty-desc" data-i18n="grp_c4a_sop_empty_desc">Coba kata kunci lain atau reset
|
||||||
|
filter pencarian.</p>
|
||||||
|
<button class="sop-empty-reset" id="sop-empty-reset">
|
||||||
|
<i class="fas fa-undo"></i> <span data-i18n="grp_c4a_sop_reset_btn">Reset Pencarian</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- SOP DETAIL MODAL -->
|
||||||
|
<div class="sop-modal-overlay" id="sop-modal-overlay" role="dialog" aria-modal="true"
|
||||||
|
aria-labelledby="sop-modal-title">
|
||||||
|
<div class="sop-modal-box" id="sop-modal-box">
|
||||||
|
<button class="sop-modal-close" id="sop-modal-close" aria-label="Tutup detail SOP">
|
||||||
|
<i class="fas fa-times"></i>
|
||||||
|
</button>
|
||||||
|
<div id="sop-modal-content"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- FAQ SECTION -->
|
||||||
|
<section class="faq-section-wrap">
|
||||||
|
<div class="faq-section-inner">
|
||||||
|
<div class="faq-header reveal">
|
||||||
|
<div class="section-tag"><span class="dot"></span> <span
|
||||||
|
data-i18n="grp_c4a_faq_tag">Pertanyaan Umum</span></div>
|
||||||
|
<h2 data-i18n="grp_c4a_faq_title">Pertanyaan yang Sering Diajukan</h2>
|
||||||
|
<p data-i18n="grp_c4a_faq_subtitle">Temukan jawaban cepat atas pertanyaan umum mahasiswa
|
||||||
|
seputar layanan akademik prodi.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="faq-wrap" id="faq-container">
|
||||||
|
<!-- Item FAQ diisi secara dinamis melalui main.js berdasarkan data-faq.json -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<script type="module" src="./js/main.js"></script>
|
||||||
<!-- ================= END: BAGIAN YANG DIEDIT KELOMPOK ================= -->
|
<!-- ================= END: BAGIAN YANG DIEDIT KELOMPOK ================= -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -1215,8 +1351,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="w-full relative z-0 mt-4 pointer-events-none flex justify-center">
|
<div class="w-full relative z-0 mt-4 pointer-events-none flex justify-center">
|
||||||
<img src="../../assets/global/footer.png" alt="Footer Illustration" class="w-full h-auto object-cover object-bottom"
|
<img src="../../assets/global/footer.png" alt="Footer Illustration"
|
||||||
style="object-position: bottom;">
|
class="w-full h-auto object-cover object-bottom" style="object-position: bottom;">
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
@@ -1312,27 +1448,28 @@
|
|||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
(function() {
|
(function () {
|
||||||
const mobileBtn = document.getElementById('mobile-menu-button');
|
const mobileBtn = document.getElementById('mobile-menu-button');
|
||||||
const mobileMenu = document.getElementById('mobile-menu');
|
const mobileMenu = document.getElementById('mobile-menu');
|
||||||
const closeMobileBtn= document.getElementById('close-mobile-menu');
|
const closeMobileBtn = document.getElementById('close-mobile-menu');
|
||||||
if (mobileBtn && mobileMenu) {
|
if (mobileBtn && mobileMenu) {
|
||||||
mobileBtn.addEventListener('click', function() {
|
mobileBtn.addEventListener('click', function () {
|
||||||
const isOpen = !mobileMenu.classList.contains('-translate-x-full');
|
const isOpen = !mobileMenu.classList.contains('-translate-x-full');
|
||||||
mobileMenu.classList.toggle('-translate-x-full');
|
mobileMenu.classList.toggle('-translate-x-full');
|
||||||
mobileBtn.setAttribute('aria-expanded', isOpen ? 'false' : 'true');
|
mobileBtn.setAttribute('aria-expanded', isOpen ? 'false' : 'true');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (closeMobileBtn && mobileMenu) {
|
if (closeMobileBtn && mobileMenu) {
|
||||||
closeMobileBtn.addEventListener('click', function() {
|
closeMobileBtn.addEventListener('click', function () {
|
||||||
mobileMenu.classList.add('-translate-x-full');
|
mobileMenu.classList.add('-translate-x-full');
|
||||||
if (mobileBtn) mobileBtn.setAttribute('aria-expanded', 'false');
|
if (mobileBtn) mobileBtn.setAttribute('aria-expanded', 'false');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script src="../../assets/global/localization.js"></script>
|
<script src="../../assets/global/localization.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -0,0 +1,56 @@
|
|||||||
|
/**
|
||||||
|
* Berisi fungsi-fungsi untuk mengambil data (Data Fetching).
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Mengambil data staf pendukung dari berkas JSON.
|
||||||
|
* @returns {Promise<Array<Object>>} Daftar objek data staf
|
||||||
|
*/
|
||||||
|
export async function getStaffData() {
|
||||||
|
try {
|
||||||
|
const response = await fetch('data/data-staff.json');
|
||||||
|
if (!response.ok) {
|
||||||
|
throw new Error('Network response was not ok');
|
||||||
|
}
|
||||||
|
return await response.json();
|
||||||
|
} catch (error) {
|
||||||
|
console.error('Gagal memuat data staf:', error);
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Mengambil data SOP dari berkas JSON.
|
||||||
|
* @returns {Promise<Array<Object>>} Daftar objek data SOP
|
||||||
|
*/
|
||||||
|
export async function getSopData() {
|
||||||
|
try {
|
||||||
|
const response = await fetch('data/data-sop.json');
|
||||||
|
if (!response.ok) {
|
||||||
|
throw new Error('Network response was not ok');
|
||||||
|
}
|
||||||
|
return await response.json();
|
||||||
|
} catch (error) {
|
||||||
|
console.error('Gagal memuat data SOP:', error);
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Mengambil data FAQ dari berkas JSON.
|
||||||
|
* @returns {Promise<Array<Object>>} Daftar objek data FAQ
|
||||||
|
*/
|
||||||
|
export async function getFaqData() {
|
||||||
|
try {
|
||||||
|
const response = await fetch('data/data-faq.json');
|
||||||
|
if (!response.ok) {
|
||||||
|
throw new Error('Network response was not ok');
|
||||||
|
}
|
||||||
|
return await response.json();
|
||||||
|
} catch (error) {
|
||||||
|
console.error('Gagal memuat data FAQ:', error);
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,71 @@
|
|||||||
|
/**
|
||||||
|
* Main Entry Point Kelompok C4A.
|
||||||
|
* Menghubungkan pengambilan data dengan rendering UI dan interaksi halaman.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { getStaffData, getSopData, getFaqData } from './data.js';
|
||||||
|
import {
|
||||||
|
renderStaffCards,
|
||||||
|
renderSopCards,
|
||||||
|
renderFaqSection,
|
||||||
|
initSopInteraction,
|
||||||
|
initAnimations,
|
||||||
|
initFaq,
|
||||||
|
applySopFilter
|
||||||
|
} from './ui.js';
|
||||||
|
|
||||||
|
// Cache data secara global untuk mendukung rendering UI
|
||||||
|
let cachedStaffData = [];
|
||||||
|
let cachedSopData = [];
|
||||||
|
let cachedFaqData = [];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Menginisialisasi aplikasi dengan mengambil seluruh data secara pararel,
|
||||||
|
* merender konten awal, serta mendaftarkan event listener interaksi UI.
|
||||||
|
* @returns {Promise<void>}
|
||||||
|
*/
|
||||||
|
async function initApp() {
|
||||||
|
try {
|
||||||
|
const [staffData, sopData, faqData] = await Promise.all([
|
||||||
|
getStaffData(),
|
||||||
|
getSopData(),
|
||||||
|
getFaqData()
|
||||||
|
]);
|
||||||
|
|
||||||
|
cachedStaffData = staffData || [];
|
||||||
|
cachedSopData = sopData || [];
|
||||||
|
cachedFaqData = faqData || [];
|
||||||
|
|
||||||
|
renderStaffCards(cachedStaffData);
|
||||||
|
renderSopCards(cachedSopData);
|
||||||
|
renderFaqSection(cachedFaqData);
|
||||||
|
|
||||||
|
initSopInteraction();
|
||||||
|
initFaq();
|
||||||
|
|
||||||
|
// Memberikan sedikit waktu tunda (jeda) agar rendering DOM selesai sebelum memulai animasi.
|
||||||
|
setTimeout(() => {
|
||||||
|
initAnimations();
|
||||||
|
}, 100);
|
||||||
|
} catch (error) {
|
||||||
|
console.error('Terjadi kesalahan saat menginisialisasi halaman:', error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Re-render UI saat bahasa berubah (data tetap sama, hanya label UI yang berganti via t())
|
||||||
|
document.addEventListener('languageChanged', () => {
|
||||||
|
renderStaffCards(cachedStaffData);
|
||||||
|
renderSopCards(cachedSopData);
|
||||||
|
renderFaqSection(cachedFaqData);
|
||||||
|
initFaq();
|
||||||
|
applySopFilter();
|
||||||
|
|
||||||
|
// Re-inisialisasi observer agar elemen .reveal yang baru di-render mendapat class .visible
|
||||||
|
setTimeout(() => {
|
||||||
|
initAnimations();
|
||||||
|
}, 100);
|
||||||
|
});
|
||||||
|
|
||||||
|
// Jalankan inisialisasi aplikasi saat DOM siap
|
||||||
|
document.addEventListener('DOMContentLoaded', initApp);
|
||||||
|
|
||||||
@@ -0,0 +1,673 @@
|
|||||||
|
// --- Helper Fungsi ---
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Helper untuk menerjemahkan string berdasarkan key dari localization.js.
|
||||||
|
* Menggunakan fallback jika key tidak ditemukan atau localization.js tidak aktif.
|
||||||
|
*/
|
||||||
|
function t(key, fallback) {
|
||||||
|
if (window.t) {
|
||||||
|
const val = window.t(key);
|
||||||
|
if (val !== key) return val;
|
||||||
|
}
|
||||||
|
return fallback;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Mendapatkan bahasa aktif dari localStorage atau default 'id'.
|
||||||
|
* @returns {'id'|'en'} Kode bahasa aktif
|
||||||
|
*/
|
||||||
|
function getLang() {
|
||||||
|
return localStorage.getItem('if_untan_lang') || 'id';
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Mengambil teks dari field bilingual JSON { id: '...', en: '...' }.
|
||||||
|
* Jika field bukan objek (string lama / belum diupdate), kembalikan apa adanya.
|
||||||
|
* @param {string|Object} field - Field data dari JSON
|
||||||
|
* @returns {string} Teks sesuai bahasa aktif
|
||||||
|
*/
|
||||||
|
function loc(field) {
|
||||||
|
if (!field) return '';
|
||||||
|
if (typeof field === 'object' && field !== null) {
|
||||||
|
const lang = getLang();
|
||||||
|
return field[lang] || field['id'] || '';
|
||||||
|
}
|
||||||
|
return field;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Normalisasi nomor telepon ke format standard e.g. 628...
|
||||||
|
* @param {string} phone - Nomor telepon mentah
|
||||||
|
* @returns {string} Nomor telepon ternormalisasi
|
||||||
|
*/
|
||||||
|
function normalizePhone(phone) {
|
||||||
|
let digits = String(phone || '').replace(/\D/g, '');
|
||||||
|
if (digits.startsWith('0')) {
|
||||||
|
digits = `62${digits.slice(1)}`;
|
||||||
|
} else if (digits.startsWith('8')) {
|
||||||
|
digits = `62${digits}`;
|
||||||
|
}
|
||||||
|
return digits;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Format nomor telepon untuk tampilan UI
|
||||||
|
* @param {string} phone - Nomor telepon mentah
|
||||||
|
* @returns {string} Nomor telepon terformat (e.g. +62 8xx-xxxx-xxxx)
|
||||||
|
*/
|
||||||
|
function formatPhoneForDisplay(phone) {
|
||||||
|
const norm = normalizePhone(phone);
|
||||||
|
if (!norm) return '-';
|
||||||
|
return `+${norm.slice(0, 2)} ${norm.slice(2, 5)}-${norm.slice(5, 9)}-${norm.slice(9)}`;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Memvalidasi apakah nomor telepon valid untuk digunakan di WhatsApp.
|
||||||
|
* @param {string} phone - Nomor telepon mentah
|
||||||
|
* @returns {boolean} True jika nomor valid (seluler Indonesia 10-15 digit)
|
||||||
|
*/
|
||||||
|
function isValidWhatsAppNumber(phone) {
|
||||||
|
const norm = normalizePhone(phone);
|
||||||
|
return norm.startsWith('628') && norm.length >= 10 && norm.length <= 15;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enkripsi nomor telepon menggunakan Base64 untuk keamanan kontak.
|
||||||
|
* @param {string} phone - Nomor telepon ternormalisasi
|
||||||
|
* @returns {string} Nomor telepon terenkripsi Base64
|
||||||
|
*/
|
||||||
|
function encodePhone(phone) {
|
||||||
|
return btoa(normalizePhone(phone));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Dekripsi nomor telepon dari Base64.
|
||||||
|
* @param {string} encoded - Nomor telepon terenkripsi Base64
|
||||||
|
* @returns {string} Nomor telepon terdekripsi
|
||||||
|
*/
|
||||||
|
function decodePhone(encoded) {
|
||||||
|
try {
|
||||||
|
return atob(encoded);
|
||||||
|
} catch (error) {
|
||||||
|
console.error('Gagal mendekripsi nomor telepon:', error);
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Merender daftar staf pendukung ke dalam container HTML.
|
||||||
|
* @param {Array<Object>} staffs - Array data staf pendukung
|
||||||
|
*/
|
||||||
|
export function renderStaffCards(staffs) {
|
||||||
|
const container = document.getElementById('staff-container');
|
||||||
|
if (!container) return;
|
||||||
|
|
||||||
|
container.innerHTML = '';
|
||||||
|
|
||||||
|
if (!staffs || staffs.length === 0) {
|
||||||
|
container.innerHTML = `<p class="empty-state-msg">${t('grp_c4a_empty_staff', 'Data staf pendukung tidak tersedia saat ini.')}</p>`;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
staffs.forEach((staff, index) => {
|
||||||
|
const {
|
||||||
|
name,
|
||||||
|
role,
|
||||||
|
image,
|
||||||
|
location,
|
||||||
|
phone,
|
||||||
|
contact_consent: contactConsent,
|
||||||
|
schedule,
|
||||||
|
tasks
|
||||||
|
} = staff;
|
||||||
|
|
||||||
|
const roleText = loc(role);
|
||||||
|
const locationText = loc(location);
|
||||||
|
|
||||||
|
const scheduleHTML = schedule.map(sched =>
|
||||||
|
`<div class="schedule-item">` +
|
||||||
|
`<span class="s-day">${loc(sched.day)}</span>` +
|
||||||
|
`<span class="s-time">${sched.time} <span class="s-break">| ${loc(sched.break)}</span></span>` +
|
||||||
|
`</div>`
|
||||||
|
).join('');
|
||||||
|
|
||||||
|
const tasksHTML = tasks.map(task => `<li>${loc(task)}</li>`).join('');
|
||||||
|
const isPhoneValid = isValidWhatsAppNumber(phone);
|
||||||
|
const encodedPhone = isPhoneValid ? encodePhone(phone) : '';
|
||||||
|
const displayPhone = isPhoneValid ? formatPhoneForDisplay(phone) : '-';
|
||||||
|
const hideContactItemClass = contactConsent ? '' : 'is-hidden';
|
||||||
|
const hideContactActionClass = (contactConsent && isPhoneValid) ? '' : 'is-hidden';
|
||||||
|
const initial = name ? name.charAt(0).toUpperCase() : '';
|
||||||
|
|
||||||
|
const card = document.createElement('div');
|
||||||
|
card.className = `staff-card reveal reveal-delay-${index + 1}`;
|
||||||
|
|
||||||
|
card.innerHTML = `
|
||||||
|
<div class="staff-card-header">
|
||||||
|
<div class="staff-avatar">
|
||||||
|
<span class="staff-initial">${initial}</span>
|
||||||
|
<img src="${image}" alt="${name}" onerror="this.style.display='none'"/>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="staff-name">${name}</div>
|
||||||
|
<div class="staff-role">${roleText}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="staff-card-body">
|
||||||
|
<div class="staff-info-grid">
|
||||||
|
<div class="staff-info-item"><span class="icon">📍</span><div><span class="label">${t('grp_c4a_label_location', 'Lokasi')}</span><span class="val">${locationText}</span></div></div>
|
||||||
|
<div class="staff-info-item">
|
||||||
|
<span class="icon">🕒</span>
|
||||||
|
<div style="flex:1">
|
||||||
|
<span class="label">${t('grp_c4a_label_service_hours', 'Jam Layanan')}</span>
|
||||||
|
<div class="schedule-list">${scheduleHTML}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="staff-info-item staff-contact-item ${hideContactItemClass}"><span class="icon">📞</span><div><span class="label">${t('grp_c4a_label_wa_contact', 'Kontak WhatsApp')}</span><span class="val">${displayPhone}</span></div></div>
|
||||||
|
</div>
|
||||||
|
<div class="staff-divider"></div>
|
||||||
|
<div class="staff-tasks-title">${t('grp_c4a_label_tasks', 'Tugas & Tanggung Jawab')}</div>
|
||||||
|
<ul class="staff-tasks">${tasksHTML}</ul>
|
||||||
|
</div>
|
||||||
|
<div class="staff-card-actions staff-contact-actions ${hideContactActionClass}">
|
||||||
|
<button class="btn-staff btn-staff-wa" data-wa="${encodedPhone}" aria-label="${t('grp_c4a_label_send_wa', 'Kirim Pesan WA')} ${name}"><svg class="wa-icon" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"/></svg> ${t('grp_c4a_label_send_wa', 'Kirim Pesan WA')}</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
`;
|
||||||
|
|
||||||
|
container.appendChild(card);
|
||||||
|
|
||||||
|
// Setup WA button click handler dengan dekrips nomor
|
||||||
|
const waBtn = card.querySelector('[data-wa]');
|
||||||
|
if (waBtn) {
|
||||||
|
waBtn.addEventListener('click', () => {
|
||||||
|
const phoneNum = decodePhone(waBtn.dataset.wa);
|
||||||
|
if (phoneNum) {
|
||||||
|
window.open(`https://wa.me/${phoneNum}`, '_blank', 'noopener,noreferrer');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
// ============================================================
|
||||||
|
// --- Render SOP sebagai Card Grid dengan Search & Filter ---
|
||||||
|
// ============================================================
|
||||||
|
|
||||||
|
const CATEGORY_COLORS = {
|
||||||
|
akademik: 'sop-cat-akademik',
|
||||||
|
praktikum: 'sop-cat-praktikum',
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Ambil label kategori
|
||||||
|
* @param {string} category - Kategori SOP ('akademik' atau 'praktikum')
|
||||||
|
* @returns {string} Label kategori
|
||||||
|
*/
|
||||||
|
function getCatLabel(category) {
|
||||||
|
const map = {
|
||||||
|
akademik: t('grp_c4a_sop_chip_akademik', 'Akademik'),
|
||||||
|
praktikum: t('grp_c4a_sop_chip_praktikum', 'Praktikum')
|
||||||
|
};
|
||||||
|
return map[category] || t('grp_c4a_sop_chip_akademik', 'Akademik');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Buat HTML untuk satu SOP card di grid.
|
||||||
|
* @param {Object} sop - Data objek SOP
|
||||||
|
* @returns {string} String markup HTML kartu SOP
|
||||||
|
*/
|
||||||
|
function buildSopCard(sop) {
|
||||||
|
const {
|
||||||
|
tab_id: tabId,
|
||||||
|
category,
|
||||||
|
icon = 'fa-file-alt',
|
||||||
|
title,
|
||||||
|
description,
|
||||||
|
procedures
|
||||||
|
} = sop;
|
||||||
|
|
||||||
|
const titleText = loc(title);
|
||||||
|
const descText = loc(description);
|
||||||
|
|
||||||
|
const catLabel = getCatLabel(category);
|
||||||
|
const catClass = CATEGORY_COLORS[category] || '';
|
||||||
|
|
||||||
|
return `
|
||||||
|
<article class="sop-grid-card reveal" data-tab-id="${tabId}" data-category="${category}" data-title="${titleText.toLowerCase()}">
|
||||||
|
<div class="sgc-header">
|
||||||
|
<div class="sgc-icon-wrap">
|
||||||
|
<i class="fas ${icon}"></i>
|
||||||
|
</div>
|
||||||
|
<div class="sgc-meta">
|
||||||
|
<h3 class="sgc-title">${titleText}</h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sgc-category-row">
|
||||||
|
<span class="sgc-category ${catClass}">${catLabel}</span>
|
||||||
|
</div>
|
||||||
|
<p class="sgc-desc">${descText}</p>
|
||||||
|
<div class="sgc-footer">
|
||||||
|
<div class="sgc-steps">
|
||||||
|
<i class="fas fa-list-ol"></i>
|
||||||
|
<span>${procedures.length} ${t('grp_c4a_label_steps', 'Langkah')}</span>
|
||||||
|
</div>
|
||||||
|
<button class="sgc-detail-btn" data-tab-id="${tabId}" aria-label="${t('grp_c4a_label_view_detail', 'Lihat Detail')} ${titleText}">
|
||||||
|
${t('grp_c4a_label_view_detail', 'Lihat Detail')} <i class="fas fa-arrow-right"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</article>`;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Buat HTML untuk isi modal detail SOP.
|
||||||
|
* @param {Object} sop - Data objek SOP
|
||||||
|
* @returns {string} String markup HTML isi modal
|
||||||
|
*/
|
||||||
|
function buildSopModalContent(sop) {
|
||||||
|
const {
|
||||||
|
category,
|
||||||
|
icon = 'fa-file-alt',
|
||||||
|
title,
|
||||||
|
description,
|
||||||
|
purpose,
|
||||||
|
requirements,
|
||||||
|
procedures,
|
||||||
|
staff_responsible: staffResponsible,
|
||||||
|
additional_info: additionalInfo
|
||||||
|
} = sop;
|
||||||
|
|
||||||
|
const titleText = loc(title);
|
||||||
|
const descText = loc(description);
|
||||||
|
const purposeText = loc(purpose);
|
||||||
|
const additionalInfoText = loc(additionalInfo);
|
||||||
|
|
||||||
|
const catLabel = getCatLabel(category);
|
||||||
|
const catClass = CATEGORY_COLORS[category] || '';
|
||||||
|
|
||||||
|
const reqsHTML = requirements.map(req => `<li>${loc(req)}</li>`).join('');
|
||||||
|
const procsHTML = procedures.map(proc => `<li>${loc(proc)}</li>`).join('');
|
||||||
|
|
||||||
|
// staffResponsible bersifat opsional — sembunyikan blok jika tidak ada
|
||||||
|
const hasStaff = Array.isArray(staffResponsible) && staffResponsible.length > 0;
|
||||||
|
const staffHTML = hasStaff
|
||||||
|
? staffResponsible.map(staffName => `<span class="sop-staff-pill">${staffName}</span>`).join('')
|
||||||
|
: '';
|
||||||
|
const staffBlockHTML = hasStaff
|
||||||
|
? `<div class="sop-staff-block">
|
||||||
|
<div class="sop-block-label">${t('grp_c4a_label_responsible_staff', 'Staf Bertanggung Jawab (Bersifat Opsional)')}</div>
|
||||||
|
<div class="sop-staff-pills">${staffHTML}</div>
|
||||||
|
</div>`
|
||||||
|
: '';
|
||||||
|
|
||||||
|
// additionalInfo bersifat opsional — sembunyikan blok jika tidak ada
|
||||||
|
const additionalInfoHTML = additionalInfoText
|
||||||
|
? `<div class="sop-info-box">
|
||||||
|
<span class="iico">ℹ️</span>
|
||||||
|
<p class="sop-info-box-text"><strong>${t('grp_c4a_label_additional_info', 'Informasi Tambahan (Bersifat Opsional):')}</strong> ${additionalInfoText}</p>
|
||||||
|
</div>`
|
||||||
|
: '';
|
||||||
|
|
||||||
|
return `
|
||||||
|
<div class="sop-modal-header">
|
||||||
|
<div class="sop-modal-header-top">
|
||||||
|
<div class="sop-modal-icon-wrap">
|
||||||
|
<i class="fas ${icon}"></i>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="sop-modal-badges">
|
||||||
|
<span class="sgc-category ${catClass}">${catLabel}</span>
|
||||||
|
</div>
|
||||||
|
<h2 class="sop-modal-title" id="sop-modal-title">${titleText}</h2>
|
||||||
|
<p class="sop-modal-desc">${descText}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sop-modal-body">
|
||||||
|
<div class="sop-block">
|
||||||
|
<div class="sop-block-label">${t('grp_c4a_label_purpose', 'Tujuan')}</div>
|
||||||
|
<p class="sop-block-text">${purposeText}</p>
|
||||||
|
</div>
|
||||||
|
<div class="sop-two-col">
|
||||||
|
<div>
|
||||||
|
<div class="sop-block-label">${t('grp_c4a_label_requirements', 'Persyaratan')}</div>
|
||||||
|
<ul class="sop-list bullets">${reqsHTML}</ul>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="sop-block-label">${t('grp_c4a_label_procedure', 'Alur Prosedur')}</div>
|
||||||
|
<ul class="sop-list numbered">${procsHTML}</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
${staffBlockHTML}
|
||||||
|
${additionalInfoHTML}
|
||||||
|
</div>`;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Render semua SOP card ke grid.
|
||||||
|
* @param {Array<Object>} sops - Array objek SOP
|
||||||
|
*/
|
||||||
|
export function renderSopCards(sops) {
|
||||||
|
const container = document.getElementById('sop-cards-container');
|
||||||
|
if (!container) return;
|
||||||
|
|
||||||
|
// simpan data global di element agar bisa diakses filter/search
|
||||||
|
container._sopData = sops;
|
||||||
|
|
||||||
|
// Tampilkan pesan jika data SOP kosong atau gagal dimuat
|
||||||
|
if (!sops || sops.length === 0) {
|
||||||
|
container.innerHTML = `<p class="empty-state-msg">${t('grp_c4a_empty_sop', 'Data SOP tidak tersedia saat ini.')}</p>`;
|
||||||
|
updateResultInfo(0, 0);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
container.innerHTML = sops.map(buildSopCard).join('');
|
||||||
|
updateResultInfo(sops.length, sops.length);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Update teks info jumlah hasil */
|
||||||
|
function updateResultInfo(shown, total) {
|
||||||
|
const el = document.getElementById('sop-result-info');
|
||||||
|
if (!el) return;
|
||||||
|
if (shown === total) {
|
||||||
|
const allTemplate = t('grp_c4a_sop_showing_all', 'Menampilkan {total} SOP');
|
||||||
|
el.textContent = allTemplate.replace('{total}', total);
|
||||||
|
} else {
|
||||||
|
const filteredTemplate = t('grp_c4a_sop_showing_filtered', 'Menampilkan {shown} dari {total} SOP');
|
||||||
|
el.textContent = filteredTemplate.replace('{shown}', shown).replace('{total}', total);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Memfilter dan menyaring kartu SOP berdasarkan query pencarian dan chip filter aktif.
|
||||||
|
*/
|
||||||
|
export function applySopFilter() {
|
||||||
|
const container = document.getElementById('sop-cards-container');
|
||||||
|
if (!container) return;
|
||||||
|
|
||||||
|
const query = (document.getElementById('sop-search-input')?.value || '').toLowerCase().trim();
|
||||||
|
const activeChip = document.querySelector('.sop-chip.active');
|
||||||
|
const activeFilter = activeChip ? activeChip.dataset.filter : 'semua';
|
||||||
|
|
||||||
|
const cards = container.querySelectorAll('.sop-grid-card');
|
||||||
|
let visibleCount = 0;
|
||||||
|
|
||||||
|
cards.forEach(card => {
|
||||||
|
const title = card.dataset.title || '';
|
||||||
|
const code = card.dataset.code || '';
|
||||||
|
const category = card.dataset.category || '';
|
||||||
|
|
||||||
|
const matchesSearch = !query || title.includes(query) || code.includes(query);
|
||||||
|
const matchesFilter = activeFilter === 'semua' || category === activeFilter;
|
||||||
|
|
||||||
|
const isVisible = matchesSearch && matchesFilter;
|
||||||
|
card.style.display = isVisible ? '' : 'none';
|
||||||
|
if (isVisible) visibleCount++;
|
||||||
|
});
|
||||||
|
|
||||||
|
const emptyState = document.getElementById('sop-empty-state');
|
||||||
|
if (emptyState) emptyState.style.display = visibleCount === 0 ? 'flex' : 'none';
|
||||||
|
|
||||||
|
updateResultInfo(visibleCount, cards.length);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Membuka modal detail untuk SOP tertentu berdasarkan tab_id.
|
||||||
|
* @param {string} tabId - ID unik tab/SOP yang ingin ditampilkan
|
||||||
|
*/
|
||||||
|
function openSopModal(tabId) {
|
||||||
|
const container = document.getElementById('sop-cards-container');
|
||||||
|
if (!container || !container._sopData) return;
|
||||||
|
const sop = container._sopData.find(item => item.tab_id === tabId);
|
||||||
|
if (!sop) return;
|
||||||
|
|
||||||
|
const modalContent = document.getElementById('sop-modal-content');
|
||||||
|
const modalOverlay = document.getElementById('sop-modal-overlay');
|
||||||
|
if (!modalContent || !modalOverlay) return;
|
||||||
|
|
||||||
|
modalContent.innerHTML = buildSopModalContent(sop);
|
||||||
|
modalOverlay.classList.add('active');
|
||||||
|
document.body.style.overflow = 'hidden';
|
||||||
|
|
||||||
|
// Gulir isi modal ke paling atas
|
||||||
|
const modalBox = document.getElementById('sop-modal-box');
|
||||||
|
if (modalBox) modalBox.scrollTop = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Menutup modal detail SOP yang sedang aktif.
|
||||||
|
*/
|
||||||
|
function closeSopModal() {
|
||||||
|
const modalOverlay = document.getElementById('sop-modal-overlay');
|
||||||
|
if (modalOverlay) modalOverlay.classList.remove('active');
|
||||||
|
document.body.style.overflow = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Menginisialisasi interaksi halaman SOP (pencarian, filter chip, modal detail).
|
||||||
|
*/
|
||||||
|
export function initSopInteraction() {
|
||||||
|
// Search input
|
||||||
|
const searchInput = document.getElementById('sop-search-input');
|
||||||
|
const searchClear = document.getElementById('sop-search-clear');
|
||||||
|
|
||||||
|
if (searchInput) {
|
||||||
|
searchInput.addEventListener('input', () => {
|
||||||
|
if (searchClear) {
|
||||||
|
searchClear.style.display = searchInput.value ? 'flex' : 'none';
|
||||||
|
}
|
||||||
|
applySopFilter();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
if (searchClear) {
|
||||||
|
searchClear.addEventListener('click', () => {
|
||||||
|
if (searchInput) {
|
||||||
|
searchInput.value = '';
|
||||||
|
}
|
||||||
|
searchClear.style.display = 'none';
|
||||||
|
applySopFilter();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Filter chips
|
||||||
|
document.querySelectorAll('.sop-chip').forEach(chip => {
|
||||||
|
chip.addEventListener('click', () => {
|
||||||
|
document.querySelectorAll('.sop-chip').forEach(activeChip => {
|
||||||
|
activeChip.classList.remove('active');
|
||||||
|
});
|
||||||
|
chip.classList.add('active');
|
||||||
|
applySopFilter();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
// Empty state reset button
|
||||||
|
const emptyReset = document.getElementById('sop-empty-reset');
|
||||||
|
if (emptyReset) {
|
||||||
|
emptyReset.addEventListener('click', () => {
|
||||||
|
if (searchInput) {
|
||||||
|
searchInput.value = '';
|
||||||
|
}
|
||||||
|
if (searchClear) {
|
||||||
|
searchClear.style.display = 'none';
|
||||||
|
}
|
||||||
|
document.querySelectorAll('.sop-chip').forEach(activeChip => {
|
||||||
|
activeChip.classList.remove('active');
|
||||||
|
});
|
||||||
|
const allChip = document.querySelector('[data-filter="semua"]');
|
||||||
|
if (allChip) {
|
||||||
|
allChip.classList.add('active');
|
||||||
|
}
|
||||||
|
applySopFilter();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Card detail button (event delegation)
|
||||||
|
const container = document.getElementById('sop-cards-container');
|
||||||
|
if (container) {
|
||||||
|
container.addEventListener('click', (event) => {
|
||||||
|
const btn = event.target.closest('.sgc-detail-btn');
|
||||||
|
if (btn) {
|
||||||
|
openSopModal(btn.dataset.tabId);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Modal close button
|
||||||
|
const closeBtn = document.getElementById('sop-modal-close');
|
||||||
|
if (closeBtn) {
|
||||||
|
closeBtn.addEventListener('click', closeSopModal);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Close on overlay click
|
||||||
|
const overlay = document.getElementById('sop-modal-overlay');
|
||||||
|
if (overlay) {
|
||||||
|
overlay.addEventListener('click', (event) => {
|
||||||
|
if (event.target === overlay) {
|
||||||
|
closeSopModal();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Close on Escape key
|
||||||
|
document.addEventListener('keydown', (event) => {
|
||||||
|
if (event.key === 'Escape') {
|
||||||
|
closeSopModal();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// --- Kompatibilitas Mundur ---
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Stub kompatibilitas mundur untuk renderSopTabs.
|
||||||
|
* @param {Array<Object>} sops - Array objek SOP
|
||||||
|
*/
|
||||||
|
export function renderSopTabs(sops) {
|
||||||
|
renderSopCards(sops);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Stub kompatibilitas mundur untuk initSopTabsInteraction.
|
||||||
|
*/
|
||||||
|
export function initSopTabsInteraction() {
|
||||||
|
initSopInteraction();
|
||||||
|
}
|
||||||
|
|
||||||
|
// --- Interaksi & Animasi ---
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Menginisialisasi animasi scroll reveal dan counter statistik pada hero section.
|
||||||
|
*/
|
||||||
|
export function initAnimations() {
|
||||||
|
// Scroll Reveal
|
||||||
|
const revealObserver = new IntersectionObserver((entries) => {
|
||||||
|
entries.forEach((entry) => {
|
||||||
|
if (!entry.isIntersecting) return;
|
||||||
|
entry.target.classList.add('visible');
|
||||||
|
revealObserver.unobserve(entry.target);
|
||||||
|
});
|
||||||
|
}, { threshold: 0.1 });
|
||||||
|
|
||||||
|
document.querySelectorAll('.reveal').forEach((el) => revealObserver.observe(el));
|
||||||
|
|
||||||
|
// Hero Counter
|
||||||
|
const COUNT_ANIMATION_DURATION_MS = 800;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Menjalankan animasi hitung angka (counter)
|
||||||
|
* @param {Element} targetElement - Elemen target angka
|
||||||
|
* @param {number} targetValue - Nilai akhir counter
|
||||||
|
*/
|
||||||
|
function animateCount(targetElement, targetValue) {
|
||||||
|
if (!targetElement) return;
|
||||||
|
const stepValue = targetValue / (COUNT_ANIMATION_DURATION_MS / 16);
|
||||||
|
let currentValue = 0;
|
||||||
|
const timerId = setInterval(() => {
|
||||||
|
currentValue += stepValue;
|
||||||
|
if (currentValue >= targetValue) {
|
||||||
|
currentValue = targetValue;
|
||||||
|
clearInterval(timerId);
|
||||||
|
}
|
||||||
|
targetElement.textContent = Math.floor(currentValue).toString();
|
||||||
|
}, 16);
|
||||||
|
}
|
||||||
|
|
||||||
|
const staffCounter = document.getElementById('stat-staf');
|
||||||
|
const sopCounter = document.getElementById('stat-sop');
|
||||||
|
|
||||||
|
// Hitung jumlah data yang berhasil di-render (tidak termasuk template)
|
||||||
|
const totalStaffCards = document.querySelectorAll('.staff-card').length;
|
||||||
|
const totalSopCards = document.querySelectorAll('.sop-grid-card').length;
|
||||||
|
|
||||||
|
animateCount(staffCounter, totalStaffCards);
|
||||||
|
animateCount(sopCounter, totalSopCards);
|
||||||
|
}
|
||||||
|
|
||||||
|
// --- FAQ Accordion ---
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Membuka item FAQ yang diklik; menutup item lain yang sebelumnya
|
||||||
|
* terbuka (perilaku accordion satu-terbuka-sekaligus).
|
||||||
|
* @param {Element} questionEl - Elemen .faq-question yang diklik
|
||||||
|
*/
|
||||||
|
function toggleFaq(questionEl) {
|
||||||
|
const item = questionEl.closest('.faq-item');
|
||||||
|
if (!item) return;
|
||||||
|
const isOpen = item.classList.contains('open');
|
||||||
|
|
||||||
|
// Tutup semua item terlebih dahulu
|
||||||
|
document.querySelectorAll('.faq-item').forEach(faqItem => {
|
||||||
|
faqItem.classList.remove('open');
|
||||||
|
});
|
||||||
|
|
||||||
|
// Buka item yang diklik hanya jika sebelumnya tertutup
|
||||||
|
if (!isOpen) {
|
||||||
|
item.classList.add('open');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Menginisialisasi event listener klik untuk setiap accordion FAQ.
|
||||||
|
*/
|
||||||
|
export function initFaq() {
|
||||||
|
document.querySelectorAll('.faq-question').forEach(questionEl => {
|
||||||
|
questionEl.addEventListener('click', () => toggleFaq(questionEl));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// --- Render FAQ ---
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Merender section FAQ secara dinamis dari data-faq.json.
|
||||||
|
* Diinjeksikan ke dalam #faq-container di index.html.
|
||||||
|
* @param {Array<Object>} faqs - Array objek FAQ dari data-faq.json
|
||||||
|
*/
|
||||||
|
export function renderFaqSection(faqs) {
|
||||||
|
const container = document.getElementById('faq-container');
|
||||||
|
if (!container) return;
|
||||||
|
|
||||||
|
if (!faqs || faqs.length === 0) {
|
||||||
|
container.innerHTML = `<p class="empty-state-msg">${t('grp_c4a_empty_faq', 'Data FAQ tidak tersedia saat ini.')}</p>`;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const delayClasses = ['reveal-delay-1', 'reveal-delay-2', 'reveal-delay-3'];
|
||||||
|
|
||||||
|
const itemsHTML = faqs.map((faq, index) => {
|
||||||
|
const delayClass = delayClasses[index] || '';
|
||||||
|
return `
|
||||||
|
<div class="faq-item reveal ${delayClass}">
|
||||||
|
<div class="faq-question">
|
||||||
|
<span class="faq-question-text">${loc(faq.question)}</span>
|
||||||
|
<div class="faq-icon">+</div>
|
||||||
|
</div>
|
||||||
|
<div class="faq-answer">
|
||||||
|
<div class="faq-answer-inner">${loc(faq.answer)}</div>
|
||||||
|
</div>
|
||||||
|
</div>`;
|
||||||
|
}).join('');
|
||||||
|
|
||||||
|
container.innerHTML = itemsHTML;
|
||||||
|
}
|
||||||
@@ -0,0 +1,162 @@
|
|||||||
|
# 🎓 Portal Informasi Penerimaan Mahasiswa Baru (PMB)
|
||||||
|
**Program Studi Informatika - Universitas Tanjungpura (UNTAN)**
|
||||||
|
|
||||||
|

|
||||||
|
*Pratinjau Antarmuka Halaman PMB Informatika UNTAN oleh Kelompok 02*
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 💡 Pengantar (Project Overview)
|
||||||
|
|
||||||
|
### 📌 Gambaran Umum
|
||||||
|
Proyek ini merupakan halaman web statis yang dikembangkan untuk menyediakan informasi penerimaan mahasiswa baru secara terpusat, terstruktur, dan mudah diakses. Halaman ini bertujuan membantu calon mahasiswa dalam memahami berbagai jalur seleksi serta informasi terkait secara menyeluruh.
|
||||||
|
|
||||||
|
### 🎯 Fitur Utama
|
||||||
|
|
||||||
|
Penyajian informasi terpusat untuk seluruh jalur penerimaan:
|
||||||
|
1. SNBP
|
||||||
|
2. SNBT
|
||||||
|
3. Mandiri-UNTAN
|
||||||
|
4. SMMPTN-Barat
|
||||||
|
|
||||||
|
Informasi detail setiap jalur:
|
||||||
|
1. Persyaratan
|
||||||
|
2. Mekanisme seleksi
|
||||||
|
3. Jadwal
|
||||||
|
4. Biaya pendidikan
|
||||||
|
5. Informasi beasiswa
|
||||||
|
6. FAQ (Frequently Asked Questions)
|
||||||
|
7. Tautan ke situs resmi dan sumber informasi terkait
|
||||||
|
8. Tampilan responsif untuk desktop dan perangkat mobile
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## ❓ Tanya Jawab Seputar Proyek (Project Q&A)
|
||||||
|
|
||||||
|
**Q: Apa fokus utama dari rancangan website ini?**
|
||||||
|
A: Website ini dirancang sebagai pusat informasi terpadu yang merangkum empat jalur seleksi masuk UNTAN (SNBP, SNBT, SMMPTN-Barat, dan Mandiri). Pengunjung dapat melihat persyaratan, mekanisme, jadwal, rincian biaya, hingga peluang beasiswa dalam satu tampilan interaktif tanpa harus berpindah halaman.
|
||||||
|
|
||||||
|
**Q: Mengapa dibangun sepenuhnya sebagai halaman statis?**
|
||||||
|
A: Pendekatan statis (HTML, CSS, Vanilla JS) menawarkan tiga keuntungan utama: **Kecepatan** muat yang luar biasa, **Keamanan** tingkat tinggi (karena tidak ada akses *database* langsung dari luar), dan kemudahan **Deployment** di hampir semua layanan *hosting*.
|
||||||
|
|
||||||
|
**Q: Bagaimana sistem dua bahasa (Bilingual) bekerja di website ini?**
|
||||||
|
A: Kami menggunakan *script* kustom (`localization.js`) yang mendeteksi bahasa bawaan dari peramban pengguna (`navigator.language`). Pengguna juga dapat mengubah bahasa secara manual (ID/EN), dan pilihan tersebut akan disimpan di dalam `localStorage` sehingga preferensi tidak hilang saat halaman di-muat ulang.
|
||||||
|
|
||||||
|
**Q: Apakah visualisasi data di website ini bersifat statis (gambar)?**
|
||||||
|
A: Tidak. Kami mengimplementasikan **Chart.js** untuk merender grafik perbandingan antara "Jumlah Peminat" dan "Daya Tampung" secara dinamis dan interaktif.
|
||||||
|
|
||||||
|
**Q: Bagaimana tingkat responsivitas website ini di perangkat seluler?**
|
||||||
|
A: Sangat optimal. Kami menggunakan pendekatan tata letak *Grid* dan *Flexbox* mutakhir. Untuk navigasi kartu jalur masuk, kami bahkan mengintegrasikan *Horizontal Drag Slider* yang ramah sentuhan (touch-friendly) khusus untuk perangkat *mobile* dan tablet.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🌐 Navigasi & Antarmuka
|
||||||
|
|
||||||
|
1. Menggunakan pendekatan single-page dengan smooth scrolling
|
||||||
|
2. Navigasi berbasis tab untuk pemilihan jalur seleksi
|
||||||
|
3. Komponen accordion untuk FAQ dan persyaratan
|
||||||
|
4. Layout berbasis card untuk penyajian informasi ringkas
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📎 Sumber Eksternal
|
||||||
|
Sistem menyediakan tautan menuju berbagai sumber resmi, seperti:
|
||||||
|
|
||||||
|
1. Situs resmi SNPMB
|
||||||
|
2. Situs resmi Mandiri-UNTAN
|
||||||
|
3. Situs resmi SMMPTN-Barat
|
||||||
|
4. Portal informasi beasiswa
|
||||||
|
5. Media sosial resmi terkait
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🛠️ Tumpukan Teknologi (Tech Stack)
|
||||||
|
|
||||||
|
| Kategori | Teknologi | Kegunaan dalam Proyek |
|
||||||
|
| :--- | :--- | :--- |
|
||||||
|
| **Inti (Core)** | HTML5, CSS3, Vanilla JS | Fundamental pembentuk struktur, gaya, dan logika halaman. |
|
||||||
|
| **Visualisasi** | Chart.js 4.4 | Merender grafik batang peminat & daya tampung. |
|
||||||
|
| **Animasi** | AOS (Animate On Scroll) | Memberikan efek transisi halus saat elemen masuk ke *viewport*. |
|
||||||
|
| **Ikonografi** | FontAwesome 6.5 | Menyediakan aset ikon modern dan ringan berskala vektor. |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🚀 Panduan Deployment (Hosting Guide)
|
||||||
|
Sifat proyek yang 100% statis membuatnya sangat mudah untuk di-deploy (di-online-kan). Pilih salah satu platform favorit Anda di bawah ini:
|
||||||
|
|
||||||
|
### Opsi 1: Vercel (Paling Direkomendasikan & Cepat)
|
||||||
|
|
||||||
|
1. Push proyek ke repositori GitHub, GitLab, atau Bitbucket.
|
||||||
|
|
||||||
|
2. Buat akun dan masuk ke Vercel.
|
||||||
|
|
||||||
|
3. Klik tombol Add New Project dan import repositori Anda.
|
||||||
|
|
||||||
|
4. Pada bagian Framework Preset, pilih Other.
|
||||||
|
|
||||||
|
5. Kosongkan bagian Build Command dan Output Directory.
|
||||||
|
|
||||||
|
6. Klik Deploy. Website Anda akan aktif dalam kurang dari 30 detik.
|
||||||
|
|
||||||
|
### Opsi 2: Coolify (Self-Hosted)
|
||||||
|
|
||||||
|
1. Masuk ke Dashboard Coolify server Anda.
|
||||||
|
|
||||||
|
2. Buka menu proyek lalu tambahkan resource baru (+ Add).
|
||||||
|
|
||||||
|
3. Pilih opsi Application dan hubungkan repositori Git Anda.
|
||||||
|
|
||||||
|
4. Coolify secara otomatis akan menggunakan Nixpacks untuk mendeteksi Static/HTML Site.
|
||||||
|
|
||||||
|
5. Kosongkan Build Command dan Install Command.
|
||||||
|
|
||||||
|
6. Klik Deploy.
|
||||||
|
|
||||||
|
### Opsi 3: GitHub Pages (Paling Praktis)
|
||||||
|
|
||||||
|
1. Pastikan kode sudah di-push ke repositori GitHub.
|
||||||
|
|
||||||
|
2. Masuk ke halaman repositori Anda, klik tab Settings.
|
||||||
|
|
||||||
|
3. Di panel sebelah kiri, pilih menu Pages.
|
||||||
|
|
||||||
|
4. Pada bagian Source, pilih Deploy from a branch.
|
||||||
|
|
||||||
|
5. Pilih branch utama dan pastikan foldernya diatur ke / (root).
|
||||||
|
|
||||||
|
6. Klik Save.
|
||||||
|
|
||||||
|
### Opsi 4: Netlify (Sistem Drag & Drop)
|
||||||
|
|
||||||
|
1. Masuk ke Netlify.
|
||||||
|
|
||||||
|
2. Masuk ke menu Sites -> Klik Add new site.
|
||||||
|
|
||||||
|
3. Kita bisa memilih Import an existing project (lewat Git) atau Deploy manually (cukup seret dan lepas folder proyek ke browser).
|
||||||
|
|
||||||
|
4. Jika lewat Git, biarkan Build command dan Publish directory kosong.
|
||||||
|
|
||||||
|
5. Klik Deploy site.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 👥 Tim Pengembang (Credits)
|
||||||
|
Disusun dan dikembangkan oleh Kelompok 02 untuk memenuhi standar tugas perancangan antarmuka Halaman Statis.
|
||||||
|
|
||||||
|
Nama Kelompok : Habis Ini Seminar
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📂 Struktur Direktori (Folder Structure)
|
||||||
|
|
||||||
|
Pastikan struktur direktori Anda sesuai sebelum menjalankan atau men-deploy proyek ini:
|
||||||
|
|
||||||
|
```text
|
||||||
|
📦 project-root/
|
||||||
|
┣ 📜 localization.js # Script logika terjemahan & State Management
|
||||||
|
┃ 🖼️ logo.png # Logo Universitas/Prodi
|
||||||
|
┃ 🖼️ footer.png # Aset ornamen footer
|
||||||
|
┣ 📜 index.html # Halaman utama aplikasi (Entry point)
|
||||||
|
┣ 📜 style.css # Berkas tata letak dan desain (Styling)
|
||||||
|
┣ 🖼️ Screenshot.png # Gambar pratinjau halaman
|
||||||
|
┗ 📜 README.md # Dokumentasi proyek
|
||||||
|
After Width: | Height: | Size: 118 KiB |
|
After Width: | Height: | Size: 934 KiB |
|
After Width: | Height: | Size: 150 KiB |
|
After Width: | Height: | Size: 753 KiB |
|
After Width: | Height: | Size: 992 KiB |
|
After Width: | Height: | Size: 669 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 924 KiB |
|
After Width: | Height: | Size: 788 KiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 455 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 889 KiB |
|
After Width: | Height: | Size: 835 KiB |
|
After Width: | Height: | Size: 853 KiB |
|
After Width: | Height: | Size: 122 KiB |
|
After Width: | Height: | Size: 2.1 MiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 737 KiB |
|
After Width: | Height: | Size: 490 KiB |
|
After Width: | Height: | Size: 704 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 70 KiB |
@@ -1,4 +1,4 @@
|
|||||||
:root {
|
:root {
|
||||||
--brand-navy: #003150;
|
--brand-navy: #003150;
|
||||||
--brand-yellow: #feb401;
|
--brand-yellow: #feb401;
|
||||||
--text-main: #1e293b;
|
--text-main: #1e293b;
|
||||||
@@ -22,7 +22,27 @@ body { font-family: "Roboto", Arial, sans-serif; color: var(--text-main); backgr
|
|||||||
.hero h1 { margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.8rem); line-height: 1.2; }
|
.hero h1 { margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.8rem); line-height: 1.2; }
|
||||||
|
|
||||||
.layout { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0 4rem; }
|
.layout { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0 4rem; }
|
||||||
@media (min-width: 1024px) { .layout { grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr); } }
|
@media (min-width: 1024px) {
|
||||||
|
.layout { grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr); }
|
||||||
|
/* Fix tinggi grid Galeri Keseruan (Desktop) */
|
||||||
|
.galeri-grid {
|
||||||
|
height: 500px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Custom Layout Fixes (Menggantikan arbitrary Tailwind) ===== */
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
|
||||||
|
/* Fix ukuran 2 card per baris untuk Kegiatan Unggulan */
|
||||||
|
.md-card-half {
|
||||||
|
width: calc(50% - 16px) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Fix tinggi grid Galeri Keseruan (Tablet) */
|
||||||
|
.galeri-grid {
|
||||||
|
height: 420px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.meta { font-size: .78rem; text-transform: uppercase; color: #475569; display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-bottom: 1rem; }
|
.meta { font-size: .78rem; text-transform: uppercase; color: #475569; display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-bottom: 1rem; }
|
||||||
.cover { background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 1.5rem; }
|
.cover { background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 1.5rem; }
|
||||||
@@ -46,3 +66,29 @@ body { font-family: "Roboto", Arial, sans-serif; color: var(--text-main); backgr
|
|||||||
.footer-logo { height: 28px; width: auto; }
|
.footer-logo { height: 28px; width: auto; }
|
||||||
.footer-ornament { width: 100%; display: block; opacity: .9; }
|
.footer-ornament { width: 100%; display: block; opacity: .9; }
|
||||||
|
|
||||||
|
/* ===== Slider Dot Indicators ===== */
|
||||||
|
.slider-dot,
|
||||||
|
.galeri-dot {
|
||||||
|
display: inline-block;
|
||||||
|
height: 10px;
|
||||||
|
width: 10px;
|
||||||
|
min-width: 10px;
|
||||||
|
border-radius: 9999px;
|
||||||
|
background-color: #d1d5db; /* gray-300 fallback */
|
||||||
|
cursor: pointer;
|
||||||
|
border: none;
|
||||||
|
padding: 0;
|
||||||
|
transition: width 0.3s ease, background-color 0.3s ease;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.slider-dot.bg-hmif-primary,
|
||||||
|
.galeri-dot.bg-hmif-primary {
|
||||||
|
background-color: #0b2f4c; /* --color-hmif-primary dari output.css */
|
||||||
|
width: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Fix: title divisi berubah kuning saat hover */
|
||||||
|
#divisi .group:hover h3 {
|
||||||
|
color: #f5c82f !important;
|
||||||
|
}
|
||||||
|
|||||||
|
After Width: | Height: | Size: 103 KiB |
|
After Width: | Height: | Size: 41 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 988 KiB |
|
After Width: | Height: | Size: 680 KiB |
|
After Width: | Height: | Size: 803 KiB |
|
After Width: | Height: | Size: 6.0 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 41 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 44 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 7.3 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 296 KiB |
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"name": "roda",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"lockfileVersion": 3,
|
||||||
|
"requires": true,
|
||||||
|
"packages": {
|
||||||
|
"": {
|
||||||
|
"name": "roda",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"license": "ISC"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"name": "roda",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "Project website untuk menampilkan sorotan dan prestasi karya mahasiswa program studi Informatika Universitas Tanjungpura.",
|
||||||
|
"main": "server.js",
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
"start": "node server.js",
|
||||||
|
"dev": "node server.js"
|
||||||
|
},
|
||||||
|
"keywords": [],
|
||||||
|
"author": "",
|
||||||
|
"license": "ISC"
|
||||||
|
}
|
||||||
@@ -0,0 +1,279 @@
|
|||||||
|
const fs = require('fs');
|
||||||
|
const http = require('http');
|
||||||
|
const path = require('path');
|
||||||
|
const { URL } = require('url');
|
||||||
|
|
||||||
|
const ROOT_DIR = __dirname;
|
||||||
|
const PARENT_DIR = path.join(__dirname, '..', '..');
|
||||||
|
const INDEX_PATH = path.join(ROOT_DIR, 'index.html');
|
||||||
|
const ENV_PATH = path.join(ROOT_DIR, '.env');
|
||||||
|
const HOST = '127.0.0.1';
|
||||||
|
const PORT = Number(process.env.PORT || 3000);
|
||||||
|
|
||||||
|
function logServerError(scope, error, extra = {}) {
|
||||||
|
console.error(`[${scope}]`, error && error.stack ? error.stack : error, extra);
|
||||||
|
}
|
||||||
|
|
||||||
|
function parseEnvFile(filePath) {
|
||||||
|
if (!fs.existsSync(filePath)) {
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
|
||||||
|
const env = {};
|
||||||
|
const lines = fs.readFileSync(filePath, 'utf8').split(/\r?\n/);
|
||||||
|
|
||||||
|
for (const rawLine of lines) {
|
||||||
|
const line = rawLine.trim();
|
||||||
|
if (!line || line.startsWith('#')) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
const separatorIndex = line.indexOf('=');
|
||||||
|
if (separatorIndex === -1) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
const key = line.slice(0, separatorIndex).trim();
|
||||||
|
let value = line.slice(separatorIndex + 1).trim();
|
||||||
|
|
||||||
|
if (
|
||||||
|
(value.startsWith('"') && value.endsWith('"')) ||
|
||||||
|
(value.startsWith("'") && value.endsWith("'"))
|
||||||
|
) {
|
||||||
|
value = value.slice(1, -1);
|
||||||
|
}
|
||||||
|
|
||||||
|
env[key] = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
return env;
|
||||||
|
}
|
||||||
|
|
||||||
|
function getAppConfig() {
|
||||||
|
const env = {
|
||||||
|
...parseEnvFile(ENV_PATH),
|
||||||
|
...process.env
|
||||||
|
};
|
||||||
|
|
||||||
|
const dashboardProxyTemplates = [
|
||||||
|
env.DASHBOARD_PROXY_1,
|
||||||
|
env.DASHBOARD_PROXY_2,
|
||||||
|
env.DASHBOARD_PROXY_3
|
||||||
|
].filter(Boolean);
|
||||||
|
|
||||||
|
return {
|
||||||
|
dashboardTargetUrl: env.DASHBOARD_TARGET_URL || '',
|
||||||
|
dashboardProxyTemplates
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
const DASHBOARD_CACHE_TTL_MS = 5 * 60 * 1000;
|
||||||
|
let dashboardCache = { html: null, timestamp: 0 };
|
||||||
|
|
||||||
|
async function fetchDashboardHtml() {
|
||||||
|
const targetUrl = getAppConfig().dashboardTargetUrl;
|
||||||
|
if (!targetUrl) {
|
||||||
|
throw new Error('DASHBOARD_TARGET_URL kosong');
|
||||||
|
}
|
||||||
|
|
||||||
|
const now = Date.now();
|
||||||
|
if (dashboardCache.html && (now - dashboardCache.timestamp) < DASHBOARD_CACHE_TTL_MS) {
|
||||||
|
return { html: dashboardCache.html, cached: 'HIT' };
|
||||||
|
}
|
||||||
|
|
||||||
|
const controller = new AbortController();
|
||||||
|
const timeoutId = setTimeout(() => controller.abort(), 12000);
|
||||||
|
try {
|
||||||
|
const response = await fetch(targetUrl, {
|
||||||
|
signal: controller.signal,
|
||||||
|
headers: {
|
||||||
|
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0 Safari/537.36'
|
||||||
|
}
|
||||||
|
});
|
||||||
|
if (!response.ok) {
|
||||||
|
throw new Error(`HTTP_ERROR_${response.status}`);
|
||||||
|
}
|
||||||
|
const html = await response.text();
|
||||||
|
dashboardCache = { html, timestamp: Date.now() };
|
||||||
|
return { html, cached: 'MISS' };
|
||||||
|
} catch (error) {
|
||||||
|
if (dashboardCache.html) {
|
||||||
|
return { html: dashboardCache.html, cached: 'STALE' };
|
||||||
|
}
|
||||||
|
throw error;
|
||||||
|
} finally {
|
||||||
|
clearTimeout(timeoutId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function validateAppConfig(config) {
|
||||||
|
const errors = [];
|
||||||
|
|
||||||
|
if (!config.dashboardTargetUrl) {
|
||||||
|
errors.push('DASHBOARD_TARGET_URL belum diisi.');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!Array.isArray(config.dashboardProxyTemplates) || !config.dashboardProxyTemplates.length) {
|
||||||
|
errors.push('Minimal satu DASHBOARD_PROXY_* harus diisi.');
|
||||||
|
}
|
||||||
|
|
||||||
|
return errors;
|
||||||
|
}
|
||||||
|
|
||||||
|
function injectConfig(html) {
|
||||||
|
const configScript = `<script>window.APP_CONFIG = ${JSON.stringify(getAppConfig())};</script>`;
|
||||||
|
const defaultConfigScript = '<script>\n window.APP_CONFIG = window.APP_CONFIG || {\n dashboardTargetUrl: \'\',\n dashboardProxyTemplates: []\n };\n </script>';
|
||||||
|
|
||||||
|
if (html.includes(defaultConfigScript)) {
|
||||||
|
return html.replace(defaultConfigScript, configScript);
|
||||||
|
}
|
||||||
|
|
||||||
|
return html.replace('</head>', ` ${configScript}\n</head>`);
|
||||||
|
}
|
||||||
|
|
||||||
|
function sendHtml(res) {
|
||||||
|
try {
|
||||||
|
const html = fs.readFileSync(INDEX_PATH, 'utf8');
|
||||||
|
const configErrors = validateAppConfig(getAppConfig());
|
||||||
|
if (configErrors.length) {
|
||||||
|
logServerError('config', new Error('Invalid app config'), { configErrors });
|
||||||
|
}
|
||||||
|
|
||||||
|
const withConfig = injectConfig(html);
|
||||||
|
res.writeHead(200, { 'Content-Type': 'text/html; charset=utf-8' });
|
||||||
|
res.end(withConfig);
|
||||||
|
} catch (error) {
|
||||||
|
logServerError('sendHtml', error);
|
||||||
|
res.writeHead(500, { 'Content-Type': 'text/plain; charset=utf-8' });
|
||||||
|
res.end('Internal Server Error');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function getMimeType(pathname) {
|
||||||
|
const ext = path.extname(pathname).toLowerCase();
|
||||||
|
const mimeTypes = {
|
||||||
|
'.html': 'text/html; charset=utf-8',
|
||||||
|
'.css': 'text/css; charset=utf-8',
|
||||||
|
'.js': 'application/javascript; charset=utf-8',
|
||||||
|
'.json': 'application/json; charset=utf-8',
|
||||||
|
'.png': 'image/png',
|
||||||
|
'.jpg': 'image/jpeg',
|
||||||
|
'.jpeg': 'image/jpeg',
|
||||||
|
'.gif': 'image/gif',
|
||||||
|
'.svg': 'image/svg+xml',
|
||||||
|
'.ico': 'image/x-icon',
|
||||||
|
'.webp': 'image/webp',
|
||||||
|
'.woff': 'font/woff',
|
||||||
|
'.woff2': 'font/woff2',
|
||||||
|
'.ttf': 'font/ttf',
|
||||||
|
'.eot': 'application/vnd.ms-fontobject'
|
||||||
|
};
|
||||||
|
return mimeTypes[ext] || 'application/octet-stream';
|
||||||
|
}
|
||||||
|
|
||||||
|
function sendStaticFile(res, filepath) {
|
||||||
|
try {
|
||||||
|
if (!fs.existsSync(filepath)) {
|
||||||
|
res.writeHead(404, { 'Content-Type': 'text/plain; charset=utf-8' });
|
||||||
|
res.end('Not found');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const content = fs.readFileSync(filepath);
|
||||||
|
const mimeType = getMimeType(filepath);
|
||||||
|
res.writeHead(200, { 'Content-Type': mimeType });
|
||||||
|
res.end(content);
|
||||||
|
} catch (error) {
|
||||||
|
logServerError('sendStaticFile', error, { filepath });
|
||||||
|
res.writeHead(500, { 'Content-Type': 'text/plain; charset=utf-8' });
|
||||||
|
res.end('Internal Server Error');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function sendNotFound(res) {
|
||||||
|
res.writeHead(404, { 'Content-Type': 'text/plain; charset=utf-8' });
|
||||||
|
res.end('Not found');
|
||||||
|
}
|
||||||
|
|
||||||
|
const server = http.createServer((req, res) => {
|
||||||
|
try {
|
||||||
|
const requestUrl = new URL(req.url, `http://${req.headers.host}`);
|
||||||
|
const pathname = requestUrl.pathname;
|
||||||
|
|
||||||
|
if (pathname === '/' || pathname === '/index.html') {
|
||||||
|
sendHtml(res);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (pathname === '/api/dashboard') {
|
||||||
|
fetchDashboardHtml()
|
||||||
|
.then(({ html, cached }) => {
|
||||||
|
res.writeHead(200, {
|
||||||
|
'Content-Type': 'text/html; charset=utf-8',
|
||||||
|
'X-Cache': cached
|
||||||
|
});
|
||||||
|
res.end(html);
|
||||||
|
})
|
||||||
|
.catch((error) => {
|
||||||
|
logServerError('api-dashboard', error);
|
||||||
|
res.writeHead(502, { 'Content-Type': 'text/plain; charset=utf-8' });
|
||||||
|
res.end('DASHBOARD_FETCH_FAILED');
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Handle /assets/ from parent directory
|
||||||
|
if (pathname.startsWith('/assets/')) {
|
||||||
|
const assetsFilepath = path.join(PARENT_DIR, pathname);
|
||||||
|
const normalizedAssetsPath = path.normalize(assetsFilepath);
|
||||||
|
|
||||||
|
if (!normalizedAssetsPath.startsWith(path.normalize(PARENT_DIR))) {
|
||||||
|
sendNotFound(res);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
sendStaticFile(res, normalizedAssetsPath);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Serve static files from ROOT_DIR
|
||||||
|
const filepath = path.join(ROOT_DIR, pathname);
|
||||||
|
const normalizedPath = path.normalize(filepath);
|
||||||
|
|
||||||
|
// Security check: ensure the requested file is within ROOT_DIR
|
||||||
|
if (!normalizedPath.startsWith(path.normalize(ROOT_DIR))) {
|
||||||
|
sendNotFound(res);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
sendStaticFile(res, normalizedPath);
|
||||||
|
} catch (error) {
|
||||||
|
logServerError('request-handler', error, { url: req.url });
|
||||||
|
res.writeHead(500, { 'Content-Type': 'text/plain; charset=utf-8' });
|
||||||
|
res.end('Internal Server Error');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
server.on('clientError', (error, socket) => {
|
||||||
|
logServerError('clientError', error);
|
||||||
|
socket.end('HTTP/1.1 400 Bad Request\r\n\r\n');
|
||||||
|
});
|
||||||
|
|
||||||
|
server.listen(PORT, HOST, () => {
|
||||||
|
console.log(`Server ready at http://${HOST}:${PORT}`);
|
||||||
|
});
|
||||||
|
|
||||||
|
server.on('error', (error) => {
|
||||||
|
logServerError('server', error, { host: HOST, port: PORT });
|
||||||
|
process.exitCode = 1;
|
||||||
|
});
|
||||||
|
|
||||||
|
process.on('uncaughtException', (error) => {
|
||||||
|
logServerError('uncaughtException', error);
|
||||||
|
process.exitCode = 1;
|
||||||
|
});
|
||||||
|
|
||||||
|
process.on('unhandledRejection', (reason) => {
|
||||||
|
logServerError('unhandledRejection', reason instanceof Error ? reason : new Error(String(reason)));
|
||||||
|
process.exitCode = 1;
|
||||||
|
});
|
||||||
@@ -1,48 +1,310 @@
|
|||||||
:root {
|
.bg-pattern {
|
||||||
--brand-navy: #003150;
|
background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
|
||||||
--brand-yellow: #feb401;
|
|
||||||
--text-main: #1e293b;
|
|
||||||
--text-soft: #64748b;
|
|
||||||
--bg-soft: #f8fafc;
|
|
||||||
--line: #e2e8f0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
* { box-sizing: border-box; }
|
/* Navbar & Accessibility Fixes */
|
||||||
html, body { margin: 0; padding: 0; }
|
#nav-wrapper {
|
||||||
body { font-family: "Roboto", Arial, sans-serif; color: var(--text-main); background: #fff; line-height: 1.6; }
|
position: fixed !important;
|
||||||
.container { width: min(1100px, 92%); margin-inline: auto; }
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
z-index: 50;
|
||||||
|
backface-visibility: hidden;
|
||||||
|
-webkit-backface-visibility: hidden;
|
||||||
|
will-change: box-shadow;
|
||||||
|
}
|
||||||
|
|
||||||
.nav { background: var(--brand-navy); color: #fff; border-bottom: 4px solid var(--brand-yellow); padding: 14px 0; }
|
#nav-wrapper>div:first-child {
|
||||||
.brand { font-size: 1.1rem; font-weight: 700; letter-spacing: .02em; }
|
transform: translateZ(0);
|
||||||
|
-webkit-transform: translateZ(0);
|
||||||
|
}
|
||||||
|
|
||||||
.hero { position: relative; color: #fff; min-height: 220px; display: flex; align-items: flex-end; overflow: hidden; }
|
@media (max-width: 1023px) {
|
||||||
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.45); }
|
#nav-wrapper>div:first-child {
|
||||||
.hero-inner { position: relative; z-index: 1; padding: 36px 0; }
|
min-height: 0 !important;
|
||||||
.badge { display: inline-block; background: var(--brand-yellow); color: #111827; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .2rem .45rem; margin-bottom: 12px; }
|
max-height: none;
|
||||||
.hero h1 { margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.8rem); line-height: 1.2; }
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.layout { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0 4rem; }
|
html {
|
||||||
@media (min-width: 1024px) { .layout { grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr); } }
|
scroll-behavior: smooth;
|
||||||
|
}
|
||||||
|
|
||||||
.meta { font-size: .78rem; text-transform: uppercase; color: #475569; display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-bottom: 1rem; }
|
.ticker-wrap {
|
||||||
.cover { background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 1.5rem; }
|
mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
|
||||||
.cover img { width: 100%; height: auto; display: block; }
|
-webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
|
||||||
|
}
|
||||||
|
|
||||||
.article-body > * + * { margin-top: 1.1em; }
|
.ticker-track {
|
||||||
.article-body h2 { font-size: 1.35rem; margin: 1.6em 0 .5em; }
|
display: inline-flex;
|
||||||
.article-body h3 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
|
white-space: nowrap;
|
||||||
.article-body p { margin: 0 0 1em; }
|
min-width: max-content;
|
||||||
.article-body ul, .article-body ol { padding-left: 1.4rem; }
|
animation: tickerMove 30s linear infinite;
|
||||||
.article-body blockquote { border-left: 4px solid #005eb8; background: #eef6ff; padding: .8rem 1rem; color: #334155; }
|
will-change: transform;
|
||||||
.article-body a { color: #005eb8; }
|
}
|
||||||
.article-body img { max-width: 100%; border-radius: 8px; }
|
|
||||||
.article-body code { background: #f1f5f9; padding: .1em .35em; border-radius: 4px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
|
|
||||||
|
|
||||||
.note { border: 1px solid var(--line); background: var(--bg-soft); padding: 1rem; }
|
.ticker-wrap:hover .ticker-track {
|
||||||
.note h3 { margin: 0 0 .5rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: #475569; }
|
animation-play-state: paused;
|
||||||
|
}
|
||||||
|
|
||||||
.footer { margin-top: 2rem; background: var(--brand-navy); color: #fff; border-top: 4px solid var(--brand-yellow); }
|
@keyframes tickerMove {
|
||||||
.footer-inner { display: flex; align-items: center; justify-content: center; gap: .75rem; padding: 1rem 0; }
|
0% {
|
||||||
.footer-logo { height: 28px; width: auto; }
|
transform: translateX(0);
|
||||||
.footer-ornament { width: 100%; display: block; opacity: .9; }
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
transform: translateX(-50%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Responsive animation timing */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.ticker-track {
|
||||||
|
animation-duration: 25s;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1366px) {
|
||||||
|
.ticker-track {
|
||||||
|
animation-duration: 35s;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-clamp-1 {
|
||||||
|
overflow: hidden;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-clamp-2 {
|
||||||
|
overflow: hidden;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-clamp-3 {
|
||||||
|
overflow: hidden;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal {
|
||||||
|
opacity: 1;
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal-ready .reveal {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(24px);
|
||||||
|
transition: opacity 0.65s ease, transform 0.65s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal-ready .reveal.is-visible {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
html {
|
||||||
|
scroll-behavior: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticker-track {
|
||||||
|
animation: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal {
|
||||||
|
opacity: 1;
|
||||||
|
transform: none;
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Dosen grid: subgrid rows agar header & footer setiap card sejajar */
|
||||||
|
@media (min-width: 1024px) {
|
||||||
|
#dosen-grid {
|
||||||
|
grid-template-rows: auto auto;
|
||||||
|
}
|
||||||
|
#dosen-grid > a {
|
||||||
|
grid-row: span 2;
|
||||||
|
display: grid;
|
||||||
|
grid-template-rows: subgrid;
|
||||||
|
}
|
||||||
|
/* White section: flex column so expertise sits at top, rank/link pinned to bottom */
|
||||||
|
#dosen-grid > a > div:last-child {
|
||||||
|
display: flex !important;
|
||||||
|
flex-direction: column !important;
|
||||||
|
padding-top: 1rem !important;
|
||||||
|
}
|
||||||
|
#dosen-grid > a > div:last-child > div:last-child {
|
||||||
|
margin-top: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Custom responsive breakpoints - overriding Tailwind CDN defaults */
|
||||||
|
/* Mobile: 390px and up */
|
||||||
|
@media (min-width: 390px) {
|
||||||
|
body {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tablet: 768px and up */
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
#kbk-card-grid {
|
||||||
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Laptop/Desktop: 1024px and up */
|
||||||
|
@media (min-width: 1024px) {
|
||||||
|
nav.bg-\[#feb401\] {
|
||||||
|
display: block !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#lang-toggle-btn {
|
||||||
|
display: flex !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hidden.lg\:flex {
|
||||||
|
display: flex !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Hide hamburger button on desktop (aligns with ACAAB lg:1024px) */
|
||||||
|
#mobile-menu-button {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#kbk-card-grid {
|
||||||
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||||
|
}
|
||||||
|
|
||||||
|
#dosen-grid {
|
||||||
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||||
|
}
|
||||||
|
|
||||||
|
#riset-grid {
|
||||||
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Desktop: 1366px and up */
|
||||||
|
@media (min-width: 1366px) {
|
||||||
|
#kbk-card-grid {
|
||||||
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||||
|
}
|
||||||
|
|
||||||
|
#riset-grid {
|
||||||
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||||
|
}
|
||||||
|
|
||||||
|
#dosen-grid {
|
||||||
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Extra Large Desktop: 1920px and up */
|
||||||
|
@media (min-width: 1920px) {
|
||||||
|
body {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== MEGA MENU STYLES FROM LIMAEM ===== */
|
||||||
|
.mega-panel {
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
transition: opacity 0.2s ease, visibility 0.2s ease;
|
||||||
|
position: absolute;
|
||||||
|
top: 100%;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mega-panel.active {
|
||||||
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mega-overlay {
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
transition: opacity 0.2s ease, visibility 0.2s ease;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mega-overlay.active {
|
||||||
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
|
pointer-events: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mega-link-card {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: 1rem;
|
||||||
|
padding: 1rem;
|
||||||
|
border-radius: 0.75rem;
|
||||||
|
border: 1px solid #e2e8f0;
|
||||||
|
background: white;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mega-link-card:hover {
|
||||||
|
border-color: #3b82f6;
|
||||||
|
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.mega-link-icon {
|
||||||
|
width: 2.5rem;
|
||||||
|
height: 2.5rem;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-shrink: 0;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-menu-btn.active {
|
||||||
|
background: rgba(255, 255, 255, 0.9);
|
||||||
|
color: #1e40af;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-menu-btn:hover {
|
||||||
|
background: rgba(255, 255, 255, 0.8);
|
||||||
|
}
|
||||||
|
|
||||||
|
#main-nav {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mega-menu-container {
|
||||||
|
position: absolute;
|
||||||
|
top: 100%;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mega-menu-container .mega-panel {
|
||||||
|
pointer-events: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-menu-item {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-menu-item::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
bottom: -12px;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
height: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,123 @@
|
|||||||
|
/* ===========================================
|
||||||
|
Base / Reset — scoped under .tapops-doc-root
|
||||||
|
Prevents contaminating Tailwind nav/footer.
|
||||||
|
=========================================== */
|
||||||
|
|
||||||
|
.tapops-doc-root *,
|
||||||
|
.tapops-doc-root *::before,
|
||||||
|
.tapops-doc-root *::after {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Font is set on the root only (inherited), NOT on `*`.
|
||||||
|
A universal `.tapops-doc-root *` rule would tie Font Awesome's
|
||||||
|
`.fas` font-family in specificity and—loading later—override it,
|
||||||
|
blanking every icon. Inheritance loses to FA's explicit rule, so
|
||||||
|
icons render while normal text still gets Roboto. */
|
||||||
|
.tapops-doc-root {
|
||||||
|
font-family: 'Roboto', sans-serif;
|
||||||
|
color: var(--text-dark);
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Form controls don't inherit font-family by default — opt them in.
|
||||||
|
These elements never hold Font Awesome glyphs, so this is icon-safe. */
|
||||||
|
.tapops-doc-root input,
|
||||||
|
.tapops-doc-root select,
|
||||||
|
.tapops-doc-root textarea,
|
||||||
|
.tapops-doc-root button {
|
||||||
|
font-family: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tapops-doc-root a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tapops-doc-root img {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* --- Shared Section Styles --- */
|
||||||
|
|
||||||
|
.tapops-doc-root .section-header {
|
||||||
|
margin-bottom: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tapops-doc-root .section-tag {
|
||||||
|
font-size: 0.75rem;
|
||||||
|
font-weight: 800;
|
||||||
|
letter-spacing: 2px;
|
||||||
|
background-color: var(--secondary-gold);
|
||||||
|
color: var(--primary-blue);
|
||||||
|
display: inline-block;
|
||||||
|
padding: 6px 14px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tapops-doc-root .section-title {
|
||||||
|
font-size: 2.5rem;
|
||||||
|
font-weight: 800;
|
||||||
|
color: var(--primary-blue);
|
||||||
|
letter-spacing: -1px;
|
||||||
|
line-height: 1.15;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* --- Shared Button Styles --- */
|
||||||
|
|
||||||
|
.tapops-doc-root .btn-join,
|
||||||
|
.tapops-doc-root .btn-outline {
|
||||||
|
padding: 17px 30px;
|
||||||
|
font-weight: 800;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tapops-doc-root .btn-join {
|
||||||
|
background-color: var(--secondary-gold);
|
||||||
|
color: var(--primary-blue);
|
||||||
|
}
|
||||||
|
|
||||||
|
.tapops-doc-root .btn-outline {
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tapops-doc-root .btn-join:hover,
|
||||||
|
.tapops-doc-root .btn-outline:hover {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.tapops-doc-root .btn-join:hover {
|
||||||
|
background-color: #fff;
|
||||||
|
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
.tapops-doc-root .btn-outline:hover {
|
||||||
|
border-color: var(--secondary-gold);
|
||||||
|
color: var(--secondary-gold);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.tapops-doc-root .btn-join,
|
||||||
|
.tapops-doc-root .btn-outline {
|
||||||
|
padding: 14px 24px;
|
||||||
|
font-size: 0.82rem;
|
||||||
|
width: 100%;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 480px) {
|
||||||
|
.tapops-doc-root .btn-join,
|
||||||
|
.tapops-doc-root .btn-outline {
|
||||||
|
padding: 12px 20px;
|
||||||
|
font-size: 0.78rem;
|
||||||
|
letter-spacing: 0.5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
@import url("repository/index.css");
|
||||||
@@ -0,0 +1,276 @@
|
|||||||
|
/* ===========================================
|
||||||
|
Hero Section (Centered & Immersive) — Tapops
|
||||||
|
=========================================== */
|
||||||
|
|
||||||
|
.research-hero.immersive-hero {
|
||||||
|
background: radial-gradient(circle at center, #003150 0%, #001e35 100%);
|
||||||
|
color: white;
|
||||||
|
padding: 160px 5% 180px;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
text-align: center;
|
||||||
|
padding-bottom: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.research-hero::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
width: 800px;
|
||||||
|
height: 800px;
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
|
||||||
|
background: conic-gradient(from 180deg at 50% 50%,
|
||||||
|
transparent 0deg,
|
||||||
|
rgba(254, 180, 1, 0.15) 180deg,
|
||||||
|
transparent 360deg);
|
||||||
|
|
||||||
|
-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #fff 0);
|
||||||
|
mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #fff 0);
|
||||||
|
|
||||||
|
border-radius: 50%;
|
||||||
|
pointer-events: none;
|
||||||
|
z-index: 1;
|
||||||
|
animation: rotate-orbit 30s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes rotate-orbit {
|
||||||
|
from {
|
||||||
|
transform: translate(-50%, -50%) rotate(0deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
to {
|
||||||
|
transform: translate(-50%, -50%) rotate(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-container-centered {
|
||||||
|
max-width: 900px;
|
||||||
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
|
width: 100%;
|
||||||
|
padding: 0 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-kicker {
|
||||||
|
font-size: 0.85rem;
|
||||||
|
letter-spacing: 4px;
|
||||||
|
font-weight: 800;
|
||||||
|
color: var(--secondary-gold);
|
||||||
|
text-transform: uppercase;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-title {
|
||||||
|
font-size: 4.8rem;
|
||||||
|
font-weight: 800;
|
||||||
|
line-height: 1.05;
|
||||||
|
letter-spacing: -3px;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-tagline {
|
||||||
|
font-size: 1.25rem;
|
||||||
|
line-height: 1.6;
|
||||||
|
opacity: 0.85;
|
||||||
|
margin-bottom: 45px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-actions {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* --- Floating Insight Bar --- */
|
||||||
|
|
||||||
|
.hero-floating-stat-bar {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 50px;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
background: rgba(255, 255, 255, 0.03);
|
||||||
|
backdrop-filter: blur(20px);
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
|
padding: 25px 60px;
|
||||||
|
border-radius: 4px;
|
||||||
|
z-index: 3;
|
||||||
|
gap: 40px;
|
||||||
|
box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
|
||||||
|
max-width: calc(100% - 32px);
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-bar-item {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-bar-value {
|
||||||
|
font-size: 2.2rem;
|
||||||
|
font-weight: 800;
|
||||||
|
color: var(--secondary-gold);
|
||||||
|
line-height: 1.1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-bar-label {
|
||||||
|
font-size: 0.7rem;
|
||||||
|
letter-spacing: 1.5px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-weight: 700;
|
||||||
|
opacity: 0.6;
|
||||||
|
margin-top: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-bar-divider {
|
||||||
|
width: 1px;
|
||||||
|
height: 40px;
|
||||||
|
background: rgba(255, 255, 255, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===========================================
|
||||||
|
Hero Responsive
|
||||||
|
=========================================== */
|
||||||
|
|
||||||
|
@media (max-width: 992px) {
|
||||||
|
.research-hero.immersive-hero {
|
||||||
|
padding: 120px 5% 180px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-title {
|
||||||
|
font-size: 3.5rem;
|
||||||
|
letter-spacing: -2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-tagline {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-floating-stat-bar {
|
||||||
|
padding: 20px 32px;
|
||||||
|
gap: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-bar-value {
|
||||||
|
font-size: 1.6rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.research-hero.immersive-hero {
|
||||||
|
padding: 100px 16px 130px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-kicker {
|
||||||
|
font-size: 0.68rem;
|
||||||
|
letter-spacing: 2.5px;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-title {
|
||||||
|
font-size: 2.2rem;
|
||||||
|
letter-spacing: -1px;
|
||||||
|
margin-bottom: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-tagline {
|
||||||
|
font-size: 0.9rem;
|
||||||
|
line-height: 1.5;
|
||||||
|
margin-bottom: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-actions {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: stretch;
|
||||||
|
gap: 12px;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 320px;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-floating-stat-bar {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 320px;
|
||||||
|
padding: 18px 24px;
|
||||||
|
gap: 20px;
|
||||||
|
bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-bar-value {
|
||||||
|
font-size: 1.3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-bar-label {
|
||||||
|
font-size: 0.6rem;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-bar-divider {
|
||||||
|
height: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.research-hero::before {
|
||||||
|
width: 400px;
|
||||||
|
height: 400px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 480px) {
|
||||||
|
.research-hero.immersive-hero {
|
||||||
|
padding: 80px 12px 125px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-kicker {
|
||||||
|
font-size: 0.6rem;
|
||||||
|
letter-spacing: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-title {
|
||||||
|
font-size: 1.8rem;
|
||||||
|
letter-spacing: -0.5px;
|
||||||
|
margin-bottom: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-tagline {
|
||||||
|
font-size: 0.82rem;
|
||||||
|
line-height: 1.45;
|
||||||
|
margin-bottom: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-actions {
|
||||||
|
max-width: 280px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-floating-stat-bar {
|
||||||
|
flex-direction: row;
|
||||||
|
bottom: 20px;
|
||||||
|
gap: 16px;
|
||||||
|
padding: 14px 20px;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 280px;
|
||||||
|
justify-content: space-evenly;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-bar-divider {
|
||||||
|
width: 1px;
|
||||||
|
height: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-bar-value {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.research-hero::before {
|
||||||
|
width: 280px;
|
||||||
|
height: 280px;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,286 @@
|
|||||||
|
/* ===========================================
|
||||||
|
Navigation & Mega Menu Styles
|
||||||
|
Extracted from inline <style> in index.html
|
||||||
|
=========================================== */
|
||||||
|
|
||||||
|
/* ===== MOBILE NAV STABILITY FIX =====
|
||||||
|
Prevents logo bar from collapsing/shifting on Android when
|
||||||
|
address bar hides/shows and triggers viewport reflow.
|
||||||
|
===================================== */
|
||||||
|
#nav-wrapper {
|
||||||
|
position: fixed !important;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
z-index: 50;
|
||||||
|
backface-visibility: hidden;
|
||||||
|
-webkit-backface-visibility: hidden;
|
||||||
|
will-change: box-shadow;
|
||||||
|
}
|
||||||
|
|
||||||
|
#nav-wrapper>div:first-child {
|
||||||
|
transform: translateZ(0);
|
||||||
|
-webkit-transform: translateZ(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1023px) {
|
||||||
|
#nav-wrapper>div:first-child {
|
||||||
|
min-height: 0 !important;
|
||||||
|
max-height: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#pengumuman-bar {
|
||||||
|
z-index: 40;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pengumuman-bar.is-stuck {
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
z-index: 40;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
|
||||||
|
*,
|
||||||
|
*::before,
|
||||||
|
*::after {
|
||||||
|
animation-duration: 0.01ms !important;
|
||||||
|
animation-iteration-count: 1 !important;
|
||||||
|
transition-duration: 0.01ms !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Skip Link Styling */
|
||||||
|
.skip-link {
|
||||||
|
position: absolute;
|
||||||
|
top: -40px;
|
||||||
|
left: 0;
|
||||||
|
background: #003150;
|
||||||
|
color: white;
|
||||||
|
padding: 8px 16px;
|
||||||
|
z-index: 100;
|
||||||
|
transition: top 0.3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skip-link:focus {
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Focus visible for better keyboard navigation */
|
||||||
|
:focus-visible {
|
||||||
|
outline: 3px solid #feb401;
|
||||||
|
outline-offset: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mega Menu Styles */
|
||||||
|
.hero-pagination .swiper-pagination-bullet {
|
||||||
|
width: 8px;
|
||||||
|
height: 8px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: rgba(255, 255, 255, 0.4);
|
||||||
|
display: inline-block;
|
||||||
|
margin: 0 4px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-pagination .swiper-pagination-bullet-active {
|
||||||
|
background: rgba(255, 255, 255, 1);
|
||||||
|
width: 24px;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mega-panel {
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
transition: opacity 0.2s ease, visibility 0.2s ease;
|
||||||
|
position: absolute;
|
||||||
|
top: 100%;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mega-panel.active {
|
||||||
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Overlay transition */
|
||||||
|
#mega-overlay {
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
transition: opacity 0.2s ease, visibility 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mega-overlay.active {
|
||||||
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mega-link-card {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: 1rem;
|
||||||
|
padding: 1rem;
|
||||||
|
border-radius: 0.75rem;
|
||||||
|
border: 1px solid #e2e8f0;
|
||||||
|
background: white;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mega-link-card:hover {
|
||||||
|
border-color: #3b82f6;
|
||||||
|
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.mega-link-icon {
|
||||||
|
width: 2.5rem;
|
||||||
|
height: 2.5rem;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-shrink: 0;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-menu-btn.active {
|
||||||
|
background: rgba(255, 255, 255, 0.9);
|
||||||
|
color: #1e40af;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-menu-btn:hover {
|
||||||
|
background: rgba(255, 255, 255, 0.8);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mega menu positioning - no gap */
|
||||||
|
#main-nav {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mega-menu-container {
|
||||||
|
position: absolute;
|
||||||
|
top: 100%;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mega-menu-container .mega-panel {
|
||||||
|
pointer-events: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Keep pointer bridge under nav to prevent hover loss */
|
||||||
|
.nav-menu-item {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-menu-item::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
bottom: -12px;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
height: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Luco Chatbot Animations ===== */
|
||||||
|
@keyframes slideInRight {
|
||||||
|
from {
|
||||||
|
transform: translateX(100px);
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
to {
|
||||||
|
transform: translateX(0);
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes fadeInUp {
|
||||||
|
from {
|
||||||
|
transform: translateY(10px);
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
to {
|
||||||
|
transform: translateY(0);
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes lucoPulse {
|
||||||
|
|
||||||
|
0%,
|
||||||
|
100% {
|
||||||
|
transform: scale(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
50% {
|
||||||
|
transform: scale(1.05);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#luco-container {
|
||||||
|
animation: slideInRight 0.5s ease-out forwards;
|
||||||
|
}
|
||||||
|
|
||||||
|
#luco-bubble {
|
||||||
|
animation: fadeInUp 0.3s ease-out forwards;
|
||||||
|
width: min(18rem, calc(100vw - 2rem));
|
||||||
|
}
|
||||||
|
|
||||||
|
#luco-btn {
|
||||||
|
animation: lucoPulse 2s ease-in-out infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
#luco-btn:hover {
|
||||||
|
animation: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Typing indicator */
|
||||||
|
.typing-indicator span {
|
||||||
|
display: inline-block;
|
||||||
|
animation: bounce 1.4s infinite ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.typing-indicator span:nth-child(1) {
|
||||||
|
animation-delay: 0s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.typing-indicator span:nth-child(2) {
|
||||||
|
animation-delay: 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.typing-indicator span:nth-child(3) {
|
||||||
|
animation-delay: 0.4s;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes bounce {
|
||||||
|
|
||||||
|
0%,
|
||||||
|
80%,
|
||||||
|
100% {
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
40% {
|
||||||
|
transform: translateY(-6px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Luco speech bubble arrow */
|
||||||
|
#luco-bubble .bubble-arrow {
|
||||||
|
position: absolute;
|
||||||
|
right: 24px;
|
||||||
|
bottom: -6px;
|
||||||
|
width: 12px;
|
||||||
|
height: 12px;
|
||||||
|
background: white;
|
||||||
|
transform: rotate(45deg);
|
||||||
|
border-right: 1px solid #e2e8f0;
|
||||||
|
border-bottom: 1px solid #e2e8f0;
|
||||||
|
}
|
||||||