feat: inisialisasi project kit v2
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user