academy/resources/views/signup.blade.php

220 lines
5.5 KiB
PHP

@extends('layouts.blank')
@section('title', 'Student Registration')
@push('styles')
<style>
body {
background: #f5f7fb;
font-family: 'Arial', Helvetica, sans-serif;
}
.left-panel {
min-height: 100vh;
background: #f8f9fa;
}
.right-panel {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 40px;
}
.box {
width: 50%;
max-width: 520px;
background: #fff;
padding: 40px;
border-radius: 15px;
box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
}
.headline {
font-size: 28px;
color: #5E244E;
font-weight: 700;
font-family: Arial;
text-align: center;
margin-bottom: 30px;
}
/* .headline {
text-align: center;
margin-bottom: 30px;
font-weight: 700;
} */
.input-container {
position: relative;
margin-bottom: 25px;
}
.input-container input {
width: 100%;
border: none;
border-bottom: 2px solid #744a68;
padding: 12px 0 12px 5px;
outline: none;
background: transparent;
font-family: 'Arial', Helvetica, sans-serif;
}
.input-container label {
position: absolute;
left: 5px;
top: 12px;
color: #744a68;
transition: .3s ease all;
pointer-events: none;
background: transparent;
padding: 0 4px;
}
.input-container input:focus {
border-color: #744a68;
}
/* Reliable floating label mechanism via :placeholder-shown */
.input-container input:focus + label,
.input-container input:not(:placeholder-shown) + label {
top: -12px;
font-size: 12px;
color: #744a68;
background: #fff;
}
.btn-primary {
width: 100%;
padding: 12px;
font-weight: 600;
color: #fff;
background:#5E244E;
border: none;
margin-bottom:10px;
}
.dontacc {
text-align: center;
margin-top: 20px;
}
.dontacc a {
text-decoration: none;
font-weight: 600;
color: #5E244E;
}
@media(max-width: 991px) {
.left-panel {
display: none !important;
}
.box {
margin: 20px;
padding: 30px 20px;
}
}
</style>
@endpush
@section('content')
<div class="container-fluid">
<div class="row">
<!-- <div class="col-lg-6 d-none d-lg-flex justify-content-center align-items-center left-panel">
<div class="text-center">
<img src="{{ asset('images/login-banner.png') }}"
class="img-fluid mb-4"
style="max-width:450px;"
alt="Academy">
<h2 class="fw-bold">
Automobile Engineering Academy
</h2>
<p class="text-muted">
Create your student account to apply for courses and manage your enrolment.
</p>
</div>
</div> -->
<div class="col-lg-6 right-panel">
<div class="box">
<h2 class="headline">
Student Registration
</h2>
<form method="POST" action="/signuppage">
@csrf
<div class="input-container">
<input type="text" name="first_name" placeholder=" " required>
<label>First Name</label>
</div>
<div class="input-container">
<input type="text" name="last_name" placeholder=" " required>
<label>Last Name</label>
</div>
<div class="input-container">
<input type="email" name="email" placeholder=" " required>
<label>Email Address</label>
</div>
<div class="input-container">
<input type="text" name="phone" placeholder=" " required>
<label>Mobile Number</label>
</div>
<div class="input-container">
<input type="password" name="password" placeholder=" " required>
<label>Password</label>
</div>
<div class="input-container">
<input type="password" name="password_confirmation" placeholder=" " required>
<label>Confirm Password</label>
</div>
<div class="form-check mb-4" style="gap: 5px; padding-bottom: 10px;">
<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">
Create Account
</button>
<div class="dontacc">
<p class="mt-4 mb-1" >Already have an account?</p>
<a href="{{ url('/signin') }}">
Sign In
</a>
</div>
</form>
</div>
</div>
</div>
</div>
@endsection