forked from izu/student-web-if-development-kit
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 103fdabc48 | |||
| 6080ed2252 | |||
| 4e38e7524b | |||
| 563af0ec56 | |||
| a942826266 | |||
| 153de4dc92 |
@@ -571,7 +571,7 @@ const translations = {
|
|||||||
kontrib_guideline_5: "Tim redaksi berhak menyunting konten untuk keperluan editorial.",
|
kontrib_guideline_5: "Tim redaksi berhak menyunting konten untuk keperluan editorial.",
|
||||||
|
|
||||||
grp_limaem_hero_badge: "KOMUNITAS & KEPEMIMPINAN",
|
grp_limaem_hero_badge: "KOMUNITAS & KEPEMIMPINAN",
|
||||||
grp_limaem_hero_title: "Kehidupan Mahasiswa & Himpunan (HMIF)",
|
grp_limaem_hero_title: "Kehidupan Mahasiswa & <span style=\"color:#f5c82f;\">Himpunan (HMIF)</span>",
|
||||||
grp_limaem_hero_desc: "Membangun ekosistem kolaboratif di mana teknologi bertemu dengan kreativitas, membentuk calon pemimpin industri masa depan.",
|
grp_limaem_hero_desc: "Membangun ekosistem kolaboratif di mana teknologi bertemu dengan kreativitas, membentuk calon pemimpin industri masa depan.",
|
||||||
grp_limaem_hero_btn: "Lihat Struktur Kepengurusan",
|
grp_limaem_hero_btn: "Lihat Struktur Kepengurusan",
|
||||||
|
|
||||||
@@ -617,8 +617,10 @@ const translations = {
|
|||||||
grp_limaem_kegiatan_c4_desc: "Program intensif pengembangan skill teknis mahasiswa Informatika bersama mentor profesional dari industri.",
|
grp_limaem_kegiatan_c4_desc: "Program intensif pengembangan skill teknis mahasiswa Informatika bersama mentor profesional dari industri.",
|
||||||
grp_limaem_kegiatan_c5_title: "UPC",
|
grp_limaem_kegiatan_c5_title: "UPC",
|
||||||
grp_limaem_kegiatan_c5_desc: "Kompetisi Pemograman untuk mengasah skill coding mahasiswa Informatika.",
|
grp_limaem_kegiatan_c5_desc: "Kompetisi Pemograman untuk mengasah skill coding mahasiswa Informatika.",
|
||||||
grp_limaem_kegiatan_c6_title: "INFORMERS",
|
grp_limaem_kegiatan_c6_title: "Study Excursion",
|
||||||
grp_limaem_kegiatan_c6_desc: "Perayaan ulang tahun Informatika UNTAN, momen kebersamaan dan kebanggaan seluruh keluarga besar Informatika.",
|
grp_limaem_kegiatan_c6_desc: "Study Excursion menjadi pengalaman berharga bagi mahasiswa semester 5 untuk belajar di luar kampus, memperluas wawasan, mengenal suasana baru, serta menciptakan kenangan berkesan bersama selama perjalanan.",
|
||||||
|
grp_limaem_kegiatan_c7_title: "INFORMERS",
|
||||||
|
grp_limaem_kegiatan_c7_desc: "Perayaan ulang tahun Informatika UNTAN, momen kebersamaan dan kebanggaan seluruh keluarga besar Informatika.",
|
||||||
|
|
||||||
grp_limaem_sc_title: "STUDY CLUB",
|
grp_limaem_sc_title: "STUDY CLUB",
|
||||||
grp_limaem_sc_arise_title: "ARISE",
|
grp_limaem_sc_arise_title: "ARISE",
|
||||||
@@ -1207,7 +1209,7 @@ const translations = {
|
|||||||
kontrib_guideline_5: "The editorial team reserves the right to edit content for editorial purposes.",
|
kontrib_guideline_5: "The editorial team reserves the right to edit content for editorial purposes.",
|
||||||
|
|
||||||
grp_limaem_hero_badge: "COMMUNITY & LEADERSHIP",
|
grp_limaem_hero_badge: "COMMUNITY & LEADERSHIP",
|
||||||
grp_limaem_hero_title: "Student Life & Student Association (HMIF)",
|
grp_limaem_hero_title: "Student Life & <span style=\"color:#f5c82f;\">Student Association (HMIF)</span>",
|
||||||
grp_limaem_hero_desc: "Building a collaborative ecosystem where technology meets creativity, shaping the industry leaders of tomorrow.",
|
grp_limaem_hero_desc: "Building a collaborative ecosystem where technology meets creativity, shaping the industry leaders of tomorrow.",
|
||||||
grp_limaem_hero_btn: "View Organizational Structure",
|
grp_limaem_hero_btn: "View Organizational Structure",
|
||||||
|
|
||||||
@@ -1253,8 +1255,10 @@ const translations = {
|
|||||||
grp_limaem_kegiatan_c4_desc: "An intensive technical skill development program for Informatics students, guided by professional mentors from the industry.",
|
grp_limaem_kegiatan_c4_desc: "An intensive technical skill development program for Informatics students, guided by professional mentors from the industry.",
|
||||||
grp_limaem_kegiatan_c5_title: "UPC",
|
grp_limaem_kegiatan_c5_title: "UPC",
|
||||||
grp_limaem_kegiatan_c5_desc: "A Programming Competition to sharpen the coding skills of Informatics students.",
|
grp_limaem_kegiatan_c5_desc: "A Programming Competition to sharpen the coding skills of Informatics students.",
|
||||||
grp_limaem_kegiatan_c6_title: "INFORMERS",
|
grp_limaem_kegiatan_c6_title: "Study Excursion",
|
||||||
grp_limaem_kegiatan_c6_desc: "The anniversary celebration of Informatics UNTAN, a moment of togetherness and pride for the entire Informatics family.",
|
grp_limaem_kegiatan_c6_desc: "Study Excursion is a valuable experience for 5th semester students to study outside the campus, broaden their horizons, get to know new atmospheres, and create memorable memories together during the trip.",
|
||||||
|
grp_limaem_kegiatan_c7_title: "INFORMERS",
|
||||||
|
grp_limaem_kegiatan_c7_desc: "The anniversary celebration of Informatics UNTAN, a moment of togetherness and pride for the entire Informatics family.",
|
||||||
|
|
||||||
grp_limaem_sc_title: "STUDY CLUBS",
|
grp_limaem_sc_title: "STUDY CLUBS",
|
||||||
grp_limaem_sc_arise_title: "ARISE",
|
grp_limaem_sc_arise_title: "ARISE",
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 2.1 MiB |
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
(function () {
|
(function () {
|
||||||
var mobileMenuButton = document.getElementById('mobile-menu-button');
|
var mobileMenuButton = document.getElementById('mobile-menu-button');
|
||||||
var mobileMenu = document.getElementById('mobile-menu');
|
var mobileMenu = document.getElementById('mobile-menu');
|
||||||
|
|
||||||
if (!mobileMenuButton || !mobileMenu) return;
|
if (!mobileMenuButton || !mobileMenu) return;
|
||||||
|
|
||||||
@@ -346,15 +346,15 @@
|
|||||||
var AUTO_DELAY_MS = 4000; // 4 detik per slide
|
var AUTO_DELAY_MS = 4000; // 4 detik per slide
|
||||||
var GAP_PX = 16 * 2; // grid gap-4 = 1rem? but original used gap-4; keep reasonable spacing if needed
|
var GAP_PX = 16 * 2; // grid gap-4 = 1rem? but original used gap-4; keep reasonable spacing if needed
|
||||||
|
|
||||||
var track = document.getElementById('galeri-track');
|
var track = document.getElementById('galeri-track');
|
||||||
var viewport = document.getElementById('galeri-viewport');
|
var viewport = document.getElementById('galeri-viewport');
|
||||||
var prevBtn = document.getElementById('galeri-prev');
|
var prevBtn = document.getElementById('galeri-prev');
|
||||||
var nextBtn = document.getElementById('galeri-next');
|
var nextBtn = document.getElementById('galeri-next');
|
||||||
var dotsContainer = document.getElementById('galeri-dots');
|
var dotsContainer = document.getElementById('galeri-dots');
|
||||||
|
|
||||||
if (!track || !viewport || !prevBtn || !nextBtn) return;
|
if (!track || !viewport || !prevBtn || !nextBtn) return;
|
||||||
|
|
||||||
var currentSlide = 0;
|
var currentSlide = 0;
|
||||||
var autoSlideTimer;
|
var autoSlideTimer;
|
||||||
var originalHTML = track.innerHTML;
|
var originalHTML = track.innerHTML;
|
||||||
|
|
||||||
@@ -395,7 +395,7 @@
|
|||||||
var btn = document.createElement('button');
|
var btn = document.createElement('button');
|
||||||
btn.className = 'galeri-dot h-2.5 rounded-full transition-all duration-300 ' + (i === 0 ? 'bg-hmif-primary w-6' : 'bg-gray-200 w-2.5');
|
btn.className = 'galeri-dot h-2.5 rounded-full transition-all duration-300 ' + (i === 0 ? 'bg-hmif-primary w-6' : 'bg-gray-200 w-2.5');
|
||||||
btn.setAttribute('data-index', String(i));
|
btn.setAttribute('data-index', String(i));
|
||||||
btn.setAttribute('aria-label', 'Slide ' + (i+1));
|
btn.setAttribute('aria-label', 'Slide ' + (i + 1));
|
||||||
(function (idx) { btn.addEventListener('click', function () { goToSlide(idx); startAutoSlide(); }); })(i);
|
(function (idx) { btn.addEventListener('click', function () { goToSlide(idx); startAutoSlide(); }); })(i);
|
||||||
dotsContainer.appendChild(btn);
|
dotsContainer.appendChild(btn);
|
||||||
}
|
}
|
||||||
@@ -465,14 +465,14 @@
|
|||||||
// =============================================================================
|
// =============================================================================
|
||||||
|
|
||||||
(function () {
|
(function () {
|
||||||
var TOTAL_CARDS = 6;
|
var TOTAL_CARDS = 7;
|
||||||
var AUTO_DELAY_MS = 2000;
|
var AUTO_DELAY_MS = 2000;
|
||||||
var GAP_PX = 32; // gap-8 = 2rem = 32px (tailwind)
|
var GAP_PX = 32; // gap-8 = 2rem = 32px (tailwind)
|
||||||
|
|
||||||
var track = document.getElementById('slider-track');
|
var track = document.getElementById('slider-track');
|
||||||
var viewport = document.getElementById('slider-viewport');
|
var viewport = document.getElementById('slider-viewport');
|
||||||
var prevBtn = document.getElementById('slider-prev');
|
var prevBtn = document.getElementById('slider-prev');
|
||||||
var nextBtn = document.getElementById('slider-next');
|
var nextBtn = document.getElementById('slider-next');
|
||||||
var dotsContainer = document.getElementById('slider-dots');
|
var dotsContainer = document.getElementById('slider-dots');
|
||||||
|
|
||||||
if (!track || !viewport || !prevBtn || !nextBtn) return;
|
if (!track || !viewport || !prevBtn || !nextBtn) return;
|
||||||
@@ -518,9 +518,10 @@
|
|||||||
dotsContainer.innerHTML = '';
|
dotsContainer.innerHTML = '';
|
||||||
for (var i = 0; i < n; i++) {
|
for (var i = 0; i < n; i++) {
|
||||||
var btn = document.createElement('button');
|
var btn = document.createElement('button');
|
||||||
btn.className = 'slider-dot h-2.5 rounded-full transition-all duration-300 ' + (i === 0 ? 'bg-hmif-primary w-6' : 'bg-gray-200 w-2.5');
|
btn.className = 'slider-dot h-2.5 w-2.5 rounded-full transition-all duration-300 bg-gray-200 cursor-pointer';
|
||||||
|
if (i === 0) { btn.classList.remove('w-2.5', 'bg-gray-200'); btn.classList.add('w-6', 'bg-hmif-primary'); }
|
||||||
btn.setAttribute('data-index', String(i));
|
btn.setAttribute('data-index', String(i));
|
||||||
btn.setAttribute('aria-label', 'Slide ' + (i+1));
|
btn.setAttribute('aria-label', 'Slide ' + (i + 1));
|
||||||
(function (idx) { btn.addEventListener('click', function () { goTo(idx); startAuto(); }); })(i);
|
(function (idx) { btn.addEventListener('click', function () { goTo(idx); startAuto(); }); })(i);
|
||||||
dotsContainer.appendChild(btn);
|
dotsContainer.appendChild(btn);
|
||||||
}
|
}
|
||||||
|
|||||||
+974
-789
File diff suppressed because it is too large
Load Diff
@@ -45,3 +45,26 @@ body { font-family: "Roboto", Arial, sans-serif; color: var(--text-main); backgr
|
|||||||
.footer-inner { display: flex; align-items: center; justify-content: center; gap: .75rem; padding: 1rem 0; }
|
.footer-inner { display: flex; align-items: center; justify-content: center; gap: .75rem; padding: 1rem 0; }
|
||||||
.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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Generated
-1
@@ -917,7 +917,6 @@
|
|||||||
"integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
|
"integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peer": true,
|
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12"
|
"node": ">=12"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user