feat: inisialisasi project kit v2

This commit is contained in:
2026-05-21 15:57:29 +07:00
commit d4fd478e1f
271 changed files with 35300 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
@extends('errors.layout')
@section('title', '403 — Access Forbidden')
@section('code', '403')
@section('badge-label', 'Access Denied')
@section('dot-color', '#EF4444')
@section('icon-bg', '#FEF2F2')
@section('icon-color', '#EF4444')
@section('icon')
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z" />
</svg>
@endsection
@section('heading', 'Access Forbidden')
@section('description', "You don't have the required permissions to access this resource. Contact your administrator if you believe this is a mistake.")
@section('actions')
<a href="{{ url('/dashboard') }}" class="btn-primary">
<svg width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="3">
<path stroke-linecap="round" stroke-linejoin="round" d="M10 19l-7-7m0 0l7-7m-7 7h18" />
</svg>
Back to Dashboard
</a>
<a href="javascript:history.back()" class="btn-secondary">Go Back</a>
@endsection
+27
View File
@@ -0,0 +1,27 @@
@extends('errors.layout')
@section('title', '404 — Page Not Found')
@section('code', '404')
@section('badge-label', 'Page Not Found')
@section('dot-color', '#3B82F6')
@section('icon-bg', '#EFF6FF')
@section('icon-color', '#3B82F6')
@section('icon')
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M9.172 16.172a4 4 0 015.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
@endsection
@section('heading', 'Page Not Found')
@section('description', "The page you're looking for has been moved, deleted, or simply doesn't exist in this system.")
@section('actions')
<a href="{{ url('/dashboard') }}" class="btn-primary">
<svg width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="3">
<path stroke-linecap="round" stroke-linejoin="round" d="M10 19l-7-7m0 0l7-7m-7 7h18" />
</svg>
Back to Dashboard
</a>
<a href="javascript:history.back()" class="btn-secondary">Go Back</a>
@endsection
+27
View File
@@ -0,0 +1,27 @@
@extends('errors.layout')
@section('title', '500 — Server Error')
@section('code', '500')
@section('badge-label', 'Internal Server Error')
@section('dot-color', '#F59E0B')
@section('icon-bg', '#FEF3C7')
@section('icon-color', '#F59E0B')
@section('icon')
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z" />
</svg>
@endsection
@section('heading', 'Something Went Wrong')
@section('description', 'The server encountered an unexpected condition that prevented it from fulfilling the request. Our team has been notified and is working on a fix.')
@section('actions')
<a href="{{ url('/dashboard') }}" class="btn-primary">
<svg width="16" height="16" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="3">
<path stroke-linecap="round" stroke-linejoin="round" d="M10 19l-7-7m0 0l7-7m-7 7h18" />
</svg>
Back to Dashboard
</a>
<button onclick="window.location.reload()" class="btn-secondary">Try Again</button>
@endsection
+171
View File
@@ -0,0 +1,171 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@yield('title') biiproject kit v2</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap" rel="stylesheet">
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; font-family: 'Inter', sans-serif; background: #E3EBE8; color: #3D4E4B; }
.wrapper {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 2rem;
position: relative;
overflow: hidden;
}
/* Background orbs */
.orb {
position: absolute;
border-radius: 50%;
filter: blur(80px);
opacity: 0.25;
pointer-events: none;
}
.orb-1 { width: 500px; height: 500px; background: #3D4E4B; top: -100px; right: -100px; }
.orb-2 { width: 400px; height: 400px; background: #D4A017; bottom: -80px; left: -80px; }
.card {
background: white;
border-radius: 2.5rem;
padding: 4rem;
max-width: 560px;
width: 100%;
text-align: center;
border: 1px solid rgba(0,0,0,0.05);
box-shadow: 0 25px 60px rgba(61,78,75,0.08);
position: relative;
z-index: 1;
animation: fadeUp 0.5s ease both;
}
@keyframes fadeUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.badge {
display: inline-flex;
align-items: center;
gap: 0.5rem;
background: #E3EBE8;
border-radius: 999px;
padding: 0.4rem 1rem;
font-size: 0.7rem;
font-weight: 800;
letter-spacing: 0.12em;
text-transform: uppercase;
color: #3D4E4B;
margin-bottom: 2rem;
}
.badge-dot {
width: 6px; height: 6px;
border-radius: 50%;
background: @yield('dot-color', '#D4A017');
}
.code {
font-size: 7rem;
font-weight: 900;
color: #3D4E4B;
line-height: 1;
letter-spacing: -0.04em;
margin-bottom: 0.5rem;
opacity: 0.08;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 3rem;
user-select: none;
white-space: nowrap;
}
.icon-wrap {
width: 80px; height: 80px;
border-radius: 1.5rem;
display: flex; align-items: center; justify-content: center;
margin: 0 auto 1.5rem;
background: @yield('icon-bg', '#FEF3C7');
}
.icon-wrap svg { width: 36px; height: 36px; color: @yield('icon-color', '#D4A017'); }
h1 { font-size: 1.75rem; font-weight: 800; color: #3D4E4B; letter-spacing: -0.03em; margin-bottom: 0.75rem; }
p { font-size: 0.9rem; color: #6B7280; font-weight: 500; line-height: 1.7; max-width: 360px; margin: 0 auto 2.5rem; }
.btn-group { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
display: inline-flex; align-items: center; gap: 0.5rem;
background: #3D4E4B; color: white;
padding: 0.75rem 1.75rem;
border-radius: 0.875rem;
font-size: 0.8rem; font-weight: 700;
text-decoration: none;
border: none; cursor: pointer;
transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: #2D3A38; transform: translateY(-1px); }
.btn-secondary {
display: inline-flex; align-items: center; gap: 0.5rem;
background: transparent; color: #6B7280;
padding: 0.75rem 1.75rem;
border-radius: 0.875rem;
font-size: 0.8rem; font-weight: 700;
text-decoration: none;
border: 1.5px solid #E5E7EB; cursor: pointer;
transition: all 0.2s;
}
.btn-secondary:hover { border-color: #3D4E4B; color: #3D4E4B; }
.footer-brand {
margin-top: 3rem;
display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.brand-logo {
width: 28px; height: 28px; border-radius: 0.5rem;
background: #3D4E4B; color: #D4A017;
display: flex; align-items: center; justify-content: center;
font-size: 0.65rem; font-weight: 900;
}
.brand-name { font-size: 0.75rem; font-weight: 700; color: #9CA3AF; }
.brand-version { font-size: 0.65rem; font-weight: 800; color: #D4A017; }
</style>
</head>
<body>
<div class="wrapper">
<div class="orb orb-1"></div>
<div class="orb orb-2"></div>
<div class="card">
<span class="code">@yield('code')</span>
<div class="badge">
<span class="badge-dot"></span>
@yield('badge-label', 'System Error')
</div>
<div class="icon-wrap">
@yield('icon')
</div>
<h1>@yield('heading')</h1>
<p>@yield('description')</p>
<div class="btn-group">
@yield('actions')
</div>
<div class="footer-brand">
<div class="brand-logo">BK</div>
<span class="brand-name">biiproject kit</span>
<span class="brand-version">v2</span>
</div>
</div>
</div>
</body>
</html>