Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6e7a1d506c |
7
artikel.php
Normal file
7
artikel.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php require_once 'header.php'; ?>
|
||||
<main class="container py-5">
|
||||
<h1 class="text-center mb-5">Artikel & Tips</h1>
|
||||
<p class="text-center">Halaman ini akan berisi artikel dan panduan.</p>
|
||||
<!-- Placeholder for articles -->
|
||||
</main>
|
||||
<?php require_once 'footer.php'; ?>
|
||||
141
assets/css/custom.css
Normal file
141
assets/css/custom.css
Normal file
@ -0,0 +1,141 @@
|
||||
/* assets/css/custom.css */
|
||||
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Roboto:wght@400;500&display=swap');
|
||||
|
||||
:root {
|
||||
--navy-blue: #0A2342;
|
||||
--gold-accent: #FFB100;
|
||||
--dark-text: #212529;
|
||||
--light-gray-bg: #F8F9FA;
|
||||
--white: #FFFFFF;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
background-color: var(--white);
|
||||
color: var(--dark-text);
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6, .navbar-brand {
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-weight: 600;
|
||||
color: var(--navy-blue);
|
||||
}
|
||||
|
||||
.navbar {
|
||||
border-bottom: 1px solid var(--light-gray-bg);
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
font-weight: 700;
|
||||
color: var(--navy-blue) !important;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
color: var(--dark-text);
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.nav-link:hover, .nav-link.active {
|
||||
color: var(--gold-accent);
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background-color: var(--navy-blue);
|
||||
border-color: var(--navy-blue);
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background-color: #081c33; /* Darken navy */
|
||||
border-color: #081c33;
|
||||
}
|
||||
|
||||
.btn-gradient {
|
||||
background-image: linear-gradient(135deg, var(--navy-blue), var(--gold-accent));
|
||||
border: none;
|
||||
color: white;
|
||||
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.btn-gradient:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.hero-section {
|
||||
background: url('https://picsum.photos/seed/scholarmatch-hero/1600/900') no-repeat center center;
|
||||
background-size: cover;
|
||||
color: white;
|
||||
padding: 10rem 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.hero-section::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(10, 35, 66, 0.7); /* Navy overlay */
|
||||
}
|
||||
|
||||
.hero-section .container {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.hero-section h1, .hero-section p {
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-weight: 700;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.card {
|
||||
border: none;
|
||||
border-radius: 0.5rem;
|
||||
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
|
||||
transition: transform 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
|
||||
.card-title {
|
||||
color: var(--navy-blue);
|
||||
}
|
||||
|
||||
.testimonial-card img {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
border: 3px solid var(--gold-accent);
|
||||
}
|
||||
|
||||
footer {
|
||||
background-color: var(--navy-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
footer a {
|
||||
color: var(--gold-accent);
|
||||
}
|
||||
|
||||
.form-control:focus, .btn:focus {
|
||||
box-shadow: 0 0 0 0.25rem rgba(255, 177, 0, 0.4);
|
||||
border-color: var(--gold-accent);
|
||||
}
|
||||
|
||||
#kontak .fs-3 {
|
||||
color: var(--navy-blue);
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
#kontak .fs-3:hover {
|
||||
color: var(--gold-accent);
|
||||
}
|
||||
16
assets/js/main.js
Normal file
16
assets/js/main.js
Normal file
@ -0,0 +1,16 @@
|
||||
// assets/js/main.js
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
// Smooth scroll for anchor links
|
||||
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
||||
anchor.addEventListener('click', function (e) {
|
||||
e.preventDefault();
|
||||
const targetId = this.getAttribute('href');
|
||||
const targetElement = document.querySelector(targetId);
|
||||
if(targetElement) {
|
||||
targetElement.scrollIntoView({
|
||||
behavior: 'smooth'
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
81
beasiswa.php
Normal file
81
beasiswa.php
Normal file
@ -0,0 +1,81 @@
|
||||
<?php
|
||||
require_once 'db/config.php';
|
||||
require_once 'header.php';
|
||||
|
||||
try {
|
||||
$pdo = db();
|
||||
$stmt = $pdo->query("SELECT * FROM beasiswa ORDER BY deadline DESC");
|
||||
$beasiswa_list = $stmt->fetchAll();
|
||||
} catch (PDOException $e) {
|
||||
// For development, show error. In production, log it.
|
||||
error_log("Database error: " . $e->getMessage());
|
||||
$beasiswa_list = [];
|
||||
}
|
||||
?>
|
||||
|
||||
<main class="container py-5">
|
||||
<div class="row mb-4">
|
||||
<div class="col">
|
||||
<h1 class="text-center text-dark-blue">Daftar Beasiswa</h1>
|
||||
<p class="text-center text-muted">Temukan peluang beasiswa yang sesuai dengan minat dan kualifikasimu.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Filter Section -->
|
||||
<div class="row mb-5">
|
||||
<div class="col-md-4">
|
||||
<input type="text" class="form-control" placeholder="Cari beasiswa...">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<select class="form-select">
|
||||
<option selected>Semua Jenjang</option>
|
||||
<option value="sma">SMA/SMK</option>
|
||||
<option value="d3">D3</option>
|
||||
<option value="s1">S1</option>
|
||||
<option value="s2">S2</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<select class="form-select">
|
||||
<option selected>Urutkan Berdasarkan</option>
|
||||
<option value="deadline">Deadline Terdekat</option>
|
||||
<option value="terbaru">Paling Baru</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<button class="btn btn-primary w-100" style="background-color: #0D47A1;">Filter</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Scholarship Cards -->
|
||||
<div class="row row-cols-1 row-cols-md-2 row-cols-lg-3 g-4">
|
||||
<?php if (empty($beasiswa_list)): ?>
|
||||
<div class="col">
|
||||
<p class="text-center">Belum ada data beasiswa yang tersedia.</p>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<?php foreach ($beasiswa_list as $beasiswa): ?>
|
||||
<div class="col">
|
||||
<div class="card h-100 shadow-sm border-light">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title text-dark-blue"><?php echo htmlspecialchars($beasiswa['title']); ?></h5>
|
||||
<h6 class="card-subtitle mb-2 text-muted"><?php echo htmlspecialchars($beasiswa['organizer']); ?></h6>
|
||||
<p class="card-text small"><?php echo htmlspecialchars(substr($beasiswa['description'], 0, 100)) . '...'; ?></p>
|
||||
</div>
|
||||
<div class="card-footer bg-transparent border-top-0">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<span class="badge bg-<?php echo $beasiswa['status'] == 'Open' ? 'success' : 'danger'; ?>">
|
||||
<?php echo htmlspecialchars($beasiswa['status']); ?>
|
||||
</span>
|
||||
<small class="text-muted">Deadline: <?php echo date('d M Y', strtotime($beasiswa['deadline'])); ?></small>
|
||||
</div>
|
||||
<a href="<?php echo htmlspecialchars($beasiswa['link']); ?>" class="btn btn-outline-primary btn-sm mt-3 w-100" target="_blank">Lihat Detail</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<?php require_once 'footer.php'; ?>
|
||||
107
db/setup.php
Normal file
107
db/setup.php
Normal file
@ -0,0 +1,107 @@
|
||||
<?php
|
||||
require_once 'config.php';
|
||||
|
||||
try {
|
||||
$pdo = db();
|
||||
|
||||
// Create beasiswa table
|
||||
$pdo->exec("CREATE TABLE IF NOT EXISTS beasiswa (
|
||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
||||
title VARCHAR(255) NOT NULL,
|
||||
organizer VARCHAR(255) NOT NULL,
|
||||
description TEXT,
|
||||
deadline DATE,
|
||||
status ENUM('Open', 'Closed') DEFAULT 'Open',
|
||||
link VARCHAR(255),
|
||||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||
) ENGINE=INNODB;");
|
||||
|
||||
// Create lomba table
|
||||
$pdo->exec("CREATE TABLE IF NOT EXISTS lomba (
|
||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
||||
title VARCHAR(255) NOT NULL,
|
||||
organizer VARCHAR(255) NOT NULL,
|
||||
category VARCHAR(100),
|
||||
description TEXT,
|
||||
deadline DATE,
|
||||
link VARCHAR(255),
|
||||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||
) ENGINE=INNODB;");
|
||||
|
||||
// Create artikel table
|
||||
$pdo->exec("CREATE TABLE IF NOT EXISTS artikel (
|
||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
||||
title VARCHAR(255) NOT NULL,
|
||||
category VARCHAR(100),
|
||||
content TEXT,
|
||||
author VARCHAR(100),
|
||||
published_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||
) ENGINE=INNODB;");
|
||||
|
||||
// Seed Beasiswa
|
||||
$stmt = $pdo->prepare("INSERT INTO beasiswa (title, organizer, description, deadline, status, link) VALUES (?, ?, ?, ?, ?, ?) ON DUPLICATE KEY UPDATE title=title;");
|
||||
$stmt->execute([
|
||||
'Beasiswa Bank Indonesia (GenBI)',
|
||||
'Bank Indonesia',
|
||||
'Program beasiswa untuk mahasiswa S1 terpilih dari berbagai perguruan tinggi di Indonesia. Penerima akan menjadi anggota Generasi Baru Indonesia (GenBI).',
|
||||
'2025-10-15',
|
||||
'Open',
|
||||
'https://www.bi.go.id/id/bi-dan-publik/program-edukasi/default.aspx'
|
||||
]);
|
||||
$stmt->execute([
|
||||
'Beasiswa LPDP 2025 Tahap 2',
|
||||
'Lembaga Pengelola Dana Pendidikan',
|
||||
'Beasiswa penuh untuk jenjang S2 dan S3 di dalam dan luar negeri. Mencakup biaya pendidikan, biaya hidup, dan tunjangan lainnya.',
|
||||
'2025-09-30',
|
||||
'Open',
|
||||
'https://lpdp.kemenkeu.go.id/'
|
||||
]);
|
||||
$stmt->execute([
|
||||
'Beasiswa Kemitraan Negara Berkembang (KNB)',
|
||||
'Kemendikbudristek',
|
||||
'Beasiswa bagi mahasiswa internasional dari negara berkembang untuk belajar di universitas-universitas di Indonesia.',
|
||||
'2025-08-20',
|
||||
'Closed',
|
||||
'http://knb.kemdikbud.go.id/'
|
||||
]);
|
||||
|
||||
// Seed Lomba
|
||||
$stmt = $pdo->prepare("INSERT INTO lomba (title, organizer, category, description, deadline, link) VALUES (?, ?, ?, ?, ?, ?) ON DUPLICATE KEY UPDATE title=title;");
|
||||
$stmt->execute([
|
||||
'Lomba Desain UI/UX Nasional 2025',
|
||||
'Tech Innovators Community',
|
||||
'Desain',
|
||||
'Kompetisi desain antarmuka pengguna untuk aplikasi mobile dengan tema "Pendidikan Inklusif".',
|
||||
'2025-11-01',
|
||||
'#'
|
||||
]);
|
||||
$stmt->execute([
|
||||
'National Business Plan Competition',
|
||||
'Universitas Gadjah Mada',
|
||||
'Bisnis',
|
||||
'Ajang bagi mahasiswa untuk menyusun dan mempresentasikan rencana bisnis inovatif dan berkelanjutan.',
|
||||
'2025-10-25',
|
||||
'#'
|
||||
]);
|
||||
|
||||
// Seed Artikel
|
||||
$stmt = $pdo->prepare("INSERT INTO artikel (title, category, content, author) VALUES (?, ?, ?, ?) ON DUPLICATE KEY UPDATE title=title;");
|
||||
$stmt->execute([
|
||||
'5 Tips Jitu Menulis Motivation Letter Beasiswa',
|
||||
'Beasiswa',
|
||||
'Motivation letter adalah kunci... (isi konten lengkap di sini)',
|
||||
'Tim ScholarMatch'
|
||||
]);
|
||||
$stmt->execute([
|
||||
'Strategi Memenangkan Lomba Business Plan',
|
||||
'Kompetisi',
|
||||
'Untuk menang, ide Anda harus... (isi konten lengkap di sini)',
|
||||
'Mentor Ahli'
|
||||
]);
|
||||
|
||||
echo "Database setup and seeding completed successfully!";
|
||||
|
||||
} catch (PDOException $e) {
|
||||
die("Database error: " . $e->getMessage());
|
||||
}
|
||||
?>
|
||||
12
footer.php
Normal file
12
footer.php
Normal file
@ -0,0 +1,12 @@
|
||||
<!-- Footer -->
|
||||
<footer class="py-4 text-center">
|
||||
<div class="container">
|
||||
<p class="mb-0">© 2025 ScholarMatch. All Rights Reserved.</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- Scripts -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="assets/js/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
49
header.php
Normal file
49
header.php
Normal file
@ -0,0 +1,49 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="id">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<!-- SEO & Meta Tags -->
|
||||
<title>ScholarMatch - Info Beasiswa & Kompetisi Terbaru</title>
|
||||
<meta name="description" content="Pusat informasi beasiswa, lomba, dan kompetisi terbaru untuk pelajar dan mahasiswa. Temukan peluang terbaik untuk masa depanmu.">
|
||||
<meta name="keywords" content="beasiswa, kompetisi, lomba, pelajar, mahasiswa, informasi beasiswa, info lomba, beasiswa S1, beasiswa S2, dana pendidikan, pengembangan diri, karir">
|
||||
|
||||
<!-- Open Graph / Facebook -->
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="ScholarMatch - Info Beasiswa & Kompetisi Terbaru">
|
||||
<meta property="og:description" content="Pusat informasi beasiswa, lomba, dan kompetisi terbaru untuk pelajar dan mahasiswa.">
|
||||
<meta property="og:image" content="https://project-screens.s3.amazonaws.com/screenshots/34565/app-hero-20251001-155408.png">
|
||||
|
||||
<!-- Twitter -->
|
||||
<meta property="twitter:card" content="summary_large_image">
|
||||
<meta property="twitter:title" content="ScholarMatch - Info Beasiswa & Kompetisi Terbaru">
|
||||
<meta property="twitter:description" content="Pusat informasi beasiswa, lomba, dan kompetisi terbaru untuk pelajar dan mahasiswa.">
|
||||
<meta property="twitter:image" content="https://project-screens.s3.amazonaws.com/screenshots/34565/app-hero-20251001-155408.png">
|
||||
|
||||
<!-- Stylesheets -->
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">
|
||||
<link rel="stylesheet" href="assets/css/custom.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- Header -->
|
||||
<nav class="navbar navbar-expand-lg navbar-light bg-white shadow-sm sticky-top">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="index.php">ScholarMatch</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarNav">
|
||||
<ul class="navbar-nav ms-auto">
|
||||
<li class="nav-item"><a class="nav-link" href="index.php">Beranda</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="beasiswa.php">Beasiswa</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="lomba.php">Lomba & Kompetisi</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="artikel.php">Artikel & Tips</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="tentang.php">Tentang Kami</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="kontak.php">Kontak</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
237
index.php
237
index.php
@ -1,150 +1,89 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
@ini_set('display_errors', '1');
|
||||
@error_reporting(E_ALL);
|
||||
@date_default_timezone_set('UTC');
|
||||
<?php require_once 'header.php'; ?>
|
||||
|
||||
$phpVersion = PHP_VERSION;
|
||||
$now = date('Y-m-d H:i:s');
|
||||
?>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>New Style</title>
|
||||
<?php
|
||||
// Read project preview data from environment
|
||||
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? '';
|
||||
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
|
||||
?>
|
||||
<?php if ($projectDescription): ?>
|
||||
<!-- Meta description -->
|
||||
<meta name="description" content='<?= htmlspecialchars($projectDescription) ?>' />
|
||||
<!-- Open Graph meta tags -->
|
||||
<meta property="og:description" content="<?= htmlspecialchars($projectDescription) ?>" />
|
||||
<!-- Twitter meta tags -->
|
||||
<meta property="twitter:description" content="<?= htmlspecialchars($projectDescription) ?>" />
|
||||
<?php endif; ?>
|
||||
<?php if ($projectImageUrl): ?>
|
||||
<!-- Open Graph image -->
|
||||
<meta property="og:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
|
||||
<!-- Twitter image -->
|
||||
<meta property="twitter:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
|
||||
<?php endif; ?>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
:root {
|
||||
--bg-color-start: #6a11cb;
|
||||
--bg-color-end: #2575fc;
|
||||
--text-color: #ffffff;
|
||||
--card-bg-color: rgba(255, 255, 255, 0.01);
|
||||
--card-border-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Inter', sans-serif;
|
||||
background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end));
|
||||
color: var(--text-color);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
body::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M-10 10L110 10M10 -10L10 110" stroke-width="1" stroke="rgba(255,255,255,0.05)"/></svg>');
|
||||
animation: bg-pan 20s linear infinite;
|
||||
z-index: -1;
|
||||
}
|
||||
@keyframes bg-pan {
|
||||
0% { background-position: 0% 0%; }
|
||||
100% { background-position: 100% 100%; }
|
||||
}
|
||||
main {
|
||||
padding: 2rem;
|
||||
}
|
||||
.card {
|
||||
background: var(--card-bg-color);
|
||||
border: 1px solid var(--card-border-color);
|
||||
border-radius: 16px;
|
||||
padding: 2rem;
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.loader {
|
||||
margin: 1.25rem auto 1.25rem;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border: 3px solid rgba(255, 255, 255, 0.25);
|
||||
border-top-color: #fff;
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
@keyframes spin {
|
||||
from { transform: rotate(0deg); }
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
.hint {
|
||||
opacity: 0.9;
|
||||
}
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px; height: 1px;
|
||||
padding: 0; margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap; border: 0;
|
||||
}
|
||||
h1 {
|
||||
font-size: 3rem;
|
||||
font-weight: 700;
|
||||
margin: 0 0 1rem;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
p {
|
||||
margin: 0.5rem 0;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
code {
|
||||
background: rgba(0,0,0,0.2);
|
||||
padding: 2px 6px;
|
||||
border-radius: 4px;
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
||||
}
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 1rem;
|
||||
font-size: 0.8rem;
|
||||
opacity: 0.7;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<div class="card">
|
||||
<h1>Analyzing your requirements and generating your website…</h1>
|
||||
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes">
|
||||
<span class="sr-only">Loading…</span>
|
||||
</div>
|
||||
<p class="hint"><?= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.</p>
|
||||
<p class="hint">This page will update automatically as the plan is implemented.</p>
|
||||
<p>Runtime: PHP <code><?= htmlspecialchars($phpVersion) ?></code> — UTC <code><?= htmlspecialchars($now) ?></code></p>
|
||||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
Page updated: <?= htmlspecialchars($now) ?> (UTC)
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
<!-- Hero Section -->
|
||||
<header class="hero-section text-center">
|
||||
<div class="container">
|
||||
<h1 class="display-4 fw-bold">Temukan Peluang Emasmu</h1>
|
||||
<p class="lead my-4">Platform terpusat untuk semua informasi beasiswa, lomba, dan kompetisi. <br>Mulai perjalanan prestasimu bersama ScholarMatch.</p>
|
||||
<div class="col-lg-6 mx-auto">
|
||||
<div class="input-group mb-3">
|
||||
<input type="text" class="form-control form-control-lg" placeholder="Cari beasiswa atau lomba...">
|
||||
<button class="btn btn-lg btn-gradient" type="button">Cari</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<!-- Featured Scholarships Section -->
|
||||
<section id="beasiswa" class="py-5">
|
||||
<div class="container">
|
||||
<h2 class="text-center section-title">Beasiswa & Lomba Terbaru</h2>
|
||||
<div class="row">
|
||||
<!-- Card 1 -->
|
||||
<div class="col-md-4 mb-4">
|
||||
<div class="card h-100">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Beasiswa LPDP 2026</h5>
|
||||
<h6 class="card-subtitle mb-2 text-muted">Kemenkeu RI</h6>
|
||||
<p class="card-text">Beasiswa penuh untuk jenjang S2/S3 di dalam dan luar negeri.</p>
|
||||
<span class="badge bg-success">Open</span>
|
||||
</div>
|
||||
<div class="card-footer bg-transparent border-top-0">
|
||||
<small class="text-muted">Deadline: 30 Des 2025</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Card 2 -->
|
||||
<div class="col-md-4 mb-4">
|
||||
<div class="card h-100">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Lomba Desain Nasional</h5>
|
||||
<h6 class="card-subtitle mb-2 text-muted">Universitas ABC</h6>
|
||||
<p class="card-text">Kompetisi desain UI/UX untuk aplikasi mobile dengan tema pendidikan.</p>
|
||||
<span class="badge bg-success">Open</span>
|
||||
</div>
|
||||
<div class="card-footer bg-transparent border-top-0">
|
||||
<small class="text-muted">Deadline: 15 Nov 2025</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Card 3 -->
|
||||
<div class="col-md-4 mb-4">
|
||||
<div class="card h-100">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Beasiswa Bank Indonesia</h5>
|
||||
<h6 class="card-subtitle mb-2 text-muted">Bank Indonesia</h6>
|
||||
<p class="card-text">Bantuan biaya pendidikan dan tunjangan hidup untuk mahasiswa S1.</p>
|
||||
<span class="badge bg-danger">Closed</span>
|
||||
</div>
|
||||
<div class="card-footer bg-transparent border-top-0">
|
||||
<small class="text-muted">Deadline: 1 Okt 2025</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-center mt-4">
|
||||
<a href="beasiswa.php" class="btn btn-primary">Lihat Semua Beasiswa</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Testimonials Section -->
|
||||
<section id="testimoni" class="py-5 bg-light">
|
||||
<div class="container">
|
||||
<h2 class="text-center section-title">Apa Kata Mereka?</h2>
|
||||
<div class="row">
|
||||
<div class="col-md-6 mx-auto text-center testimonial-card">
|
||||
<img src="https://picsum.photos/seed/scholarmatch-user/200/200" class="rounded-circle mb-3" alt="Profile picture of a satisfied ScholarMatch user.">
|
||||
<p class="fst-italic">"Berkat ScholarMatch, saya berhasil mendapatkan beasiswa S2 ke luar negeri. Informasinya sangat lengkap dan up-to-date. Terima kasih banyak!"</p>
|
||||
<h5 class="mt-3">Andi Pratama</h5>
|
||||
<p class="text-muted">Penerima Beasiswa LPDP 2025</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
|
||||
<?php require_once 'footer.php'; ?>
|
||||
36
kontak.php
Normal file
36
kontak.php
Normal file
@ -0,0 +1,36 @@
|
||||
<?php require_once 'header.php'; ?>
|
||||
<main class="py-5">
|
||||
<section id="kontak" class="py-5 bg-white">
|
||||
<div class="container">
|
||||
<h2 class="text-center section-title">Hubungi Kami</h2>
|
||||
<div class="row">
|
||||
<div class="col-lg-8 mx-auto">
|
||||
<form>
|
||||
<div class="mb-3">
|
||||
<label for="name" class="form-label">Nama</label>
|
||||
<input type="text" class="form-control" id="name" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="email" class="form-label">Email</label>
|
||||
<input type="email" class="form-control" id="email" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="message" class="form-label">Pesan</label>
|
||||
<textarea class="form-control" id="message" rows="4" required></textarea>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<button type="submit" class="btn btn-gradient btn-lg">Kirim Pesan</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-center mt-5">
|
||||
<h3>Ikuti Kami</h3>
|
||||
<a href="#" class="fs-3 me-3"><i class="bi bi-instagram"></i></a>
|
||||
<a href="#" class="fs-3 me-3"><i class="bi bi-linkedin"></i></a>
|
||||
<a href="mailto:info@scholarmatch.com" class="fs-3"><i class="bi bi-envelope"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php require_once 'footer.php'; ?>
|
||||
7
lomba.php
Normal file
7
lomba.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php require_once 'header.php'; ?>
|
||||
<main class="container py-5">
|
||||
<h1 class="text-center mb-5">Daftar Lomba & Kompetisi</h1>
|
||||
<p class="text-center">Halaman ini akan berisi daftar lomba dan kompetisi dengan fitur filter dan sort.</p>
|
||||
<!-- Placeholder for competition list -->
|
||||
</main>
|
||||
<?php require_once 'footer.php'; ?>
|
||||
18
tentang.php
Normal file
18
tentang.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php require_once 'header.php'; ?>
|
||||
<main class="py-5">
|
||||
<section id="tentang" class="py-5 bg-white">
|
||||
<div class="container">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-6">
|
||||
<h2 class="section-title">Tentang ScholarMatch</h2>
|
||||
<p>ScholarMatch lahir dari sebuah mimpi sederhana: agar setiap pelajar dan mahasiswa di Indonesia memiliki akses yang sama terhadap informasi peluang. Kami percaya bahwa talenta terbaik bangsa tidak boleh terhambat hanya karena kurangnya informasi.</p>
|
||||
<p>Misi kami adalah menjadi jembatan antara penyedia beasiswa dan kompetisi dengan para pencari peluang yang ambisius dan berbakat.</p>
|
||||
</div>
|
||||
<div class="col-md-6 text-center">
|
||||
<img src="https://picsum.photos/seed/scholarmatch-about/800/600" class="img-fluid rounded shadow" alt="A student studying diligently in a modern library.">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php require_once 'footer.php'; ?>
|
||||
Loading…
x
Reference in New Issue
Block a user