246 lines
6.8 KiB
PHP
246 lines
6.8 KiB
PHP
@extends('layouts.blank')
|
|
|
|
@section('title', 'Student Registration')
|
|
|
|
@push('styles')
|
|
<style>
|
|
body {
|
|
background: #f5f7fb;
|
|
font-family: 'Segoe UI', Arial, sans-serif;
|
|
scale: 0.92;
|
|
}
|
|
|
|
/* LEFT PANEL (If active) */
|
|
.left-panel {
|
|
background: #5E244E;
|
|
color: white;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 40px;
|
|
}
|
|
|
|
/* RIGHT PANEL */
|
|
.right-panel {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 40px 20px;
|
|
}
|
|
|
|
/* REGISTRATION BOX */
|
|
.box {
|
|
width: 100%;
|
|
max-width: 500px;
|
|
background: #ffffff;
|
|
padding: 45px;
|
|
border-radius: 18px;
|
|
box-shadow: 0 15px 40px rgba(0,0,0,0.12);
|
|
}
|
|
|
|
/* TITLE */
|
|
.headline {
|
|
text-align: center;
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
color: #222;
|
|
margin-bottom: 35px;
|
|
}
|
|
|
|
/* MODERN INPUT WITH FLOATING LABELS */
|
|
.input-container {
|
|
position: relative;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.input-container input {
|
|
width: 100%;
|
|
height: 50px;
|
|
padding: 15px 0 5px 0;
|
|
border: none;
|
|
border-bottom: 2px solid #ddd;
|
|
background: transparent;
|
|
outline: none;
|
|
font-size: 16px;
|
|
color: #334155;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.input-container label {
|
|
position: absolute;
|
|
top: 15px;
|
|
left: 0;
|
|
color: #744a68;
|
|
transition: all 0.3s ease;
|
|
pointer-events: none;
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* Input Focus States */
|
|
.input-container input:focus {
|
|
border-bottom-color: #744a68;
|
|
}
|
|
|
|
/* Label Floating Effect */
|
|
.input-container input:focus + label,
|
|
.input-container input:not(:placeholder-shown) + label {
|
|
top: -10px;
|
|
font-size: 12px;
|
|
color: #744a68;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* CHECKBOX STYLE */
|
|
.form-check-input:checked {
|
|
background-color: #5E244E;
|
|
border-color: #5E244E;
|
|
}
|
|
|
|
.form-check-label {
|
|
color: #666;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* BUTTON */
|
|
.btn-primary {
|
|
height: 50px;
|
|
width: 100%;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
background: #5E244E;
|
|
border: none;
|
|
color: white;
|
|
transition: background 0.2s ease-in-out, transform 0.1s ease;
|
|
}
|
|
|
|
.btn-primary:hover, .btn-primary:focus {
|
|
background: #4a1c3e;
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
/* BOTTOM TEXT */
|
|
.dontacc {
|
|
text-align: center;
|
|
}
|
|
|
|
.dontacc p {
|
|
color: #666;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.dontacc a {
|
|
color: #744a68;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.dontacc a:hover {
|
|
text-decoration: underline;
|
|
color: #5E244E;
|
|
}
|
|
|
|
@media(max-width:991px) {
|
|
.right-panel {
|
|
min-height: 100vh;
|
|
padding: 20px;
|
|
}
|
|
|
|
.box {
|
|
padding: 30px;
|
|
}
|
|
|
|
.headline {
|
|
font-size: 28px;
|
|
color: #5E244E;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
</style>
|
|
@endpush
|
|
|
|
@section('content')
|
|
<div class="container-fluid">
|
|
<div class="row min-vh-100">
|
|
|
|
<div class="col-md-8 col-lg-5 mx-auto right-panel">
|
|
<div class="box">
|
|
<h2 class="headline">Student Registration</h2>
|
|
|
|
<form method="POST" action="{{ url('/signuppage') }}">
|
|
@csrf
|
|
|
|
<div class="input-container">
|
|
<input type="text" name="first_name" value="{{ old('first_name') }}" placeholder=" " required autocomplete="given-name">
|
|
<label>First Name</label>
|
|
@error('first_name')
|
|
<span class="d-block text-danger mt-1 small">{{ $message }}</span>
|
|
@enderror
|
|
</div>
|
|
|
|
<div class="input-container">
|
|
<input type="text" name="last_name" value="{{ old('last_name') }}" placeholder=" " required autocomplete="family-name">
|
|
<label>Last Name</label>
|
|
@error('last_name')
|
|
<span class="d-block text-danger mt-1 small">{{ $message }}</span>
|
|
@enderror
|
|
</div>
|
|
|
|
<div class="input-container">
|
|
<input type="email" name="email" value="{{ old('email') }}" placeholder=" " required autocomplete="email">
|
|
<label>Email Address</label>
|
|
@error('email')
|
|
<span class="d-block text-danger mt-1 small">{{ $message }}</span>
|
|
@enderror
|
|
</div>
|
|
|
|
<div class="input-container">
|
|
<input type="text" name="phone" value="{{ old('phone') }}" placeholder=" " required autocomplete="tel">
|
|
<label>Mobile Number</label>
|
|
@error('phone')
|
|
<span class="d-block text-danger mt-1 small">{{ $message }}</span>
|
|
@enderror
|
|
</div>
|
|
|
|
<div class="input-container">
|
|
<input type="password" name="password" placeholder=" " required autocomplete="new-password">
|
|
<label>Password</label>
|
|
@error('password')
|
|
<span class="d-block text-danger mt-1 small">{{ $message }}</span>
|
|
@enderror
|
|
</div>
|
|
|
|
<div class="input-container">
|
|
<input type="password" name="password_confirmation" placeholder=" " required autocomplete="new-password">
|
|
<label>Confirm Password</label>
|
|
</div>
|
|
|
|
<div class="form-check mb-4 d-flex align-items-center gap-2">
|
|
<input class="form-check-input" type="checkbox" id="agree" required>
|
|
<label class="form-check-label" for="agree">
|
|
I agree to the Terms & Conditions
|
|
</label>
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-primary mb-4">
|
|
Create Account
|
|
</button>
|
|
|
|
<div class="dontacc">
|
|
<p class="mb-1">Already have an account? <a href="{{ url('/signin') }}" class="ms-1">Sign In</a></p>
|
|
</div>
|
|
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
@endsection |