-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
165 lines (164 loc) · 4.8 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Products - RateGhana</title>
<link rel="icon" href="logo.png" type="image/png">
<link rel="stylesheets" href="index.css">
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f9f9f9;
color: #333;
line-height: 1.6;
}
header {
background-color: #fff;
color: #333;
padding: 1rem 2rem;
display: flex;
align-items: center;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
header h1 {
font-size: 1.5rem;
margin: 0;
color: #007f00;
border-radius: 25px;
}
nav {
display: flex;
justify-content: center;
gap: 1rem;
background-color: #f9f9f9;
padding: 0.75rem 0;
border-bottom: 1px solid #e0e0e0;
}
nav a {
color: #007f00; /* Green color */
text-decoration: none;
font-weight: 500;
padding: 0.5rem 1rem;
border-radius: 20px;
transition: background-color 0.3s, color 0.3s;
}
nav a:hover {
background-color: #007f00; /* Green color */
color: white;
}
main {
padding: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.review-form {
background: #fff;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin-top: 2rem;
}
.review-form h2 {
margin-top: 0;
}
.review-form input, .review-form textarea, .review-form button {
width: 100%;
padding: 0.75rem;
margin: 0.5rem 0;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 1rem;
}
.review-form button {
background-color: #007f00; /* Green color */
color: white;
border: none;
cursor: pointer;
font-size: 1rem;
transition: background-color 0.3s;
}
.review-form button:hover {
background-color: #005700; /* Darker green */
}
.reviews {
margin-top: 2rem;
}
.reviews h2 {
margin-top: 0;
}
.review {
background: #fff;
padding: 1rem;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin-bottom: 1rem;
}
footer {
text-align: center;
padding: 1rem;
background-color: #f1f1f1;
color: #333;
border-top: 1px solid #ccc;
}
/* Responsive Styles */
@media (max-width: 768px) {
nav {
flex-direction: column;
gap: 0.5rem;
padding: 1rem;
}
.review-form, .reviews {
padding: 1rem;
}
}
@media (max-width: 480px) {
header {
flex-direction: column;
text-align: center;
}
main {
padding: 1rem;
}
}
</style>
</head>
<body>
<header>
<h1 class="logo">RateGhana,<span id="bio" style="font-size: 20px; color: #333;" > your guide to all things Ghana</span></h1>
</header>
<nav>
<a href="index.html">Home</a>
<a href="places.html">Places</a>
<a href="products.html">Products</a>
<a href="services.html">Services</a>
</nav>
<main>
<h2>Products in Ghana</h2>
<div class="reviews">
<h2>Posted Reviews</h2>
<div class="review">
<h3>Smartphone</h3>
<p>Amazing performance and great battery life. Totally worth the price!</p>
</div>
<div class="review">
<h3>Blender</h3>
<p>Very efficient and easy to use. Perfect for making smoothies and soups.</p>
</div>
</div>
<div class="review-form">
<h2>Post Your Review</h2>
<form>
<input type="text" placeholder="Product Name" required>
<textarea placeholder="Your Review" rows="5" required></textarea>
<button type="submit">Submit Review</button>
</form>
</div>
</main>
<footer>
<p>© 2025 RateGhana. All rights reserved.</p>
</footer>
</body>
</html>