Juanda Rent&Tour
56
assets/css/custom.css
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
/* Custom CSS for JatimTour */
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: 'Open Sans', sans-serif;
|
||||||
|
padding-top: 70px; /* Offset for fixed navbar */
|
||||||
|
background-color: #F8F9FA;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, h6, .navbar-brand {
|
||||||
|
font-family: 'Poppins', sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Hero Section */
|
||||||
|
.hero-section {
|
||||||
|
background: linear-gradient(135deg, rgba(13, 110, 253, 0.85), rgba(13, 110, 253, 0.6)), url('../images/hero-bg.jpg');
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
min-height: 60vh;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Card styles */
|
||||||
|
.tour-card {
|
||||||
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||||
|
border-radius: 0.75rem; /* Softer corners */
|
||||||
|
}
|
||||||
|
|
||||||
|
.tour-card:hover {
|
||||||
|
transform: translateY(-10px);
|
||||||
|
box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tour-card .card-img-top {
|
||||||
|
height: 200px;
|
||||||
|
object-fit: cover;
|
||||||
|
border-top-left-radius: 0.75rem;
|
||||||
|
border-top-right-radius: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Navbar */
|
||||||
|
.navbar-nav .nav-link {
|
||||||
|
transition: color 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
|
||||||
|
color: #0D6EFD !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-brand {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary {
|
||||||
|
padding: 0.5rem 1.25rem;
|
||||||
|
border-radius: 50rem; /* Pill shape */
|
||||||
|
}
|
||||||
BIN
assets/images/avanza.jpg
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
assets/images/bromo.jpg
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
assets/images/bus.jpg
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
assets/images/hero-bg.jpg
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
assets/images/hiace.jpg
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
assets/images/ijen.jpg
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
assets/images/malang.jpg
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
17
assets/js/main.js
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
// Custom JS for JatimTour
|
||||||
|
|
||||||
|
document.addEventListener('DOMContentLoaded', function () {
|
||||||
|
// Smooth scrolling for anchor links
|
||||||
|
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
||||||
|
anchor.addEventListener('click', function (e) {
|
||||||
|
e.preventDefault();
|
||||||
|
|
||||||
|
let target = document.querySelector(this.getAttribute('href'));
|
||||||
|
if (target) {
|
||||||
|
target.scrollIntoView({
|
||||||
|
behavior: 'smooth'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
292
index.php
@ -1,150 +1,164 @@
|
|||||||
<?php
|
<!DOCTYPE html>
|
||||||
declare(strict_types=1);
|
<html lang="id">
|
||||||
@ini_set('display_errors', '1');
|
|
||||||
@error_reporting(E_ALL);
|
|
||||||
@date_default_timezone_set('UTC');
|
|
||||||
|
|
||||||
$phpVersion = PHP_VERSION;
|
|
||||||
$now = date('Y-m-d H:i:s');
|
|
||||||
?>
|
|
||||||
<!doctype html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>New Style</title>
|
<title>Transport Rental Tour Travel</title>
|
||||||
<?php
|
<meta name="description" content="Sistem Manajemen Transportasi, Rental Kendaraan, dan Paket Wisata di Jawa Timur.">
|
||||||
// Read project preview data from environment
|
<meta name="keywords" content="rental mobil jawa timur, sewa mobil surabaya, paket wisata bromo, tour travel malang, sewa bus pariwisata, travel jawa timur, wisata kawah ijen, flatlogic generator">
|
||||||
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? '';
|
<meta property="og:title" content="Transport Rental Tour Travel">
|
||||||
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
|
<meta property="og:description" content="Sistem Manajemen Transportasi, Rental Kendaraan, dan Paket Wisata di Jawa Timur.">
|
||||||
?>
|
<meta property="og:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? ''); ?>">
|
||||||
<?php if ($projectDescription): ?>
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<!-- Meta description -->
|
<meta name="twitter:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? ''); ?>">
|
||||||
<meta name="description" content='<?= htmlspecialchars($projectDescription) ?>' />
|
|
||||||
<!-- Open Graph meta tags -->
|
<!-- Fonts -->
|
||||||
<meta property="og:description" content="<?= htmlspecialchars($projectDescription) ?>" />
|
|
||||||
<!-- Twitter meta tags -->
|
|
||||||
<meta property="twitter:description" content="<?= htmlspecialchars($projectDescription) ?>" />
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if ($projectImageUrl): ?>
|
|
||||||
<!-- Open Graph image -->
|
|
||||||
<meta property="og:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
|
|
||||||
<!-- Twitter image -->
|
|
||||||
<meta property="twitter:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
|
|
||||||
<?php endif; ?>
|
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">
|
||||||
<style>
|
|
||||||
:root {
|
<!-- Bootstrap CSS -->
|
||||||
--bg-color-start: #6a11cb;
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
--bg-color-end: #2575fc;
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
||||||
--text-color: #ffffff;
|
|
||||||
--card-bg-color: rgba(255, 255, 255, 0.01);
|
<!-- Custom CSS -->
|
||||||
--card-border-color: rgba(255, 255, 255, 0.1);
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
||||||
}
|
|
||||||
body {
|
|
||||||
margin: 0;
|
|
||||||
font-family: 'Inter', sans-serif;
|
|
||||||
background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end));
|
|
||||||
color: var(--text-color);
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
min-height: 100vh;
|
|
||||||
text-align: center;
|
|
||||||
overflow: hidden;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
body::before {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M-10 10L110 10M10 -10L10 110" stroke-width="1" stroke="rgba(255,255,255,0.05)"/></svg>');
|
|
||||||
animation: bg-pan 20s linear infinite;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
@keyframes bg-pan {
|
|
||||||
0% { background-position: 0% 0%; }
|
|
||||||
100% { background-position: 100% 100%; }
|
|
||||||
}
|
|
||||||
main {
|
|
||||||
padding: 2rem;
|
|
||||||
}
|
|
||||||
.card {
|
|
||||||
background: var(--card-bg-color);
|
|
||||||
border: 1px solid var(--card-border-color);
|
|
||||||
border-radius: 16px;
|
|
||||||
padding: 2rem;
|
|
||||||
backdrop-filter: blur(20px);
|
|
||||||
-webkit-backdrop-filter: blur(20px);
|
|
||||||
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
|
||||||
.loader {
|
|
||||||
margin: 1.25rem auto 1.25rem;
|
|
||||||
width: 48px;
|
|
||||||
height: 48px;
|
|
||||||
border: 3px solid rgba(255, 255, 255, 0.25);
|
|
||||||
border-top-color: #fff;
|
|
||||||
border-radius: 50%;
|
|
||||||
animation: spin 1s linear infinite;
|
|
||||||
}
|
|
||||||
@keyframes spin {
|
|
||||||
from { transform: rotate(0deg); }
|
|
||||||
to { transform: rotate(360deg); }
|
|
||||||
}
|
|
||||||
.hint {
|
|
||||||
opacity: 0.9;
|
|
||||||
}
|
|
||||||
.sr-only {
|
|
||||||
position: absolute;
|
|
||||||
width: 1px; height: 1px;
|
|
||||||
padding: 0; margin: -1px;
|
|
||||||
overflow: hidden;
|
|
||||||
clip: rect(0, 0, 0, 0);
|
|
||||||
white-space: nowrap; border: 0;
|
|
||||||
}
|
|
||||||
h1 {
|
|
||||||
font-size: 3rem;
|
|
||||||
font-weight: 700;
|
|
||||||
margin: 0 0 1rem;
|
|
||||||
letter-spacing: -1px;
|
|
||||||
}
|
|
||||||
p {
|
|
||||||
margin: 0.5rem 0;
|
|
||||||
font-size: 1.1rem;
|
|
||||||
}
|
|
||||||
code {
|
|
||||||
background: rgba(0,0,0,0.2);
|
|
||||||
padding: 2px 6px;
|
|
||||||
border-radius: 4px;
|
|
||||||
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
||||||
}
|
|
||||||
footer {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 1rem;
|
|
||||||
font-size: 0.8rem;
|
|
||||||
opacity: 0.7;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main>
|
|
||||||
<div class="card">
|
<?php
|
||||||
<h1>Analyzing your requirements and generating your website…</h1>
|
// --- Data Placeholder ---
|
||||||
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes">
|
// Ganti nomor WhatsApp di bawah ini dengan nomor Admin/Operator Anda.
|
||||||
<span class="sr-only">Loading…</span>
|
$admin_whatsapp_number = '6281234567890'; // Format internasional tanpa '+' atau '0' di depan
|
||||||
|
|
||||||
|
$tour_packages = [
|
||||||
|
[
|
||||||
|
'name' => 'Bromo Sunrise Adventure',
|
||||||
|
'description' => 'Nikmati keindahan matahari terbit di Gunung Bromo, lautan pasir, dan kawah yang menakjubkan.',
|
||||||
|
'price' => 'IDR 450.000 / orang',
|
||||||
|
'image' => 'assets/images/bromo.jpg'
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'name' => 'Kawah Ijen Blue Fire',
|
||||||
|
'description' => 'Saksikan fenomena api biru yang langka di Kawah Ijen dan pemandangan danau kawah yang memesona.',
|
||||||
|
'price' => 'IDR 550.000 / orang',
|
||||||
|
'image' => 'assets/images/ijen.jpg'
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'name' => 'Malang City Tour',
|
||||||
|
'description' => 'Jelajahi spot-spot ikonik di Kota Malang, mulai dari Jodipan, Alun-Alun, hingga kuliner legendaris.',
|
||||||
|
'price' => 'IDR 300.000 / orang',
|
||||||
|
'image' => 'assets/images/malang.jpg'
|
||||||
|
],
|
||||||
|
];
|
||||||
|
|
||||||
|
$rental_vehicles = [
|
||||||
|
[
|
||||||
|
'name' => 'Toyota Avanza',
|
||||||
|
'description' => 'Kapasitas 6 penumpang, AC, cocok untuk perjalanan keluarga di dalam kota.',
|
||||||
|
'price' => 'IDR 400.000 / hari',
|
||||||
|
'image' => 'assets/images/avanza.jpg'
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'name' => 'Hiace Commuter',
|
||||||
|
'description' => 'Kapasitas 14 penumpang, ideal untuk rombongan wisata dengan kenyamanan ekstra.',
|
||||||
|
'price' => 'IDR 1.200.000 / hari',
|
||||||
|
'image' => 'assets/images/hiace.jpg'
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'name' => 'Bus Pariwisata',
|
||||||
|
'description' => 'Kapasitas 50 penumpang, fasilitas lengkap untuk perjalanan jarak jauh antar kota.',
|
||||||
|
'price' => 'IDR 3.000.000 / hari',
|
||||||
|
'image' => 'assets/images/bus.jpg'
|
||||||
|
],
|
||||||
|
];
|
||||||
|
|
||||||
|
// --- Helper Function ---
|
||||||
|
function generate_whatsapp_link($number, $product_name) {
|
||||||
|
$text = "Halo, saya tertarik untuk memesan " . $product_name . ". Mohon informasinya.";
|
||||||
|
return "https://api.whatsapp.com/send?phone=" . $number . "&text=" . urlencode($text);
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!-- Header -->
|
||||||
|
<nav class="navbar navbar-expand-lg navbar-light bg-white fixed-top shadow-sm">
|
||||||
|
<div class="container">
|
||||||
|
<a class="navbar-brand fw-bold text-primary" href="#">JatimTour</a>
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="collapse navbar-collapse" id="navbarNav">
|
||||||
|
<ul class="navbar-nav ms-auto">
|
||||||
|
<li class="nav-item"><a class="nav-link active" href="#hero">Beranda</a></li>
|
||||||
|
<li class="nav-item"><a class="nav-link" href="#tours">Paket Wisata</a></li>
|
||||||
|
<li class="nav-item"><a class="nav-link" href="#rentals">Rental Kendaraan</a></li>
|
||||||
|
<li class="nav-item"><a class="nav-link btn btn-primary text-white ms-lg-2" href="<?php echo generate_whatsapp_link($admin_whatsapp_number, 'layanan JatimTour'); ?>">Hubungi Kami</a></li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<p class="hint"><?= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.</p>
|
|
||||||
<p class="hint">This page will update automatically as the plan is implemented.</p>
|
|
||||||
<p>Runtime: PHP <code><?= htmlspecialchars($phpVersion) ?></code> — UTC <code><?= htmlspecialchars($now) ?></code></p>
|
|
||||||
</div>
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<!-- Hero Section -->
|
||||||
|
<section id="hero" class="hero-section text-white text-center d-flex align-items-center">
|
||||||
|
<div class="container">
|
||||||
|
<h1 class="display-4 fw-bold">Jelajahi Keindahan Jawa Timur</h1>
|
||||||
|
<p class="lead my-3">Pengalaman wisata dan transportasi terbaik dengan layanan profesional kami.</p>
|
||||||
|
<a href="#tours" class="btn btn-lg btn-light text-primary fw-bold">Lihat Paket Wisata</a>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<main class="container my-5">
|
||||||
|
<!-- Paket Wisata Section -->
|
||||||
|
<section id="tours" class="py-5">
|
||||||
|
<h2 class="text-center fw-bold mb-4">Paket Wisata Populer</h2>
|
||||||
|
<div class="row g-4">
|
||||||
|
<?php foreach ($tour_packages as $package): ?>
|
||||||
|
<div class="col-lg-4 col-md-6">
|
||||||
|
<div class="card h-100 shadow-sm border-0 tour-card">
|
||||||
|
<img src="<?php echo htmlspecialchars($package['image']); ?>" class="card-img-top" alt="<?php echo htmlspecialchars($package['name']); ?>">
|
||||||
|
<div class="card-body d-flex flex-column">
|
||||||
|
<h5 class="card-title fw-bold"><?php echo htmlspecialchars($package['name']); ?></h5>
|
||||||
|
<p class="card-text flex-grow-1"><?php echo htmlspecialchars($package['description']); ?></p>
|
||||||
|
<p class="card-text fw-bold text-primary"><?php echo htmlspecialchars($package['price']); ?></p>
|
||||||
|
<a href="<?php echo generate_whatsapp_link($admin_whatsapp_number, $package['name']); ?>" class="btn btn-success mt-auto w-100"><i class="bi bi-whatsapp me-2"></i>Pesan via WhatsApp</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Rental Kendaraan Section -->
|
||||||
|
<section id="rentals" class="py-5">
|
||||||
|
<h2 class="text-center fw-bold mb-4">Pilihan Kendaraan</h2>
|
||||||
|
<div class="row g-4">
|
||||||
|
<?php foreach ($rental_vehicles as $vehicle): ?>
|
||||||
|
<div class="col-lg-4 col-md-6">
|
||||||
|
<div class="card h-100 shadow-sm border-0 tour-card">
|
||||||
|
<img src="<?php echo htmlspecialchars($vehicle['image']); ?>" class="card-img-top" alt="<?php echo htmlspecialchars($vehicle['name']); ?>">
|
||||||
|
<div class="card-body d-flex flex-column">
|
||||||
|
<h5 class="card-title fw-bold"><?php echo htmlspecialchars($vehicle['name']); ?></h5>
|
||||||
|
<p class="card-text flex-grow-1"><?php echo htmlspecialchars($vehicle['description']); ?></p>
|
||||||
|
<p class="card-text fw-bold text-primary"><?php echo htmlspecialchars($vehicle['price']); ?></p>
|
||||||
|
<a href="<?php echo generate_whatsapp_link($admin_whatsapp_number, 'Rental ' . $vehicle['name']); ?>" class="btn btn-success mt-auto w-100"><i class="bi bi-whatsapp me-2"></i>Pesan via WhatsApp</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
|
||||||
Page updated: <?= htmlspecialchars($now) ?> (UTC)
|
<!-- Footer -->
|
||||||
|
<footer class="bg-dark text-white text-center py-4">
|
||||||
|
<div class="container">
|
||||||
|
<p class="mb-0">© <?php echo date("Y"); ?> JatimTour. Dibuat dengan <i class="bi bi-heart-fill text-danger"></i> oleh Flatlogic.</p>
|
||||||
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
<!-- Bootstrap JS -->
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
|
<!-- Custom JS -->
|
||||||
|
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||