update login & register

This commit is contained in:
2026-07-09 18:14:12 +07:00
parent bfabab96c5
commit 316b256ae0
2 changed files with 111 additions and 117 deletions
+104 -110
View File
@@ -4,141 +4,135 @@
<div class="card-body">
<!-- Logo -->
<div class="app-brand justify-content-center mb-6">
<a href="{{ route('home') }}" class="app-brand-link">
<span class="app-brand-logo demo">
<span class="text-primary">
<svg width="32" height="24" viewBox="0 0 32 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<!-- Daun Kiri (Hijau transparan) -->
<path opacity="0.3"
d="M16 2.5C16 2.5 5 6.5 5 15.5C5 20.5 11 23.5 16 23.5V2.5Z"
fill="#2E7D32" />
<a href="{{ route('home') }}" class="app-brand-link">
<span class="app-brand-logo demo">
<span class="text-primary">
<svg width="32" height="24" viewBox="0 0 32 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path opacity="0.3"
d="M16 2.5C16 2.5 5 6.5 5 15.5C5 20.5 11 23.5 16 23.5V2.5Z"
fill="#2E7D32" />
<!-- Daun Kanan (Hijau lebih solid) -->
<path opacity="0.6"
d="M16 2.5C16 2.5 27 6.5 27 15.5C27 20.5 21 23.5 16 23.5V2.5Z"
fill="#2E7D32" />
<path opacity="0.6"
d="M16 2.5C16 2.5 27 6.5 27 15.5C27 20.5 21 23.5 16 23.5V2.5Z"
fill="#2E7D32" />
<!-- Grafik Biru (bawah → tengah) -->
<path d="M2 19L10 11L15 15"
stroke="#0054A6"
stroke-width="2.5"
stroke-linecap="round"
stroke-linejoin="round" />
<path d="M2 19L10 11L15 15"
stroke="#0054A6"
stroke-width="2.5"
stroke-linecap="round"
stroke-linejoin="round" />
<!-- Grafik Merah (tengah → atas) -->
<path d="M15 15L27 4"
stroke="#ED1C24"
stroke-width="2.5"
stroke-linecap="round"
stroke-linejoin="round" />
<path d="M15 15L27 4"
stroke="#ED1C24"
stroke-width="2.5"
stroke-linecap="round"
stroke-linejoin="round" />
<!-- Titik target -->
<circle cx="27" cy="4" r="2.5" fill="#ED1C24" />
</svg>
<circle cx="27" cy="4" r="2.5" fill="#ED1C24" />
</svg>
</span>
</span>
</span>
<span class="app-brand-text demo menu-text fw-bold ms-3" style="text-transform: capitalize;">
AgroMonev
</span>
</a>
<span class="app-brand-text demo menu-text fw-bold ms-3" style="text-transform: capitalize;">
AgroMonev
</span>
</a>
</div>
<!-- /Logo -->
<h4 class="mb-1">Adventure starts here 🚀</h4>
<p class="mb-6">Make your app management easy and fun!</p>
<h4 class="mb-1">Buat akun AgroMonev</h4>
<p class="mb-6">Lengkapi data berikut untuk membuat akun baru.</p>
<form id="formAuthentication" class="mb-6" action="{{ route('auth.createAccount') }}" method="POST">
@csrf
<div class="mb-6 form-control-validation">
<label for="username" class="form-label">Username</label>
<input
type="text"
class="form-control"
id="username"
name="username"
value="{{ old('username') }}"
placeholder="Enter your username"
autofocus />
@error('username')
<div class="invalid-feedback d-block">{{ $message }}</div>
@enderror
</div>
<div class="mb-6 form-control-validation">
<label for="email" class="form-label">Email</label>
<input type="text" class="form-control" id="email" name="email" value="{{ old('email') }}" placeholder="Enter your email" />
@error('email')
<div class="invalid-feedback d-block">{{ $message }}</div>
@enderror
</div>
<div class="mb-6 form-password-toggle form-control-validation">
<label class="form-label" for="password">Password</label>
<div class="input-group input-group-merge">
<input
type="password"
id="password"
class="form-control"
name="password"
placeholder="&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;"
aria-describedby="password" />
<span class="input-group-text cursor-pointer"><i class="icon-base ti tabler-eye-off"></i></span>
@csrf
<div class="mb-6 form-control-validation">
<label for="username" class="form-label">Nama Pengguna</label>
<input
type="text"
class="form-control"
id="username"
name="username"
value="{{ old('username') }}"
placeholder="Masukkan nama pengguna"
autofocus />
@error('username')
<div class="invalid-feedback d-block">{{ $message }}</div>
@enderror
</div>
@error('password')
<div class="invalid-feedback d-block">{{ $message }}</div>
@enderror
</div>
<div class="mb-6 form-password-toggle form-control-validation">
<label class="form-label" for="password_confirmation">Confirm Password</label>
<div class="input-group input-group-merge">
<input
type="password"
id="password_confirmation"
class="form-control"
name="password_confirmation"
placeholder="&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;"
aria-describedby="password_confirmation" />
<span class="input-group-text cursor-pointer"><i class="icon-base ti tabler-eye-off"></i></span>
<div class="mb-6 form-control-validation">
<label for="email" class="form-label">Email</label>
<input type="text" class="form-control" id="email" name="email" value="{{ old('email') }}" placeholder="Masukkan email" />
@error('email')
<div class="invalid-feedback d-block">{{ $message }}</div>
@enderror
</div>
</div>
<div class="my-8 form-control-validation">
<div class="form-check mb-0 ms-2">
<input class="form-check-input" type="checkbox" id="terms-conditions" name="terms" />
<label class="form-check-label" for="terms-conditions">
I agree to
<a href="javascript:void(0);">privacy policy & terms</a>
</label>
<div class="mb-6 form-password-toggle form-control-validation">
<label class="form-label" for="password">Kata Sandi</label>
<div class="input-group input-group-merge">
<input
type="password"
id="password"
class="form-control"
name="password"
placeholder="&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;"
aria-describedby="password" />
<span class="input-group-text cursor-pointer"><i class="icon-base ti tabler-eye-off"></i></span>
</div>
@error('password')
<div class="invalid-feedback d-block">{{ $message }}</div>
@enderror
</div>
</div>
<button type="submit" class="btn btn-primary d-grid w-100">Sign up</button>
<div class="mb-6 form-password-toggle form-control-validation">
<label class="form-label" for="password_confirmation">Konfirmasi Kata Sandi</label>
<div class="input-group input-group-merge">
<input
type="password"
id="password_confirmation"
class="form-control"
name="password_confirmation"
placeholder="&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;"
aria-describedby="password_confirmation" />
<span class="input-group-text cursor-pointer"><i class="icon-base ti tabler-eye-off"></i></span>
</div>
</div>
<div class="my-8 form-control-validation">
<div class="form-check mb-0 ms-2">
<input class="form-check-input" type="checkbox" id="terms-conditions" name="terms" />
<label class="form-check-label" for="terms-conditions">
Saya menyetujui
<a href="javascript:void(0);">kebijakan privasi dan ketentuan layanan</a>
</label>
</div>
</div>
<button type="submit" class="btn btn-primary d-grid w-100">Daftar</button>
</form>
<p class="text-center">
<span>Already have an account?</span>
<a href="{{ route('login') }}">
<span>Sign in instead</span>
</a>
<span>Sudah memiliki akun?</span>
<a href="{{ route('login') }}">
<span>Masuk di sini</span>
</a>
</p>
<div class="divider my-6">
<div class="divider-text">or</div>
<div class="divider-text">atau</div>
</div>
<div class="d-flex justify-content-center">
<a href="javascript:;" class="btn btn-icon rounded-circle btn-text-facebook me-1_5">
<i class="icon-base ti tabler-brand-facebook-filled icon-20px"></i>
</a>
<a href="javascript:;" class="btn btn-icon rounded-circle btn-text-facebook me-1_5">
<i class="icon-base ti tabler-brand-facebook-filled icon-20px"></i>
</a>
<a href="javascript:;" class="btn btn-icon rounded-circle btn-text-twitter me-1_5">
<i class="icon-base ti tabler-brand-twitter-filled icon-20px"></i>
</a>
<a href="javascript:;" class="btn btn-icon rounded-circle btn-text-twitter me-1_5">
<i class="icon-base ti tabler-brand-twitter-filled icon-20px"></i>
</a>
<a href="javascript:;" class="btn btn-icon rounded-circle btn-text-github me-1_5">
<i class="icon-base ti tabler-brand-github-filled icon-20px"></i>
</a>
<a href="javascript:;" class="btn btn-icon rounded-circle btn-text-github me-1_5">
<i class="icon-base ti tabler-brand-github-filled icon-20px"></i>
</a>
<a href="javascript:;" class="btn btn-icon rounded-circle btn-text-google-plus">
<i class="icon-base ti tabler-brand-google-filled icon-20px"></i>
</a>
<a href="javascript:;" class="btn btn-icon rounded-circle btn-text-google-plus">
<i class="icon-base ti tabler-brand-google-filled icon-20px"></i>
</a>
</div>
</div>
</div>