97 lines
2.6 KiB
PHP
97 lines
2.6 KiB
PHP
<x-guest-layout>
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background: linear-gradient(135deg, #c2e9fb, #a1c4fd); /* gradasi biru pastel */
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.card-auth {
|
|
background-color: white;
|
|
padding: 2.5rem;
|
|
border-radius: 20px;
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
|
width: 100%;
|
|
max-width: 400px;
|
|
text-align: center;
|
|
}
|
|
|
|
.card-auth h1 {
|
|
margin-bottom: 1.5rem;
|
|
color: #1d4ed8;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.card-auth input {
|
|
width: 100%;
|
|
padding: 0.75rem;
|
|
margin-bottom: 1rem;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 10px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.card-auth input:focus {
|
|
outline: none;
|
|
border-color: #60a5fa;
|
|
box-shadow: 0 0 0 2px #bfdbfe;
|
|
}
|
|
|
|
.btn-auth {
|
|
background-color: #3b82f6;
|
|
color: white;
|
|
border: none;
|
|
padding: 0.75rem;
|
|
width: 100%;
|
|
border-radius: 10px;
|
|
font-weight: bold;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease-in-out;
|
|
}
|
|
|
|
.btn-auth:hover {
|
|
background-color: #2563eb;
|
|
}
|
|
|
|
.card-auth a {
|
|
color: #2563eb;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.card-auth a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.card-auth small {
|
|
display: block;
|
|
margin-top: 1rem;
|
|
color: #64748b;
|
|
}
|
|
</style>
|
|
|
|
<div class="card-auth">
|
|
<h1 class="font-bold">Daftar Akun Data Siswa</h1>
|
|
|
|
<form method="POST" action="{{ route('register') }}">
|
|
@csrf
|
|
|
|
<input type="text" name="name" placeholder="Nama Lengkap" required autofocus>
|
|
<input type="email" name="email" placeholder="Email" required>
|
|
<input type="password" name="password" placeholder="Password" required>
|
|
<input type="password" name="password_confirmation" placeholder="Konfirmasi Password" required>
|
|
|
|
<button class="btn-auth" type="submit">Daftar</button>
|
|
</form>
|
|
|
|
<small>
|
|
Sudah punya akun? <a href="{{ route('login') }}">Login di sini</a>
|
|
</small>
|
|
</div>
|
|
</x-guest-layout>
|