Update source into github
This commit is contained in:
@@ -0,0 +1,193 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Đăng ký & đăng nhập</title>
|
||||
|
||||
<!-- Font Icon -->
|
||||
<link rel="stylesheet" href="{{ asset('fonts/material-icon/css/material-design-iconic-font.min.css') }}">
|
||||
<link href="{{ asset('lib/toastr/toastr.css') }}" rel="stylesheet">
|
||||
<link href="{{ asset('css/app.css') }}" rel="stylesheet" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ asset('lib/fui-toast/fuiToast.min.css') }}">
|
||||
@livewireStyles
|
||||
<style>
|
||||
body {
|
||||
background-color: #F3F4F6;
|
||||
}
|
||||
|
||||
.main {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.container-box {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(12, minmax(0, 1fr));
|
||||
max-width: 1200px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
overflow: hidden;
|
||||
border-radius: 1rem;
|
||||
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.container-box {
|
||||
margin: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.left-panel {
|
||||
grid-column: span 6 / span 6;
|
||||
background-color: white;
|
||||
padding: 3rem 2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.right-panel {
|
||||
grid-column: span 6 / span 6;
|
||||
background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.image-overlay {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-size: cover;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.overlay {
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.form-container {
|
||||
max-width: 400px;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
width: 100%;
|
||||
padding: 0.75rem 1rem;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.25rem;
|
||||
border: 1px solid #D1D5DB;
|
||||
border-radius: 0.5rem;
|
||||
margin-bottom: 1rem;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
outline: none;
|
||||
border-color: var(--color-primary);
|
||||
box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
|
||||
}
|
||||
|
||||
.submit-btn {
|
||||
background-color: var(--color-primary);
|
||||
color: white;
|
||||
padding: 0.75rem 1.5rem;
|
||||
border-radius: 0.5rem;
|
||||
font-weight: 500;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
.submit-btn:hover {
|
||||
background-color: var(--color-primary-600);
|
||||
}
|
||||
|
||||
.strength-bars {
|
||||
display: flex;
|
||||
gap: 0.25rem;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.strength-bar {
|
||||
height: 4px;
|
||||
flex: 1;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
max-width: 150px;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.container-box {
|
||||
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.left-panel,
|
||||
.right-panel {
|
||||
grid-column: span 12 / span 12;
|
||||
}
|
||||
|
||||
.right-panel {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body class="font-averta">
|
||||
<!-- FUI Toast Container -->
|
||||
<div id="fui-toast"></div>
|
||||
|
||||
<x-falling-effect symbol="{{ setting('setting.icon_falling') }}" />
|
||||
|
||||
<div class="main bg-[var(--color-primary)]">
|
||||
<div class="container-box duration-300 ease-in-out mx-3">
|
||||
<!-- Left Panel - Registration Form -->
|
||||
<div class="left-panel" x-data="{ showRegister: false }" x-cloak>
|
||||
@include('frontend.auth.login')
|
||||
@include('frontend.auth.register')
|
||||
</div>
|
||||
|
||||
<!-- Right Panel - Image -->
|
||||
<div class="right-panel">
|
||||
<div class="overlay"></div>
|
||||
<div class="image-overlay"
|
||||
style="background-image: url('{{ setting('setting.banner') }}'); background-size: cover; background-repeat: no-repeat; background-position: center right;">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Scripts -->
|
||||
<script src="{{ asset('lib/toastr/toastr.min.js') }}"></script>
|
||||
@stack('viewScripts')
|
||||
|
||||
<script type="text/javascript" src="{{ asset('lib/fui-toast/fuiToast.min.js') }}"></script>
|
||||
@include('alerts')
|
||||
@livewireScripts
|
||||
@fluxScripts
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user