300 lines
12 KiB
PHP
300 lines
12 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Warkop Cak Imin - Inspirasi Dalam Secangkir Kopi</title>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.4/css/all.min.css">
|
|
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap" rel="stylesheet">
|
|
<style>
|
|
:root {
|
|
--primary-orange: #ff5e00;
|
|
--secondary-orange: #ff8a00;
|
|
--primary-gradient: linear-gradient(135deg, #ff8a00 0%, #ff5e00 100%);
|
|
--dark-bg: #1a1a1a;
|
|
--soft-shadow: 0 10px 30px rgba(0,0,0,0.05);
|
|
}
|
|
body {
|
|
font-family: 'Outfit', sans-serif;
|
|
color: #333;
|
|
scroll-behavior: smooth;
|
|
background-color: #fff;
|
|
}
|
|
|
|
/* Navbar Styling */
|
|
.navbar {
|
|
padding: 20px 0;
|
|
transition: all 0.3s ease;
|
|
background: rgba(255, 255, 255, 0.95) !important;
|
|
backdrop-filter: blur(10px);
|
|
box-shadow: 0 2px 20px rgba(0,0,0,0.05);
|
|
}
|
|
.navbar-brand {
|
|
font-weight: 700;
|
|
font-size: 1.5rem;
|
|
color: var(--primary-orange) !important;
|
|
}
|
|
.nav-link {
|
|
font-weight: 600;
|
|
color: #444 !important;
|
|
margin: 0 15px;
|
|
transition: color 0.3s;
|
|
}
|
|
.nav-link:hover { color: var(--primary-orange) !important; }
|
|
.btn-login {
|
|
background: var(--primary-gradient);
|
|
color: white !important;
|
|
border-radius: 50px;
|
|
padding: 8px 25px !important;
|
|
box-shadow: 0 4px 15px rgba(255,94,0,0.3);
|
|
}
|
|
|
|
/* Hero Section */
|
|
.hero {
|
|
padding: 160px 0 100px;
|
|
background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), url('/img/warkopcakimin.webp');
|
|
background-size: cover;
|
|
background-position: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.hero h1 {
|
|
font-size: 4rem;
|
|
font-weight: 800;
|
|
margin-bottom: 20px;
|
|
letter-spacing: -1px;
|
|
background: var(--primary-gradient);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
.hero p {
|
|
font-size: 1.25rem;
|
|
color: #666;
|
|
max-width: 600px;
|
|
margin: 0 auto 30px;
|
|
}
|
|
|
|
/* Section Styling */
|
|
section { padding: 100px 0; }
|
|
.section-title {
|
|
font-weight: 700;
|
|
font-size: 2.5rem;
|
|
margin-bottom: 50px;
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
.section-title::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -10px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 60px;
|
|
height: 4px;
|
|
background: var(--primary-gradient);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
/* Menu Cards */
|
|
.menu-card {
|
|
background: white;
|
|
border-radius: 20px;
|
|
padding: 30px;
|
|
box-shadow: var(--soft-shadow);
|
|
transition: all 0.3s ease;
|
|
height: 100%;
|
|
border: 1px solid #f0f0f0;
|
|
}
|
|
.menu-card:hover {
|
|
transform: translateY(-10px);
|
|
box-shadow: 0 15px 40px rgba(0,0,0,0.1);
|
|
border-color: var(--secondary-orange);
|
|
}
|
|
.menu-img {
|
|
width: 100px;
|
|
height: 100px;
|
|
object-fit: cover;
|
|
border-radius: 50%;
|
|
margin-bottom: 20px;
|
|
border: 4px solid #fff3e0;
|
|
}
|
|
.menu-card h5 { font-weight: 700; margin-bottom: 15px; }
|
|
.menu-card p { color: #888; font-size: 0.95rem; }
|
|
|
|
/* About Section */
|
|
.about-img {
|
|
border-radius: 30px;
|
|
box-shadow: 0 20px 50px rgba(0,0,0,0.15);
|
|
}
|
|
.about-text h2 { font-weight: 700; margin-bottom: 25px; }
|
|
.about-text p { color: #666; font-size: 1.1rem; line-height: 1.8; }
|
|
.contact-info li { margin-bottom: 15px; font-weight: 500; display: flex; align-items: center; }
|
|
.contact-info i {
|
|
width: 40px;
|
|
height: 40px;
|
|
background: #fff3e0;
|
|
color: var(--primary-orange);
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
/* Locations */
|
|
.location-box {
|
|
background: white;
|
|
border-radius: 30px;
|
|
overflow: hidden;
|
|
box-shadow: 0 20px 50px rgba(0,0,0,0.08);
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
background: var(--dark-bg);
|
|
padding: 60px 0 30px;
|
|
color: #888;
|
|
}
|
|
.footer-logo {
|
|
color: #fff;
|
|
font-weight: 700;
|
|
font-size: 1.5rem;
|
|
margin-bottom: 20px;
|
|
display: block;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<!-- Navbar -->
|
|
<nav class="navbar navbar-expand-lg navbar-light fixed-top">
|
|
<div class="container">
|
|
<a class="navbar-brand" href="#">Cak Imin</a>
|
|
<button class="navbar-toggler border-0" type="button" data-toggle="collapse" data-target="#navbarNav">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navbarNav">
|
|
<ul class="navbar-nav ml-auto align-items-center">
|
|
<li class="nav-item"><a class="nav-link" href="#tentang">Tentang</a></li>
|
|
<li class="nav-item"><a class="nav-link" href="#menu">Menu</a></li>
|
|
<li class="nav-item"><a class="nav-link" href="#tempat">Lokasi</a></li>
|
|
<li class="nav-item ml-lg-3"><a class="nav-link btn-login" href="/login">LOGIN</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<!-- Hero Section -->
|
|
<section class="hero text-center">
|
|
<div class="container">
|
|
<h1 class="display-3">Warkop Cak Imin</h1>
|
|
<p class="mx-auto">Tempatnya para pengopi mencari inspirasi dan kreasi dengan harga yang murah dan higienis.</p>
|
|
<div class="mt-4">
|
|
<a href="#menu" class="btn btn-login btn-lg">Lihat Menu</a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Info UMKM Section -->
|
|
<section id="tentang">
|
|
<div class="container">
|
|
<div class="row align-items-center">
|
|
<div class="col-md-6 mb-5 mb-md-0">
|
|
<img src="/img/warkopcakimin2.webp" alt="Warkop Cak Imin" class="img-fluid about-img">
|
|
</div>
|
|
<div class="col-md-6 pl-lg-5 about-text">
|
|
<h2 class="section-title">Tentang Kami</h2>
|
|
<p>Warkop Cak Imin adalah tempat favorit bagi masyarakat untuk berkumpul, berdiskusi, dan menikmati suasana santai sejak tahun 2020. Berlokasi di pusat keramaian, kami berkomitmen menyajikan rasa asli dengan pelayanan sepenuh hati.</p>
|
|
<ul class="list-unstyled contact-info mt-4">
|
|
<li><i class="fas fa-map-marker-alt"></i> Jl. Barito No.114, Nganjuk</li>
|
|
<li><i class="fas fa-phone"></i> 0857-3786-9669</li>
|
|
<li><i class="fab fa-instagram"></i> @warkop_cakimin</li>
|
|
<li><i class="fas fa-clock"></i> 07.00 - 03.00 WIB</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Menu Section -->
|
|
<section id="menu" class="bg-light text-center">
|
|
<div class="container">
|
|
<h2 class="section-title">Menu Favorit</h2>
|
|
<div class="row mt-4">
|
|
@if(isset($topProducts) && $topProducts->count())
|
|
@foreach($topProducts as $product)
|
|
<div class="col-md-4 mb-4">
|
|
<div class="menu-card">
|
|
<img src="{{ $product->image ? $product->image : asset('/img/kopi.jpg') }}" alt="{{ $product->name }}" class="menu-img">
|
|
<h5>{{ $product->name }}</h5>
|
|
<p>{{ $product->category ?? 'Menu populer dari koleksi kami' }}</p>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
@else
|
|
<div class="col-md-4 mb-4">
|
|
<div class="menu-card">
|
|
<img src="/img/kopi.jpg" alt="Kopi" class="menu-img">
|
|
<h5>Aroma Kopi</h5>
|
|
<p>Secangkir inspirasi dari biji kopi pilihan, tersedia panas maupun dingin.</p>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 mb-4">
|
|
<div class="menu-card">
|
|
<img src="/img/ES teh.webp" alt="Es Teh" class="menu-img">
|
|
<h5>Es Teh Segar</h5>
|
|
<p>Kesegaran teh alami untuk mendinginkan suasana obrolan Anda.</p>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 mb-4">
|
|
<div class="menu-card">
|
|
<img src="/img/indomie.jpg" alt="Mie Indomie" class="menu-img">
|
|
<h5>Indomie Kreasi</h5>
|
|
<p>Sajian mie populer dengan racikan bumbu rahasia dan topping favorit.</p>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Lokasi Section -->
|
|
<section id="tempat" class="text-center">
|
|
<div class="container">
|
|
<h2 class="section-title">Kunjungi Kami</h2>
|
|
<div class="location-box mt-4">
|
|
<div class="embed-responsive embed-responsive-21by9">
|
|
<iframe class="embed-responsive-item" src="https://www.google.com/maps?q=-7.590456844342228,111.90478228540158&hl=id&z=18&output=embed" allowfullscreen loading="lazy"></iframe>
|
|
</div>
|
|
</div>
|
|
<p class="mt-4 text-muted">Jl. Barito No.114, Kalianyar, Begadung, Kec. Nganjuk, Kabupaten Nganjuk</p>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Footer -->
|
|
<footer class="text-center">
|
|
<div class="container">
|
|
<span class="footer-logo">Cak Imin</span>
|
|
<p>© 2026 Warkop Cak Imin. Crafted with ❤️ for Kopi Lovers.</p>
|
|
<div class="social-links mt-3">
|
|
<a href="#" class="mx-2 text-muted"><i class="fab fa-facebook-f"></i></a>
|
|
<a href="#" class="mx-2 text-muted"><i class="fab fa-instagram"></i></a>
|
|
<a href="#" class="mx-2 text-muted"><i class="fab fa-twitter"></i></a>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"></script>
|
|
<script>
|
|
$(window).scroll(function() {
|
|
if ($(this).scrollTop() > 50) {
|
|
$('.navbar').addClass('shadow-sm');
|
|
} else {
|
|
$('.navbar').removeClass('shadow-sm');
|
|
}
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|