217 lines
7.1 KiB
PHP
217 lines
7.1 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="id">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>@yield('title', 'SPK BLT-DD') — Desa Pungging</title>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css" rel="stylesheet">
|
|
<style>
|
|
:root {
|
|
--green-primary: #2d7a4f;
|
|
--green-dark: #1a5c38;
|
|
--green-light: #e8f5ee;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', sans-serif;
|
|
background: #f8faf9;
|
|
}
|
|
|
|
/* NAVBAR */
|
|
.navbar-publik {
|
|
background: #fff;
|
|
border-bottom: 2px solid var(--green-light);
|
|
padding: 10px 0;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
.navbar-publik .brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.navbar-publik .brand img {
|
|
height: 40px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.navbar-publik .brand .brand-text {
|
|
font-weight: 700;
|
|
font-size: 0.95rem;
|
|
color: #1a3c2e;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.navbar-publik .brand .brand-sub {
|
|
font-size: 0.72rem;
|
|
color: #6b7280;
|
|
}
|
|
|
|
.navbar-publik .nav-links a {
|
|
color: #374151;
|
|
text-decoration: none;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
padding: 6px 14px;
|
|
border-radius: 8px;
|
|
transition: all 0.18s;
|
|
}
|
|
|
|
.navbar-publik .nav-links a:hover,
|
|
.navbar-publik .nav-links a.active {
|
|
background: var(--green-light);
|
|
color: var(--green-primary);
|
|
}
|
|
|
|
.navbar-publik .btn-login {
|
|
background: var(--green-primary);
|
|
color: #fff !important;
|
|
padding: 7px 18px !important;
|
|
border-radius: 8px !important;
|
|
}
|
|
|
|
.navbar-publik .btn-login:hover {
|
|
background: var(--green-dark) !important;
|
|
}
|
|
|
|
/* FOOTER */
|
|
.footer-publik {
|
|
background: #1a3c2e;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
padding: 32px 0 16px;
|
|
margin-top: 60px;
|
|
}
|
|
|
|
.footer-publik h6 {
|
|
color: #fff;
|
|
font-weight: 700;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.footer-publik a {
|
|
color: rgba(255, 255, 255, 0.65);
|
|
text-decoration: none;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.footer-publik a:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
.footer-copy {
|
|
border-top: 1px solid rgba(255, 255, 255, 0.12);
|
|
padding-top: 14px;
|
|
margin-top: 20px;
|
|
text-align: center;
|
|
font-size: 0.78rem;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
}
|
|
|
|
/* GLOBAL */
|
|
.btn-primary {
|
|
background: var(--green-primary) !important;
|
|
border-color: var(--green-primary) !important;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: var(--green-dark) !important;
|
|
border-color: var(--green-dark) !important;
|
|
}
|
|
|
|
.text-green {
|
|
color: var(--green-primary) !important;
|
|
}
|
|
|
|
.bg-green-light {
|
|
background: var(--green-light) !important;
|
|
}
|
|
|
|
.card {
|
|
border: none;
|
|
border-radius: 12px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
|
|
}
|
|
</style>
|
|
@stack('styles')
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{{-- NAVBAR --}}
|
|
<nav class="navbar-publik">
|
|
<div class="container d-flex align-items-center justify-content-between">
|
|
<a href="{{ route('publik.index') }}" class="brand">
|
|
<img src="/images/logo-kab.png" alt="Logo">
|
|
<div>
|
|
<div class="brand-text">SPK BLT-DD</div>
|
|
<div class="brand-sub">Desa Pungging, Kab. Mojokerto</div>
|
|
</div>
|
|
</a>
|
|
<div class="nav-links d-flex align-items-center gap-1">
|
|
<a href="{{ route('publik.index') }}" class="{{ request()->routeIs('publik.index') ? 'active' : '' }}">
|
|
<i class="bi bi-house me-1"></i>Beranda
|
|
</a>
|
|
<a href="{{ route('publik.penerima') }}" class="{{ request()->routeIs('publik.penerima') ? 'active' : '' }}">
|
|
<i class="bi bi-people me-1"></i>Penerima BLT
|
|
</a>
|
|
<a href="{{ route('publik.peta') }}" class="{{ request()->routeIs('publik.peta') ? 'active' : '' }}">
|
|
<i class="bi bi-geo-alt me-1"></i>Peta
|
|
</a>
|
|
<a href="{{ route('login') }}" class="btn-login ms-2">
|
|
<i class="bi bi-lock me-1"></i>Login Admin
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
{{-- CONTENT --}}
|
|
@yield('content')
|
|
|
|
{{-- FOOTER --}}
|
|
<footer class="footer-publik">
|
|
<div class="container">
|
|
<div class="row g-4">
|
|
<div class="col-md-4">
|
|
<div class="d-flex align-items-center gap-2 mb-3">
|
|
<img src="/images/logo-kab.png" alt="Logo" style="height:38px;filter:brightness(0) invert(1);">
|
|
<div>
|
|
<h6 class="mb-0">SPK BLT-DD</h6>
|
|
<small style="color:rgba(255,255,255,0.5);">Desa Pungging</small>
|
|
</div>
|
|
</div>
|
|
<p style="font-size:0.82rem;">Sistem Pendukung Keputusan Penerima BLT Dana Desa berbasis metode Simple Additive Weighting (SAW).</p>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<h6>Menu</h6>
|
|
<div class="d-flex flex-column gap-1">
|
|
<a href="{{ route('publik.index') }}"><i class="bi bi-chevron-right me-1"></i>Beranda</a>
|
|
<a href="{{ route('publik.penerima') }}"><i class="bi bi-chevron-right me-1"></i>Daftar Penerima</a>
|
|
<a href="{{ route('publik.peta') }}"><i class="bi bi-chevron-right me-1"></i>Peta Distribusi</a>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<h6>Kontak</h6>
|
|
<p style="font-size:0.82rem;">
|
|
<i class="bi bi-geo-alt me-2"></i>Desa Pungging, Kec. Pungging<br>
|
|
<i class="bi bi-building me-2"></i>Kabupaten Mojokerto, Jawa Timur
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="footer-copy">
|
|
© {{ date('Y') }} Desa Pungging, Kabupaten Mojokerto. Sistem Pendukung Keputusan BLT-DD.
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
|
@stack('scripts')
|
|
</body>
|
|
|
|
</html> |