-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
126 lines (114 loc) · 3.86 KB
/
index.html
File metadata and controls
126 lines (114 loc) · 3.86 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fresh Beverages Co.</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
background-color: #2c3e50;
color: white;
text-align: center;
padding: 2rem 0;
}
nav {
background-color: #34495e;
padding: 1rem;
}
nav ul {
list-style: none;
display: flex;
justify-content: center;
gap: 2rem;
}
nav a {
color: white;
text-decoration: none;
}
.hero {
background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://example.com/beverage-background.jpg');
background-size: cover;
color: white;
text-align: center;
padding: 4rem 0;
}
.products {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
padding: 2rem;
}
.product-card {
background: white;
padding: 1rem;
border-radius: 8px;
text-align: center;
}
footer {
background-color: #2c3e50;
color: white;
text-align: center;
padding: 1rem 0;
position: fixed;
bottom: 0;
width: 100%;
}
</style>
</head>
<body>
<header>
<h1>Fresh Beverages Co.</h1>
<p>Refreshing Drinks for Every Moment</p>
</header>
<nav>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#products">Products</a></li>
<li><a href="#about">About Us</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
<section class="hero">
<h2>Discover Our Premium Beverages</h2>
<p>Quench your thirst with our wide range of refreshing drinks</p>
<button style="padding: 1rem 2rem; background: #e74c3c; border: none; color: white; border-radius: 5px; cursor: pointer;">
Shop Now
</button>
</section>
<section class="products" id="products">
<div class="product-card">
<img src="placeholder-drink1.jpg" alt="Sparkling Water" style="max-width: 200px;">
<h3>Sparkling Water</h3>
<p>Natural minerals with refreshing bubbles</p>
<button style="background: #3498db; color: white; border: none; padding: 0.5rem 1rem; border-radius: 5px;">
Learn More
</button>
</div>
<div class="product-card">
<img src="placeholder-drink2.jpg" alt="Fruit Juice" style="max-width: 200px;">
<h3>Fruit Juice</h3>
<p>100% Natural, No Added Sugar</p>
<button style="background: #3498db; color: white; border: none; padding: 0.5rem 1rem; border-radius: 5px;">
Learn More
</button>
</div>
<div class="product-card">
<img src="placeholder-drink3.jpg" alt="Energy Drink" style="max-width: 200px;">
<h3>Energy Drink</h3>
<p>Boost Your Day</p>
<button style="background: #3498db; color: white; border: none; padding: 0.5rem 1rem; border-radius: 5px;">
Learn More
</button>
</div>
</section>
<footer>
<p>© 2023 Fresh Beverages Co. All rights reserved.</p>
</footer>
</body>
</html>