Files
sibedas/resources/views/auth/signin.blade.php
2025-01-16 17:16:14 +07:00

66 lines
3.4 KiB
PHP
Executable File

@extends('layouts.base', ['subtitle' => 'Sign In'])
@section('body-attribuet')
class="authentication-bg"
@endsection
@section('content')
<div class="account-pages py-5">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6 col-lg-5">
<div class="card border-0 shadow-lg">
<div class="card-body p-5">
<div class="text-center">
<div class="mx-auto mb-4 text-center auth-logo">
<a href="{{ route('any', 'index') }}" class="logo-dark">
<img src="/images/logo-dark.png" height="32" alt="logo dark">
</a>
<a href="{{ route('any', 'index') }}" class="logo-light">
<img src="/images/logo-light.png" height="28" alt="logo light">
</a>
</div>
<h4 class="fw-bold text-dark mb-2">Welcome Back!</h3>
<p class="text-muted">Sign in to your account to continue</p>
</div>
<form method="POST" action="{{ route('login') }}" class="mt-4">
@csrf
@if (sizeof($errors) > 0)
@foreach ($errors->all() as $error)
<p class="text-red-600 mb-3">{{ $error }}</p>
@endforeach
@endif
<div class="mb-3">
<label for="email" class="form-label">Email Address</label>
<input type="email" class="form-control" id="email" name="email" value="user@demo.com" placeholder="Enter your email">
</div>
<div class="mb-3">
<div class="d-flex justify-content-between align-items-center">
<label for="password" class="form-label">Password</label>
<a href="{{ route ('second' , ['auth','password']) }}" class="text-decoration-none small text-muted">Forgot password?</a>
</div>
<input type="password" class="form-control" id="password" name="password" value="password" placeholder="Enter your password">
</div>
<div class="form-check mb-3">
<input type="checkbox" class="form-check-input" id="remember-me">
<label class="form-check-label" for="remember-me">Remember me</label>
</div>
<div class="d-grid">
<button class="btn btn-dark btn-lg fw-medium" type="submit">Sign In</button>
</div>
</form>
</div>
</div>
<p class="text-center mt-4 text-white text-opacity-50">Don't have an account?
<a href="{{ route ('second' , ['auth','signup']) }}" class="text-decoration-none text-white fw-bold">Sign Up</a>
</p>
</div>
</div>
</div>
</div>
@endsection