-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
136 lines (123 loc) · 4.71 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Restaurant Website</title>
<link rel="stylesheet" href="style.css" />
<script
src="https://kit.fontawesome.com/7a4b62b0a4.js"
crossorigin="anonymous"
></script>
</head>
<body>
<nav>
<div class="navigation container">
<div class="logo_container">
<img src="images/logo.png" alt="logo" />
</div>
<div class="bar_icon">
<i class="fas fa-bars"></i>
</div>
</div>
</nav>
<!-- Main Hero Section -->
<div class="container">
<div class="hero">
<!-- ... (existing code) ... -->
</div>
</div>
<div class="slider-container">
<div class="slider">
<div class="slide" style="background-image: url('images/grid_image1.png');"></div>
<div class="slide" style="background-image: url('images/grid_image2.png');"></div>
<div class="slide" style="background-image: url('images/grid_image3.png');"></div>
<div class="slide" style="background-image: url('images/grid_image4.png');"></div>
<div class="slide" style="background-image: url('images/grid_image5.png');"></div>
<div class="slide" style="background-image: url('images/grid_image6.png');"></div>
<div class="slide" style="background-image: url('images/grid_image7.png');"></div>
</div>
</div>
<script>
// JavaScript for sliding the images
const slider = document.querySelector('.slider');
let slideIndex = 0;
function nextSlide() {
slideIndex++;
if (slideIndex === 7) {
slideIndex = 0;
}
updateSlider();
}
function updateSlider() {
slider.style.transform = `translateX(-${slideIndex * 20}vw)`;
}
setInterval(nextSlide, 2000); // Auto-slide every 3 seconds
</script>
<section class="features">
<!-- ... (existing code) ... -->
</section>
<div class="divider"></div>
<div class="menu">
<!-- ... (existing code) ... -->
</div>
<div class="reservation">
<!-- ... (existing code) ... -->
</div>
<!-- Testimonials Section -->
<section class="testimonials">
<div class="container">
<h2>What Our Customers Say</h2>
<div class="testimonial">
<img src="images/customer1.jpg" alt="Customer 1" />
<p>"Delicious food and excellent service! I'll definitely be coming back."</p>
<h4>John Doe</h4>
</div>
<div class="testimonial">
<img src="images/customer2.jpg" alt="Customer 2" />
<p>"The best restaurant in town! The flavors are amazing, and the staff is friendly."</p>
<h4>Jane Smith</h4>
</div>
<!-- Add more testimonials as needed -->
</div>
</section>
<footer>
<div class="footer_container">
<!-- <img src="images/logo.png" alt=""> -->
<div class="footer-section1">
<img src="images/logo 2.png" alt="logo" width="120px">
<div class="quick-access">
<a href="#">Home</a>
<a href="#">About Us</a>
<a href="#">Contact Us</a>
</div>
<p>© 2023. All Rights Reserved.</p>
</div>
<div class="footer-section2">
<div>
<i class="fa fa-map-marker" style="color: #fff0db;"></i>
<p>68 Meadowbrook St <br> Bettendorf, IA 52722.</p>
</div>
<div>
<i class="fa fa-phone" style="color: #fff0db;"></i>
<p>+12018577757</p>
</div>
<div>
<i class="fa fa-envelope" style="color: #fff0db;"></i>
<p><a href="mailto:[email protected]">[email protected]</a></p>
</div>
</div>
<div class="footer-section3">
<p>
<span>Follow us on:</span>
</p>
<div class="social-icon">
<a href="#"><i class="fa fa-facebook" ></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-linkedin"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
</div>
</div>
</footer>
</body>
</html>