first commit
This commit is contained in:
73
resources/views/utama.blade.php
Normal file
73
resources/views/utama.blade.php
Normal file
@@ -0,0 +1,73 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ms">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>LESEN PENJAJA</title>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body class="bg-light">
|
||||
|
||||
<div class="container py-5">
|
||||
<h1 class="text-center mb-4">SMART PENJAJA</h1>
|
||||
<h3 class="text-center mb-4">MAJLIS BANDARAYA ISKANDAR PUTERI</h3>
|
||||
|
||||
<div class="row">
|
||||
<!-- Login Form -->
|
||||
<div class="col-md-4">
|
||||
<div class="card shadow-sm">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Log Masuk</h5>
|
||||
|
||||
<form method="POST" action="{{ route('login') }}">
|
||||
@csrf
|
||||
<div class="mb-3">
|
||||
<label for="nokp" class="form-label">No Kad Pengenalan</label>
|
||||
<input type="nokp" class="form-control" name="nokp" required autofocus>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="password" class="form-label">Katalaluan</label>
|
||||
<input type="password" class="form-control" name="password" required>
|
||||
</div>
|
||||
<div class="d-grid">
|
||||
<button type="submit" class="btn btn-primary">Log Masuk</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div class="mt-3 text-center">
|
||||
<a href="{{ route('register') }}">Daftar Akaun Baru</a><br>
|
||||
<a href="{{ route('password.request') }}">Lupa Katalaluan?</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Carousel -->
|
||||
<div class="col-md-8 mb-4">
|
||||
@php
|
||||
$carousels = \App\Models\GambarCarousel::aktif()->get();
|
||||
@endphp
|
||||
|
||||
<x-carousel :carousels="$carousels" />
|
||||
</div>
|
||||
@php
|
||||
$pengumumanAktif = \App\Models\Pengumuman::aktif()->get();
|
||||
@endphp
|
||||
@if ($pengumumanAktif?->count())
|
||||
<!-- News Section -->
|
||||
<div class="row mt-2">
|
||||
<div class="col-12">
|
||||
<h4>Berita & Pengumuman</h4>
|
||||
<ul class="list-group shadow-sm">
|
||||
@foreach ($pengumumanAktif as $p)
|
||||
<li class="list-group-item">📢 {{ $p->keterangan }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user