first commit
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="id">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>{{ $title }} | {{ config('app.name') }}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<link rel="shortcut icon" href="{{ asset('assets/images/logo-untan.png') }}">
|
||||
<link href="{{ asset('assets/css/icons.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('assets/css/app.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
@yield('css')
|
||||
<style>
|
||||
body {
|
||||
font-family: "Inter", sans-serif;
|
||||
background-color: #f4f6f9;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.action-wrapper {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.action-header {
|
||||
background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1d4ed8 100%);
|
||||
padding: 16px 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.action-header img {
|
||||
height: 40px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.action-header .app-name {
|
||||
color: #fff;
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.action-content {
|
||||
flex: 1;
|
||||
padding: 24px 16px;
|
||||
max-width: 720px;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.action-footer {
|
||||
text-align: center;
|
||||
padding: 16px;
|
||||
font-size: 0.8rem;
|
||||
color: #8a9ab0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="action-wrapper">
|
||||
<div class="action-header">
|
||||
<img src="{{ asset('assets/images/logo-untan.png') }}" alt="Logo">
|
||||
<p class="app-name">{{ config('app.name') }}</p>
|
||||
</div>
|
||||
|
||||
<div class="action-content">
|
||||
@if (session('error'))
|
||||
<div class="alert alert-danger alert-dismissible fade show mb-3" role="alert">
|
||||
{{ session('error') }}
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@yield('content')
|
||||
</div>
|
||||
|
||||
<div class="action-footer">
|
||||
© {{ date('Y') }} {{ config('app.name') }}. All rights reserved.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="{{ asset('assets/js/vendor.min.js') }}"></script>
|
||||
<script src="{{ asset('assets/js/app.min.js') }}"></script>
|
||||
@yield('js')
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user