-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrestaurants.html
107 lines (95 loc) · 2.83 KB
/
restaurants.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Restaurants - Travel Companion</title>
<style>
/* General page styling */
body {
font-family: 'Poppins', sans-serif;
background: linear-gradient(135deg, #74ebd5, #acb6e5);
color: #333;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
}
/* Header styling */
.header {
width: 100%;
background: #007bff;
color: white;
padding: 15px;
font-size: 24px;
font-weight: bold;
text-align: center;
position: fixed;
top: 0;
left: 0;
}
/* Main content section */
.content {
margin-top: 80px;
text-align: center;
padding: 20px;
}
/* Restaurant list container */
.restaurant-list {
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
margin-top: 20px;
}
/* Individual restaurant item styling */
.restaurant-item {
background: rgba(255, 255, 255, 0.9);
padding: 15px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
width: 80%;
max-width: 500px;
text-align: left;
}
/* Back button styling */
.back-btn {
margin-top: 20px;
text-align: center;
}
/* Back button styling */
.back-btn a {
background: #007bff;
color: white;
padding: 12px 20px;
border-radius: 8px;
text-decoration: none;
font-size: 16px;
transition: background 0.3s;
}
/* Back button hover effect */
.back-btn a:hover {
background: #003f7f;
}
</style>
</head>
<body>
<!-- Header section -->
<div class="header">Restaurants</div>
<!-- Main content section -->
<div class="content">
<h2>Find the Best Restaurants</h2>
<!-- Restaurant listings -->
<div class="restaurant-list">
<div class="restaurant-item">🍽️ Restaurant 1 - <strong>Highest-rated</strong></div>
<div class="restaurant-item">🍽️ Restaurant 2 - <strong>Best seafood</strong></div>
<div class="restaurant-item">🍽️ Restaurant 3 - <strong>Cozy atmosphere</strong></div>
</div>
<!-- Back to homepage button -->
<div class="back-btn">
<a href="homepage.html">Back to Homepage</a>
</div>
</div>
</body>
</html>