Skip to content

Commit

Permalink
Merge pull request #16 from FarrelAD/dev/stevan
Browse files Browse the repository at this point in the history
menambahkan style pada seluruh halaman mockup home
  • Loading branch information
FarrelAD authored Nov 16, 2024
2 parents 0d94121 + 580202c commit ba2efbc
Show file tree
Hide file tree
Showing 7 changed files with 115 additions and 49 deletions.
22 changes: 14 additions & 8 deletions app/views/components/navbar.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
<nav class="navbar fixed-top navbar-expand-lg bg-body-tertiary">
<nav class="navbar fixed-top navbar-expand-lg bg-body-tertiary shadow-sm p-3 mb-5 bg-body-tertiary">
<div class="container-fluid">
<a class="navbar-brand" href="/">FINALIS JTI</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse navbar-nav d-flex justify-content-between" id="navbarNav">
<div class="d-flex">
<a class="nav-item nav-link active" href="/#tentang">Tentang</a>
<a class="nav-item nav-link" href="/#panduan">Panduan</a>
<a class="nav-item nav-link" href="/kontak">Kontak</a>
</div>
<a href="/login" type="button" class="btn btn-primary">Masuk</a>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" href="/#tentang">Tentang</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/#panduan">Panduan</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/kontak">Kontak</a>
</li>
</ul>
<a href="/login" type="button" class="btn text-white" style="background-color: #052C65;">Masuk</a>
</div>
</div>
</nav>
98 changes: 74 additions & 24 deletions app/views/index.php

Large diffs are not rendered by default.

21 changes: 12 additions & 9 deletions app/views/pages/contact.php
Original file line number Diff line number Diff line change
@@ -1,29 +1,32 @@
<?php include __DIR__ . '/../components/navbar.php' ?>
<main class="container d-flex flex-column justify-content-center align-items-center min-vh-100">
<h1 class="text-center">Hubungi Kami Melalui Formulir Berikut</h1>
<main class="d-flex flex-column justify-content-center align-items-center min-vh-100"
style="background-color: rgba(196, 217, 255, 0.18);">
<h2 class="text-center mt-5 mb-5 fw-bold" style="color: #052C65;">Hubungi kami melalui formulir berikut</h2>
<form class="w-50">
<div class="mb-3 d-flex">
<div class="w-50">
<div class="w-50 px-4">
<label for="nama" class="form-label">Nama</label>
<input type="text" class="form-control" id="nama">
</div>
<div class="w-50">
<div class="w-50 px-4">
<label for="nomor_hp" class="form-label">Nomor HP</label>
<input type="tel" class="form-control" id="nomor_hp">
</div>
</div>
<div class="mb-3 d-flex">
<div class="w-50">
<div class="w-50 px-4">
<label for="email" class="form-label">Email</label>
<input type="email" class="form-control" id="email">
</div>
<div class="w-50">
<div class="w-50 px-4">
<label for="subjek" class="form-label">Subjek</label>
<input type="text" class="form-control" id="subjek">
</div>
</div>
<label for="input-pesan">Pesan</label>
<textarea class="form-control" style="resize: none" id="input-pesan"></textarea>
<button type="submit" class="btn btn-primary">Kirim</button>
<div class="px-4">
<label for="input-pesan" class="mt-4 mb-2">Pesan</label>
<textarea class="form-control" style="resize: none; height: 100px;" id="input-pesan"></textarea>
<button type="submit" class="btn text-white mt-3" style="background-color: #052C65;">Kirim</button>
</div>
</form>
</main>
17 changes: 9 additions & 8 deletions app/views/pages/login.php
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
<?php include __DIR__ . '/../components/navbar.php' ?>
<main class="container d-flex flex-column justify-content-center align-items-center min-vh-100">
<div class="border p-5 w-50 border-black">
<h3 class="text-center">SIBT TA<br>POLINEMA</h3>
<form class="d-flex flex-column align-items-center" method="post" action="/auth">
<div class="w-75">
<label for="no_induk" class="form-label">NIP/NIDN/No. Pegawai</label>
<div class="mt-5 p-5 w-50 shadow" style="background-color: rgba(196, 217, 255, 0.18);">
<h1 class="text-center mt-4 mb-5 fw-bold" style="color: #052C65;">FINALIS JTI</h1>
<form class="d-flex flex-column align-items-center rounded-4" method="post" action="/auth">
<div class="w-75 mt-5">
<label for="no_induk" class="form-label">ID Pengguna</label>
<input type="text" id="no_induk" class="form-control" name="user_id">
</div>
<div class="w-75">

<div class="w-75 mt-3">
<label for="password" class="form-label">Kata Sandi</label>
<input type="password" class="form-control" id="password" name="password">
</div>
<div class="d-flex justify-content-end w-75">
<a href="" class="text-black">Lupa kata sandi</a>
<a href="" class="mt-1 text-black">Lupa kata sandi</a>
</div>
<button type="submit" class="btn btn-primary">Masuk</button>
<button type="submit" class="w-25 mt-5 btn text-white" style="background-color: #052C65;">Masuk</button>
</form>
</div>
</main>
6 changes: 6 additions & 0 deletions app/views/templates/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
<title><?= $data['title'] ?></title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource/reddit-sans@5.1.0/index.min.css">
<style>
*{
font-family: 'Reddit Sans';
}
</style>
</head>

<body>
Binary file added public/assets/img/hero-section-home-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file removed public/assets/img/img.img
Empty file.

0 comments on commit ba2efbc

Please sign in to comment.