commit bfb8fc5fb468c5b9665ee6f3d98dc8c630d84fc8 Author: Aashish_Nepal Date: Wed Dec 11 15:19:08 2024 +0545 Initial commit diff --git a/assests/css/header.css b/assests/css/header.css new file mode 100644 index 0000000..5c0295c --- /dev/null +++ b/assests/css/header.css @@ -0,0 +1,37 @@ + +html { + scroll-behavior: smooth; +} + +body { +padding-top: 4rem; +} + + +.navbar-fixed { +position: fixed; +top: 0; +left: 0; +right: 0; +z-index: 50; +width: 100%; +padding: 0 0; +transition: background-color 0.3s ease; +} + +.navbar-fixed.bg-red-500 a { +color: white !important; +} + + + +.navbar-fixed ul { +background-color: transparent; +} + + +.navbar-fixed.bg-red-500 ul { +background-color: #C03030; +} + + diff --git a/assests/css/styles.css b/assests/css/styles.css new file mode 100644 index 0000000..840b79d --- /dev/null +++ b/assests/css/styles.css @@ -0,0 +1,75 @@ + +html { + scroll-behavior: smooth; + } + +body { + padding-top: 4rem; +} + + .menu-overlay { + position: absolute; + inset: 0; + background-color: black; + opacity: 0.5; + transition: opacity 0.5s ease; +} + +.group:hover .menu-overlay { + opacity: 0.6; +} + +.headul{ + background-color: black; +} + +.headul .home{ + font-weight: bolder +} + +.headul a{ + font-weight: 400; +} + + + +.bgabout { + background-image: url(https://velikorodnov.com/wordpress/steakhouse/wp-content/uploads/2021/01/1920x744_bg1.jpg); + background-size: cover; + background-position: center; + height: 600px; +} + + +.bgmenu { + background-image: url(https://velikorodnov.com/wordpress/steakhouse/wp-content/uploads/2021/01/tomatos.png); + background-position: right; + background-repeat: no-repeat; + background-size: 30%; + height: 600px; +} + +.bgtest{ + background-image: url(https://velikorodnov.com/wordpress/steakhouse/wp-content/uploads/2020/12/1920x664_bg1.jpg); + background-position: center; + background-repeat: no-repeat; + background-size: 100%; + height: 600px; +} + +.bgfixedimg{ + background-image: url('https://velikorodnov.com/wordpress/steakhouse/wp-content/uploads/2021/01/1920x1000_bg1.jpg'); + background-size: cover; + background-attachment: fixed; + background-position: center; + height: 90vh; +} + +.bgevents{ + background-image: url('https://velikorodnov.com/wordpress/steakhouse/wp-content/uploads/2021/01/1920x648_bg1.jpg'); + background-size: cover; +} + +.bgfoot{ + background-image: url('https://velikorodnov.com/wordpress/steakhouse/wp-content/uploads/2020/12/1920x568_fbg1.jpg'); +} diff --git a/assests/data/aboutdata.php b/assests/data/aboutdata.php new file mode 100644 index 0000000..c2f291f --- /dev/null +++ b/assests/data/aboutdata.php @@ -0,0 +1,27 @@ + 'Premium Quality', + 'description' => 'Sed laoreet aliquam leo. Ut tellus dolor, dapibus eget, cursus elementum vel cursus.', + 'icon' => 'fas fa-thumbs-up', + 'bg_color' => 'bg-red-100', + 'icon_color' => 'text-red-500', + ], + [ + 'name' => '100% ECO Ingredients', + 'description' => 'Aenean auctor wisi et urna. Aliquam erat volutpat. Duis ac turpis. Integer rutrum ante eu lacus.', + 'icon' => 'fas fa-leaf', + 'bg_color' => 'bg-green-100', + 'icon_color' => 'text-green-500', + ], + [ + 'name' => 'Wood-burned Grill', + 'description' => 'Suspendisse sollicitudin velit sed leo. Ut pharetra augue nec augue.', + 'icon' => 'fas fa-fire', + 'bg_color' => 'bg-yellow-100', + 'icon_color' => 'text-yellow-500', + ] +]; +?> diff --git a/assests/data/contactdata.php b/assests/data/contactdata.php new file mode 100644 index 0000000..f783527 --- /dev/null +++ b/assests/data/contactdata.php @@ -0,0 +1,23 @@ + "fas fa-phone", // Font Awesome class or custom icon + "icon_color" => "text-red-500", // Tailwind color classes + "name" => "Contact Us", + "description" => "+1 800 603 6035
mail@companyname.com" + ], + [ + "icon" => "fas fa-map-marker-alt", + "icon_color" => "text-green-500", + "name" => "Get Direction", + "description" => "56 12th Ave,
New York, NY 10011" + ], + [ + "icon" => "fas fa-clock", + "icon_color" => "text-blue-500", + "name" => "Opening Hours", + "description" => "Monday – Saturday:
Noon – 11:30 PM" + ] +]; +?> \ No newline at end of file diff --git a/assests/data/testimonialsdata.php b/assests/data/testimonialsdata.php new file mode 100644 index 0000000..f3392c8 --- /dev/null +++ b/assests/data/testimonialsdata.php @@ -0,0 +1,24 @@ + 5, + 'review' => 'Ut tellus doloruris fermentum dictum magna. Sed laoreet aliquam leo dapibus eget, elementum vel, cursus eleifend, elit. Aenean auctor wisi et urna. Aliquam erat volutpat. Duis ac turpis.', + 'author' => 'Rebecca Johnson, CA, USA', + 'image' => 'https://velikorodnov.com/wordpress/steakhouse/wp-content/uploads/2020/09/visor.png' + ], + [ + 'rating' => 5, + 'review' => 'Ut tellus doloruris fermentum dictum magna. Sed laoreet aliquam leo dapibus eget, elementum vel, cursus eleifend, elit. Aenean auctor wisi et urna. Aliquam erat volutpat. Duis ac turpis.', + 'author' => 'Marta Healy, CA, USA', + 'image' => 'https://velikorodnov.com/wordpress/steakhouse/wp-content/uploads/2020/09/visor.png' + ], + [ + 'rating' => 5, + 'review' => 'Ut tellus doloruris fermentum dictum magna. Sed laoreet aliquam leo dapibus eget, elementum vel, cursus eleifend, elit. Aenean auctor wisi et urna. Aliquam erat volutpat. Duis ac turpis.', + 'author' => 'Mark & Rebecca Johnson, CA, USA', + 'image' => 'https://velikorodnov.com/wordpress/steakhouse/wp-content/uploads/2020/09/visor.png' + ] +]; + +?> diff --git a/assests/images/about-image.jpg b/assests/images/about-image.jpg new file mode 100644 index 0000000..dfd6f2b Binary files /dev/null and b/assests/images/about-image.jpg differ diff --git a/assests/images/carousel-img-one.jpg b/assests/images/carousel-img-one.jpg new file mode 100644 index 0000000..c7e8155 Binary files /dev/null and b/assests/images/carousel-img-one.jpg differ diff --git a/assests/images/carousel-img-three.jpg b/assests/images/carousel-img-three.jpg new file mode 100644 index 0000000..02913b8 Binary files /dev/null and b/assests/images/carousel-img-three.jpg differ diff --git a/assests/images/carousel-img-two.jpg b/assests/images/carousel-img-two.jpg new file mode 100644 index 0000000..a5863c7 Binary files /dev/null and b/assests/images/carousel-img-two.jpg differ diff --git a/assests/images/event-image.png b/assests/images/event-image.png new file mode 100644 index 0000000..ef86b3c Binary files /dev/null and b/assests/images/event-image.png differ diff --git a/assests/images/footer-image.png b/assests/images/footer-image.png new file mode 100644 index 0000000..f381f91 Binary files /dev/null and b/assests/images/footer-image.png differ diff --git a/assests/images/logo-1.png b/assests/images/logo-1.png new file mode 100644 index 0000000..a5d6f7c Binary files /dev/null and b/assests/images/logo-1.png differ diff --git a/assests/images/logo-2.png b/assests/images/logo-2.png new file mode 100644 index 0000000..136c00b Binary files /dev/null and b/assests/images/logo-2.png differ diff --git a/assests/images/logo.png b/assests/images/logo.png new file mode 100644 index 0000000..ef8cfa1 Binary files /dev/null and b/assests/images/logo.png differ diff --git a/assests/images/menu-image-four.jpg b/assests/images/menu-image-four.jpg new file mode 100644 index 0000000..39fdc4e Binary files /dev/null and b/assests/images/menu-image-four.jpg differ diff --git a/assests/images/menu-image-one.jpg b/assests/images/menu-image-one.jpg new file mode 100644 index 0000000..8ceb337 Binary files /dev/null and b/assests/images/menu-image-one.jpg differ diff --git a/assests/images/menu-image-three.jpg b/assests/images/menu-image-three.jpg new file mode 100644 index 0000000..e973106 Binary files /dev/null and b/assests/images/menu-image-three.jpg differ diff --git a/assests/images/menu-image-two.jpg b/assests/images/menu-image-two.jpg new file mode 100644 index 0000000..f132d83 Binary files /dev/null and b/assests/images/menu-image-two.jpg differ diff --git a/assests/js/nav.js b/assests/js/nav.js new file mode 100644 index 0000000..0f3307e --- /dev/null +++ b/assests/js/nav.js @@ -0,0 +1 @@ +import 'flowbite'; \ No newline at end of file diff --git a/assests/js/testimonials.js b/assests/js/testimonials.js new file mode 100644 index 0000000..13d0926 --- /dev/null +++ b/assests/js/testimonials.js @@ -0,0 +1,35 @@ +let currentIndex = 0; +const carousel = document.getElementById('carousel'); +const slides = carousel.children; +const totalSlides = slides.length; +const dots = document.querySelectorAll("[id^='dot-']"); + +// Update the carousel's position and the active pagination dot +function updateCarousel() { + carousel.style.transform = `translateX(-${currentIndex * 100}%)`; + dots.forEach((dot, index) => { + dot.classList.toggle('bg-gray-600', index === currentIndex); + dot.classList.toggle('bg-gray-400', index !== currentIndex); + }); +} + +// Go to the next slide +function nextSlide() { + currentIndex = (currentIndex + 1) % totalSlides; + updateCarousel(); +} + +// Go to the previous slide +function prevSlide() { + currentIndex = (currentIndex - 1 + totalSlides) % totalSlides; + updateCarousel(); +} + +// Navigate to a specific slide +function goToSlide(index) { + currentIndex = index; + updateCarousel(); +} + +// Auto-slide functionality +setInterval(nextSlide, 5000); // Slide changes every 5 seconds diff --git a/includes/footer.php b/includes/footer.php new file mode 100644 index 0000000..50e936c --- /dev/null +++ b/includes/footer.php @@ -0,0 +1,76 @@ + + + + + + + Footer + + + + + + + + + \ No newline at end of file diff --git a/includes/header.php b/includes/header.php new file mode 100644 index 0000000..d37a6ac --- /dev/null +++ b/includes/header.php @@ -0,0 +1,118 @@ + + + + + + + Hotel Website + + + + + + + + + + +
+ +
+ + + + + + + + diff --git a/includes/testimonials.php b/includes/testimonials.php new file mode 100644 index 0000000..5d31a23 --- /dev/null +++ b/includes/testimonials.php @@ -0,0 +1,82 @@ + + + + + + + + + + Hotel Website - About Us + + + + + + + + +
+ +
+ +
+
+
+
+ + + + + diff --git a/templates/about.php b/templates/about.php new file mode 100644 index 0000000..7ac0ef1 --- /dev/null +++ b/templates/about.php @@ -0,0 +1,81 @@ + + + + + + + + + Hotel Website - About Us + + + + + + + +
+
+ +
+ +
+

About Us

+

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed quis eros at lacus feugiat hendrerit sed ut tortor. Suspendisse et magna quis elit efficitur consequat. Mauris eleifend velit a pretium iaculis. Donec sagittis velit et magna euismod, vel aliquet nulla malesuada. Nunc pharetra massa lectus, a fermentum arcu volutpat vel. +

+ +
+ +
+ About Us Image +
+
+ + +
+ +
+
+ +
+ +
+
+ +
+
+ +
+

+ +

+

+ +

+
+
+ +
+
+ +
+ +
+
+ + + + + diff --git a/templates/events.php b/templates/events.php new file mode 100644 index 0000000..f40484c --- /dev/null +++ b/templates/events.php @@ -0,0 +1,93 @@ + + + + + + + + + Events + + + + + + +
+
+ +
+ +
+

Upcoming Event

+

BBQ Party | April 28, 2021 | 6 PM - 9 PM

+

+ 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. +

+ + Make a Reservation + +
+ + +
+ Event Image +
+
+
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+ +
+
+ +
+
+ +
+

+ +

+

+ +

+
+
+ +
+
+
+ +
+ + + \ No newline at end of file diff --git a/templates/home.php b/templates/home.php new file mode 100644 index 0000000..4479fc7 --- /dev/null +++ b/templates/home.php @@ -0,0 +1,198 @@ + + + + + + + + Hotel Website + + + + + + + + + + +
+
+ +
+ + + +
+ + +
+ + + + + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/templates/index.php b/templates/index.php new file mode 100644 index 0000000..719638a --- /dev/null +++ b/templates/index.php @@ -0,0 +1,28 @@ + diff --git a/templates/menu.php b/templates/menu.php new file mode 100644 index 0000000..de77a74 --- /dev/null +++ b/templates/menu.php @@ -0,0 +1,55 @@ + + + + + + + Hotel Website - About Us + + + + + + + + + + + diff --git a/templates/reservation.php b/templates/reservation.php new file mode 100644 index 0000000..bddf9ed --- /dev/null +++ b/templates/reservation.php @@ -0,0 +1,64 @@ + + + + + + + Hotel Website + + + + + + +
+
+ +
+

Make a Reservation

+
+ + +
+
+ +
+ + + +
+ +

Powered by OpenTable

+
+
+ + +
+ + + + +
+ + +
+ + + + +
+ + + +
+
+
+
+ + + + \ No newline at end of file