akhaliq HF Staff commited on
Commit
8c5ebc6
·
verified ·
1 Parent(s): f50450a

Upload folder using huggingface_hub

Browse files
assets/css/styles.css ADDED
@@ -0,0 +1,213 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ :root {
2
+ --primary: #5D4037;
3
+ --secondary: #8D6E63;
4
+ --accent: #FFCC80;
5
+ --light: #FFF8E1;
6
+ --dark: #3E2723;
7
+ --text: #4E342E;
8
+ }
9
+
10
+ * {
11
+ margin: 0;
12
+ padding: 0;
13
+ box-sizing: border-box;
14
+ }
15
+
16
+ body {
17
+ font-family: 'Montserrat', sans-serif;
18
+ line-height: 1.6;
19
+ color: var(--text);
20
+ background-color: var(--light);
21
+ }
22
+
23
+ header {
24
+ background: var(--primary);
25
+ color: white;
26
+ padding: 1rem;
27
+ position: fixed;
28
+ width: 100%;
29
+ top: 0;
30
+ z-index: 100;
31
+ }
32
+
33
+ nav {
34
+ display: flex;
35
+ justify-content: space-between;
36
+ align-items: center;
37
+ max-width: 1200px;
38
+ margin: 0 auto;
39
+ }
40
+
41
+ .logo {
42
+ font-size: 1.5rem;
43
+ font-weight: bold;
44
+ }
45
+
46
+ .nav-links {
47
+ display: flex;
48
+ list-style: none;
49
+ }
50
+
51
+ .nav-links li {
52
+ margin-left: 2rem;
53
+ }
54
+
55
+ .nav-links a {
56
+ color: white;
57
+ text-decoration: none;
58
+ transition: color 0.3s;
59
+ }
60
+
61
+ .nav-links a:hover {
62
+ color: var(--accent);
63
+ }
64
+
65
+ .burger {
66
+ display: none;
67
+ cursor: pointer;
68
+ }
69
+
70
+ .burger span {
71
+ display: block;
72
+ width: 25px;
73
+ height: 3px;
74
+ margin: 5px 0;
75
+ background-color: white;
76
+ }
77
+
78
+ .hero {
79
+ height: 100vh;
80
+ display: flex;
81
+ align-items: center;
82
+ justify-content: center;
83
+ background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://picsum.photos/seed/coffee/1600/900.jpg');
84
+ background-size: cover;
85
+ background-position: center;
86
+ text-align: center;
87
+ color: white;
88
+ padding: 0 1rem;
89
+ }
90
+
91
+ .hero-text h1 {
92
+ font-size: 3rem;
93
+ margin-bottom: 1rem;
94
+ }
95
+
96
+ .hero-text p {
97
+ font-size: 1.2rem;
98
+ margin-bottom: 2rem;
99
+ }
100
+
101
+ .cta {
102
+ display: inline-block;
103
+ background: var(--accent);
104
+ color: var(--dark);
105
+ padding: 0.8rem 1.5rem;
106
+ text-decoration: none;
107
+ border-radius: 4px;
108
+ font-weight: bold;
109
+ transition: transform 0.3s;
110
+ }
111
+
112
+ .cta:hover {
113
+ transform: translateY(-3px);
114
+ }
115
+
116
+ section {
117
+ padding: 4rem 1rem;
118
+ max-width: 1200px;
119
+ margin: 0 auto;
120
+ }
121
+
122
+ section h2 {
123
+ text-align: center;
124
+ margin-bottom: 3rem;
125
+ color: var(--primary);
126
+ font-size: 2.5rem;
127
+ }
128
+
129
+ .menu-items {
130
+ display: grid;
131
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
132
+ gap: 2rem;
133
+ }
134
+
135
+ .menu-item {
136
+ background: white;
137
+ padding: 2rem;
138
+ border-radius: 8px;
139
+ box-shadow: 0 4px 6px rgba(0,0,0,0.1);
140
+ transition: transform 0.3s;
141
+ }
142
+
143
+ .menu-item:hover {
144
+ transform: translateY(-5px);
145
+ }
146
+
147
+ .menu-item h3 {
148
+ margin-bottom: 0.5rem;
149
+ color: var(--primary);
150
+ }
151
+
152
+ .price {
153
+ font-weight: bold;
154
+ color: var(--secondary);
155
+ margin-bottom: 1rem;
156
+ }
157
+
158
+ .about {
159
+ background: white;
160
+ text-align: center;
161
+ }
162
+
163
+ .contact {
164
+ background: var(--primary);
165
+ color: white;
166
+ text-align: center;
167
+ }
168
+
169
+ .contact h2 {
170
+ color: white;
171
+ }
172
+
173
+ .contact-info p {
174
+ margin: 0.5rem 0;
175
+ }
176
+
177
+ footer {
178
+ background: var(--dark);
179
+ color: white;
180
+ text-align: center;
181
+ padding: 1rem;
182
+ }
183
+
184
+ @media screen and (max-width: 768px) {
185
+ .nav-links {
186
+ position: absolute;
187
+ right: 0;
188
+ top: 70px;
189
+ background: var(--primary);
190
+ width: 100%;
191
+ flex-direction: column;
192
+ align-items: center;
193
+ padding: 1rem 0;
194
+ transform: translateY(-100%);
195
+ transition: transform 0.5s;
196
+ }
197
+
198
+ .nav-links.active {
199
+ transform: translateY(0);
200
+ }
201
+
202
+ .nav-links li {
203
+ margin: 1rem 0;
204
+ }
205
+
206
+ .burger {
207
+ display: block;
208
+ }
209
+
210
+ .hero-text h1 {
211
+ font-size: 2rem;
212
+ }
213
+ }
assets/js/script.js ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ document.addEventListener('DOMContentLoaded', function() {
2
+ const burger = document.querySelector('.burger');
3
+ const navLinks = document.querySelector('.nav-links');
4
+
5
+ burger.addEventListener('click', function() {
6
+ navLinks.classList.toggle('active');
7
+ });
8
+
9
+ // Close mobile menu when clicking on a link
10
+ document.querySelectorAll('.nav-links a').forEach(link => {
11
+ link.addEventListener('click', () => {
12
+ navLinks.classList.remove('active');
13
+ });
14
+ });
15
+ });
file:/tmp/anycoder_media/image_20250824_225559_9ca385e4_generated_image_0.jpg ADDED
index.html CHANGED
@@ -1,19 +1,79 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Brew Perfect | Artisan Coffee</title>
7
+ <meta name="description" content="Artisanal coffee shop brewing the perfect cup since 2015">
8
+ <link rel="stylesheet" href="assets/css/styles.css">
9
+ <link rel="preconnect" href="https://fonts.googleapis.com">
10
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
11
+ <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <header>
15
+ <nav>
16
+ <div class="logo">Brew Perfect</div>
17
+ <ul class="nav-links">
18
+ <li><a href="#menu">Menu</a></li>
19
+ <li><a href="#about">About</a></li>
20
+ <li><a href="#contact">Contact</a></li>
21
+ </ul>
22
+ <div class="burger"><span></span><span></span><span></span></div>
23
+ </nav>
24
+ </header>
25
+
26
+ <section class="hero">
27
+ <div class="hero-text">
28
+ <h1>Crafted with Passion</h1>
29
+ <p>Experience the art of coffee with our expertly roasted beans</p>
30
+ <a href="#menu" class="cta">View Our Menu</a>
31
+ </div>
32
+ <div class="hero-image">
33
+ <img src="https://huggingface.co/datasets/akhaliq/anycoder-media/resolve/main/image/20250824_225843_b0ccc994_generated_image_0.jpg" alt="cup full of coffee" style="max-width: 100%; height: auto; border-radius: 8px; margin: 10px 0;" loading="lazy" />
34
+ </div>
35
+ </section>
36
+
37
+ <section id="menu" class="menu">
38
+ <h2>Our Signature Brews</h2>
39
+ <div class="menu-items">
40
+ <div class="menu-item">
41
+ <h3>Espresso</h3>
42
+ <p class="price">$3.50</p>
43
+ <p>Rich and bold with notes of dark chocolate</p>
44
+ </div>
45
+ <div class="menu-item">
46
+ <h3>Cappuccino</h3>
47
+ <p class="price">$4.25</p>
48
+ <p>Perfect balance of espresso, steamed milk, and foam</p>
49
+ </div>
50
+ <div class="menu-item">
51
+ <h3>Pour Over</h3>
52
+ <p class="price">$5.00</p>
53
+ <p>Single-origin beans brewed to highlight unique flavors</p>
54
+ </div>
55
+ </div>
56
+ </section>
57
+
58
+ <section id="about" class="about">
59
+ <h2>Our Story</h2>
60
+ <p>Founded in 2015, Brew Perfect began with a simple mission: to serve the most exceptional coffee in town. We source our beans directly from sustainable farms around the world and roast them in-house to ensure maximum freshness and flavor.</p>
61
+ </section>
62
+
63
+ <section id="contact" class="contact">
64
+ <h2>Visit Us</h2>
65
+ <div class="contact-info">
66
+ <p>123 Coffee Street</p>
67
+ <p>Portland, OR 97201</p>
68
+ <p>Hours: Mon-Fri 7am-6pm, Sat-Sun 8am-7pm</p>
69
+ <p>Phone: (555) 123-4567</p>
70
+ </div>
71
+ </section>
72
+
73
+ <footer>
74
+ <p>&copy; 2023 Brew Perfect. All rights reserved.</p>
75
+ </footer>
76
+
77
+ <script src="assets/js/script.js"></script>
78
+ </body>
79
+ </html>