57 lines
2.1 KiB
PHP
57 lines
2.1 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>RobustaMeter - Klasifikasi Kematangan Kopi</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap" rel="stylesheet">
|
|
<style>
|
|
body { font-family: 'Poppins', sans-serif; }
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-white text-gray-900">
|
|
|
|
<nav class="flex justify-between items-center px-10 py-6 border-b">
|
|
<div class="text-xl font-bold italic text-gray-900">RobustaMeter.id</div>
|
|
|
|
<div class="space-x-8 text-sm font-medium">
|
|
<a href="{{ route('landingpage') }}" class="hover:text-orange-600 transition">Beranda</a>
|
|
<a href="{{ route('karakteristik') }}" class="hover:text-orange-600 transition">Karakteristik</a>
|
|
<a href="#informasi" class="hover:text-orange-600 transition">Informasi</a>
|
|
<a href="#panduan" class="hover:text-orange-600 transition">Panduan</a>
|
|
</div>
|
|
|
|
<div>
|
|
@guest
|
|
<a href="{{ route('login') }}" class="px-6 py-2 border border-black rounded-full hover:bg-black hover:text-white transition">
|
|
Masuk
|
|
</a>
|
|
@endguest
|
|
@auth
|
|
<div class="flex items-center gap-6">
|
|
<div class="flex flex-col items-end">
|
|
<span class="text-[10px] font-black uppercase text-gray-400 tracking-widest">Logged in as</span>
|
|
<span class="text-sm font-bold text-gray-900">{{ Auth::user()->name }}</span>
|
|
</div>
|
|
|
|
<form action="{{ route('logout') }}" method="POST" class="inline">
|
|
@csrf
|
|
<button type="submit" class="px-5 py-2 bg-gray-100 text-gray-600 text-xs font-bold rounded-full hover:bg-red-50 hover:text-red-600 transition">
|
|
Keluar
|
|
</button>
|
|
</form>
|
|
</div>
|
|
@endauth
|
|
</div>
|
|
</nav>
|
|
|
|
<main>
|
|
@yield('content')
|
|
</main>
|
|
@stack('scripts')
|
|
</body>
|
|
</html> |