MIF_E31230580/resources/views/landing.blade.php

290 lines
8.7 KiB
PHP

<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ISYARAT-AI: Sistem Penerjemah Bahasa Isyarat</title>
<!-- STYLE LEMBARAN CSS UTUH (MURNI CUSTOM CSS - BEBAS DEPENDENSI TAILWIND) -->
<style>
/* 1. VARIABEL WARNA & TEMA PREMIUM */
:root {
--primary-blue: #0052cc;
--primary-glow: rgba(0, 82, 204, 0.15);
--neon-sky: #00b3ff;
--light-ice: #f2f7ff;
--clean-white: #ffffff;
--text-main: #1e293b;
--text-muted: #64748b;
--border-soft: #e2e8f0;
--card-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
--grad-banner: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0052cc 100%);
--grad-accent: linear-gradient(135deg, #0052cc 0%, #00b3ff 100%);
}
/* 2. BASE WRAPPER & ANIMASI MELAYANG */
body {
margin: 0;
padding: 0;
font-family: 'Inter', system-ui, -apple-system, sans-serif;
background-color: #f8fafc;
color: var(--text-main);
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
overflow-x: hidden;
box-sizing: border-box;
}
/* Floating Blobs Background */
.blob-css {
position: absolute;
border-radius: 50%;
filter: blur(80px);
pointer-events: none;
z-index: 1;
opacity: 0.25;
}
.blob-1 {
width: 450px;
height: 450px;
background-color: #93c5fd;
top: 10%;
left: -10%;
animation: float-slow 8s infinite ease-in-out;
}
.blob-2 {
width: 550px;
height: 550px;
background-color: #bae6fd;
bottom: 5%;
right: -10%;
animation: float-slow-rev 10s infinite ease-in-out;
}
/* 3. HEADER NAVIGASI ATAS */
.ld-header {
background-color: var(--clean-white);
border-bottom: 1px solid var(--border-soft);
padding: 15px 40px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 4px 20px rgba(0, 82, 204, 0.02);
position: relative;
z-index: 10;
}
.ld-logo {
font-size: 22px;
font-weight: 950;
text-decoration: none;
letter-spacing: -0.5px;
background: linear-gradient(to right, var(--primary-blue), var(--neon-sky));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
transition: transform 0.3s ease;
}
.ld-logo:hover {
transform: scale(1.03);
}
.ld-nav-links {
display: flex;
align-items: center;
gap: 20px;
}
.ld-link-text {
font-size: 13px;
font-weight: 800;
color: var(--text-muted);
text-decoration: none;
transition: color 0.3s ease;
}
.ld-link-text:hover {
color: var(--primary-blue);
}
.ld-btn-register {
background: var(--grad-accent);
color: var(--clean-white);
padding: 10px 20px;
border-radius: 12px;
font-size: 12px;
font-weight: 800;
text-decoration: none;
box-shadow: 0 4px 15px rgba(0, 82, 204, 0.15);
transition: all 0.3s ease;
}
.ld-btn-register:hover {
transform: translateY(-1px);
box-shadow: 0 6px 20px rgba(0, 179, 255, 0.25);
}
/* 4. HERO SECTION CONTENT */
.ld-main {
flex-grow: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 60px 20px;
max-width: 900px;
margin: 0 auto;
position: relative;
z-index: 10;
}
.ld-badge-skripsi {
background-color: var(--light-ice);
border: 1px solid rgba(0, 82, 204, 0.1);
color: var(--primary-blue);
font-size: 10px;
font-weight: 900;
text-transform: uppercase;
letter-spacing: 1.5px;
padding: 8px 18px;
border-radius: 100px;
margin-bottom: 24px;
display: inline-block;
box-shadow: 0 4px 10px rgba(0, 82, 204, 0.03);
animation: bounce-slow 2s infinite ease-in-out;
}
.ld-headline {
font-size: 48px;
font-weight: 950;
color: #0f172a;
line-height: 1.15;
letter-spacing: -1.5px;
margin: 0 0 24px 0;
}
.ld-headline span {
background: linear-gradient(to right, var(--primary-blue), var(--neon-sky));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.ld-desc {
font-size: 15px;
line-height: 1.7;
color: var(--text-muted);
max-width: 650px;
margin: 0 0 35px 0;
font-weight: 500;
}
.ld-btn-cta {
background: var(--grad-accent);
color: var(--clean-white);
padding: 16px 36px;
border-radius: 16px;
font-size: 13px;
font-weight: 850;
text-decoration: none;
box-shadow: 0 10px 25px rgba(0, 82, 204, 0.25);
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
gap: 8px;
}
.ld-btn-cta:hover {
transform: translateY(-2px);
box-shadow: 0 15px 30px rgba(0, 179, 255, 0.35);
}
/* 5. FOOTER DESIGN */
.ld-footer {
background-color: var(--clean-white);
border-top: 1px solid var(--border-soft);
padding: 20px;
text-align: center;
font-size: 12px;
color: var(--text-muted);
position: relative;
z-index: 10;
}
/* 6. ANIMASI KEYFRAMES & RESPONSIVE LAYOUT */
@keyframes float-slow {
0%, 100% { transform: translateY(0) scale(1); }
50% { transform: translateY(-15px) scale(1.02); }
}
@keyframes float-slow-rev {
0%, 100% { transform: translateY(0) scale(1); }
50% { transform: translateY(15px) scale(0.98); }
}
@keyframes bounce-slow {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-4px); }
}
@media (max-width: 768px) {
.ld-header {
padding: 15px 20px;
}
.ld-headline {
font-size: 34px;
}
.ld-desc {
font-size: 13px;
}
.ld-btn-cta {
padding: 14px 28px;
font-size: 12px;
}
}
</style>
</head>
<body>
<!-- Blobs Background melayang -->
<div class="blob-css blob-1"></div>
<div class="blob-css blob-2"></div>
<!-- SUTRA HEADER NAVIGASI -->
<header class="ld-header">
<a href="{{ route('landing') }}" class="ld-logo">BELAJAR ISYARAT</a>
<div class="ld-nav-links">
@auth
<a href="{{ route('dashboard') }}" class="ld-btn-register">Ke Dashboard ➔</a>
@else
<a href="{{ route('login') }}" class="ld-link-text">Masuk</a>
<a href="{{ route('register') }}" class="ld-btn-register">Daftar Akun</a>
@endauth
</div>
</header>
<!-- KONTEN HERO UTAMA -->
<main class="ld-main">
<span class="ld-badge-skripsi"></span>
<h1 class="ld-headline">
Belajar Bahasa Isyarat <br>
<span>Kamera</span>
</h1>
<p class="ld-desc">
Teknologi komputer cerdas berbasis Convolutional Neural Network (CNN) dan MediaPipe untuk menjembatani pembelajaran komunikasi bersama teman tuli-rungu.
</p>
<div>
@auth
<a href="{{ route('translate.index') }}" class="ld-btn-cta">
<span></span> Mulai Terjemahkan Sekarang
</a>
@else
<a href="{{ route('login') }}" class="ld-btn-cta">
<span></span> Masuk & Mulai Kamera
</a>
@endauth
</div>
</main>
</body>
</html>