2024-12-11 15:19:08 +05:45

93 lines
3.9 KiB
PHP

<?php
// Include the about data
include('../assests/data/contactdata.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Events</title>
<link rel="stylesheet" href="../assests/css/styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.1/css/all.min.css"
integrity="sha512-5Hs3dF2AEPkpNAR7UiOHba+lRSJNeM2ECkwxUIxC1Q/FLycGTbNapWXB4tP889k5T5Ju8fs4b1P5z/iB4nMfSQ=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css">
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
<section class="bgevents" id="events">
<div class="container mx-auto py-12 sm:px-6 lg:px-8">
<!-- Event Section -->
<div class="grid grid-cols-1 md:grid-cols-2 items-center gap-8">
<!-- Text Content -->
<div>
<h2 class="text-5xl font-bold text-gray-800 mb-4">Upcoming Event</h2>
<h3 class="text-2xl font-semibold text-[#C03030] mb-2">BBQ Party | April 28, 2021 | 6 PM - 9 PM</h3>
<p class="text-gray-600 mb-6">
Aenean auctor wisi et urna, Aliquam erat volutpat. Duis ac turpis, Integer rutrum ante eu lacus.
Vestibulum libero nisl, porta vel, scelerisque eget, malesuada at, neque. Vivamus eget nibh. Etiam cursus leo vel metus.
</p>
<a href="#reservation" class="bg-[#C03030] text-white font-semibold py-2 px-6 rounded-lg hover:bg-red-600 transition duration-300">
Make a Reservation
</a>
</div>
<!-- Image Content -->
<div class="mt-12 md:mt-0">
<img src="../assests/images/event-image.png"
alt="Event Image"
class="object-cover rounded-lg shadow-md w-full max-w-sm md:max-w-5xl mx-auto">
</div>
</div>
</div>
</section>
<section class="map animation-trigger">
<div class="map-container">
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d56516.27776826243!2d85.2849327133915!3d27.709030242271083!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x39eb198a307baabf%3A0xb5137c1bf18db1ea!2sKathmandu%2044600!5e0!3m2!1sen!2snp!4v1733210258251!5m2!1sen!2snp"
width="100%"
height="450"
style="border:0;"
allowfullscreen=""
loading="lazy"
referrerpolicy="no-referrer-when-downgrade"
class="iframe-map"
></iframe>
</div>
</section>
<section class="contactInfo">
<div class="grid grid-cols-1 gap-8 mt-20">
<div class="p-6 shadow-xl bg-white border-double border-t-8 border-[#C03030] relative bottom-[80px]">
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4">
<?php foreach ($contactdata as $item) : ?>
<div class="text-start flex items-start">
<!-- Icon -->
<div>
<div class="flex items-center justify-center h-12 w-12 rounded-full mr-4 <?php echo $item['icon_color']; ?> bg-gray-200">
<i class="<?php echo $item['icon']; ?> text-2xl"></i>
</div>
</div>
<!-- Content -->
<div>
<h3 class="mt-2 text-lg font-semibold text-gray-900">
<?php echo $item['description']; ?>
</h3>
<p class="mt-1 text-gray-600 text-sm">
<?php echo $item['name']; ?>
</p>
</div>
</div>
<?php endforeach; ?>
</div>
</div>
</div>
</section>
</body>
</html>