yogasri77 commited on
Commit
8de8367
·
verified ·
1 Parent(s): f3877dd

Warna nya terlalu kontrak font kuning dengan background putih nya, bisa kasih warna lain

Browse files
Files changed (1) hide show
  1. index.html +27 -28
index.html CHANGED
@@ -12,13 +12,15 @@
12
  theme: {
13
  extend: {
14
  colors: {
15
- primary: '#FDE047',
16
- secondary: '#FEF9C3',
 
 
17
  }
18
  }
19
  }
20
  }
21
- </script>
22
  <style>
23
  .hero-height {
24
  height: 80vh;
@@ -35,8 +37,8 @@
35
  </head>
36
  <body class="bg-white font-sans">
37
  <!-- Navigation -->
38
- <nav class="bg-primary shadow-md sticky top-0 z-50">
39
- <div class="container mx-auto px-4 py-3 flex justify-between items-center">
40
  <div class="flex items-center">
41
  <span class="text-2xl font-bold text-white">Nusa Rasa</span>
42
  </div>
@@ -60,14 +62,13 @@
60
  <a href="#contact" class="block py-2 text-white hover:text-yellow-200">Kontak</a>
61
  </div>
62
  </nav>
63
-
64
  <!-- Hero Section -->
65
  <section id="home" class="hero-height bg-gradient-to-b from-primary to-secondary relative overflow-hidden">
66
  <div class="container mx-auto h-full flex flex-col justify-center items-center text-center px-4">
67
- <h1 class="text-4xl md:text-6xl font-bold text-white mb-4">Bakpia Kukus Nusa Rasa</h1>
68
- <p class="text-xl md:text-2xl text-white mb-8">Kelezatan Tanpa Batas dalam Setiap Gigitan</p>
69
- <a href="#products" class="bg-white text-primary px-8 py-3 rounded-full font-bold hover:bg-yellow-50 transition duration-300">Lihat Produk</a>
70
- </div>
71
  </section>
72
 
73
  <!-- Carousel Section -->
@@ -93,10 +94,9 @@
93
  </div>
94
  </div>
95
  </section>
96
-
97
  <!-- Products Section -->
98
- <section id="products" class="py-16 bg-secondary">
99
- <div class="container mx-auto px-4">
100
  <h2 class="text-3xl font-bold text-center text-gray-800 mb-12">Varian Rasa</h2>
101
  <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
102
  <!-- Product 1 -->
@@ -106,9 +106,9 @@
106
  <h3 class="text-xl font-bold text-gray-800 mb-2">Pandan Cokelat</h3>
107
  <p class="text-gray-600 mb-4">Perpaduan unik aroma pandan dengan cokelat lembut yang meleleh di mulut.</p>
108
  <div class="flex justify-between items-center">
109
- <span class="text-primary font-bold text-lg">Rp 25.000</span>
110
- <button class="bg-primary text-white px-4 py-2 rounded-full hover:bg-yellow-500 transition duration-300">Pesan</button>
111
- </div>
112
  </div>
113
  </div>
114
  <!-- Product 2 -->
@@ -118,9 +118,9 @@
118
  <h3 class="text-xl font-bold text-gray-800 mb-2">Original Cokelat</h3>
119
  <p class="text-gray-600 mb-4">Cita rasa cokelat klasik dengan tekstur lembut khas bakpia kukus.</p>
120
  <div class="flex justify-between items-center">
121
- <span class="text-primary font-bold text-lg">Rp 22.000</span>
122
- <button class="bg-primary text-white px-4 py-2 rounded-full hover:bg-yellow-500 transition duration-300">Pesan</button>
123
- </div>
124
  </div>
125
  </div>
126
  <!-- Product 3 -->
@@ -130,9 +130,9 @@
130
  <h3 class="text-xl font-bold text-gray-800 mb-2">Original Keju</h3>
131
  <p class="text-gray-600 mb-4">Keju lezat yang menyatu sempurna dengan adonan bakpia yang lembut.</p>
132
  <div class="flex justify-between items-center">
133
- <span class="text-primary font-bold text-lg">Rp 24.000</span>
134
- <button class="bg-primary text-white px-4 py-2 rounded-full hover:bg-yellow-500 transition duration-300">Pesan</button>
135
- </div>
136
  </div>
137
  </div>
138
  </div>
@@ -170,19 +170,18 @@
170
  </div>
171
  </div>
172
  </section>
173
-
174
  <!-- CTA Section -->
175
- <section id="contact" class="py-16 bg-primary">
176
  <div class="container mx-auto px-4 text-center">
177
  <h2 class="text-3xl font-bold text-white mb-6">Pesan Sekarang!</h2>
178
- <p class="text-white text-xl mb-8">Nikmati kelezatan Bakpia Kukus Nusa Rasa langsung di rumah Anda</p>
179
  <div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4">
180
- <a href="https://wa.me/6281234567890" class="bg-white text-primary px-8 py-4 rounded-full font-bold hover:bg-yellow-50 transition duration-300 flex items-center justify-center">
181
  <i data-feather="message-circle" class="mr-2"></i> WhatsApp Kami
182
  </a>
183
- <a href="tel:02741234567" class="bg-white text-primary px-8 py-4 rounded-full font-bold hover:bg-yellow-50 transition duration-300 flex items-center justify-center">
184
  <i data-feather="phone" class="mr-2"></i> Telepon Kami
185
- </a>
186
  </div>
187
  </div>
188
  </section>
 
12
  theme: {
13
  extend: {
14
  colors: {
15
+ primary: '#E879F9', // soft purple
16
+ secondary: '#F5D0FE', // light purple
17
+ dark: '#4A044E', // deep purple
18
+ light: '#FAF5FF' // very light purple
19
  }
20
  }
21
  }
22
  }
23
+ </script>
24
  <style>
25
  .hero-height {
26
  height: 80vh;
 
37
  </head>
38
  <body class="bg-white font-sans">
39
  <!-- Navigation -->
40
+ <nav class="bg-dark shadow-md sticky top-0 z-50">
41
+ <div class="container mx-auto px-4 py-3 flex justify-between items-center">
42
  <div class="flex items-center">
43
  <span class="text-2xl font-bold text-white">Nusa Rasa</span>
44
  </div>
 
62
  <a href="#contact" class="block py-2 text-white hover:text-yellow-200">Kontak</a>
63
  </div>
64
  </nav>
 
65
  <!-- Hero Section -->
66
  <section id="home" class="hero-height bg-gradient-to-b from-primary to-secondary relative overflow-hidden">
67
  <div class="container mx-auto h-full flex flex-col justify-center items-center text-center px-4">
68
+ <h1 class="text-4xl md:text-6xl font-bold text-dark mb-4">Bakpia Kukus Nusa Rasa</h1>
69
+ <p class="text-xl md:text-2xl text-dark mb-8">Kelezatan Tanpa Batas dalam Setiap Gigitan</p>
70
+ <a href="#products" class="bg-dark text-white px-8 py-3 rounded-full font-bold hover:bg-purple-800 transition duration-300">Lihat Produk</a>
71
+ </div>
72
  </section>
73
 
74
  <!-- Carousel Section -->
 
94
  </div>
95
  </div>
96
  </section>
 
97
  <!-- Products Section -->
98
+ <section id="products" class="py-16 bg-light">
99
+ <div class="container mx-auto px-4">
100
  <h2 class="text-3xl font-bold text-center text-gray-800 mb-12">Varian Rasa</h2>
101
  <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
102
  <!-- Product 1 -->
 
106
  <h3 class="text-xl font-bold text-gray-800 mb-2">Pandan Cokelat</h3>
107
  <p class="text-gray-600 mb-4">Perpaduan unik aroma pandan dengan cokelat lembut yang meleleh di mulut.</p>
108
  <div class="flex justify-between items-center">
109
+ <span class="text-dark font-bold text-lg">Rp 25.000</span>
110
+ <button class="bg-primary text-white px-4 py-2 rounded-full hover:bg-purple-500 transition duration-300">Pesan</button>
111
+ </div>
112
  </div>
113
  </div>
114
  <!-- Product 2 -->
 
118
  <h3 class="text-xl font-bold text-gray-800 mb-2">Original Cokelat</h3>
119
  <p class="text-gray-600 mb-4">Cita rasa cokelat klasik dengan tekstur lembut khas bakpia kukus.</p>
120
  <div class="flex justify-between items-center">
121
+ <span class="text-dark font-bold text-lg">Rp 22.000</span>
122
+ <button class="bg-primary text-white px-4 py-2 rounded-full hover:bg-purple-500 transition duration-300">Pesan</button>
123
+ </div>
124
  </div>
125
  </div>
126
  <!-- Product 3 -->
 
130
  <h3 class="text-xl font-bold text-gray-800 mb-2">Original Keju</h3>
131
  <p class="text-gray-600 mb-4">Keju lezat yang menyatu sempurna dengan adonan bakpia yang lembut.</p>
132
  <div class="flex justify-between items-center">
133
+ <span class="text-dark font-bold text-lg">Rp 24.000</span>
134
+ <button class="bg-primary text-white px-4 py-2 rounded-full hover:bg-purple-500 transition duration-300">Pesan</button>
135
+ </div>
136
  </div>
137
  </div>
138
  </div>
 
170
  </div>
171
  </div>
172
  </section>
 
173
  <!-- CTA Section -->
174
+ <section id="contact" class="py-16 bg-dark">
175
  <div class="container mx-auto px-4 text-center">
176
  <h2 class="text-3xl font-bold text-white mb-6">Pesan Sekarang!</h2>
177
+ <p class="text-light text-xl mb-8">Nikmati kelezatan Bakpia Kukus Nusa Rasa langsung di rumah Anda</p>
178
  <div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4">
179
+ <a href="https://wa.me/6281234567890" class="bg-primary text-white px-8 py-4 rounded-full font-bold hover:bg-purple-500 transition duration-300 flex items-center justify-center">
180
  <i data-feather="message-circle" class="mr-2"></i> WhatsApp Kami
181
  </a>
182
+ <a href="tel:02741234567" class="bg-light text-dark px-8 py-4 rounded-full font-bold hover:bg-white transition duration-300 flex items-center justify-center">
183
  <i data-feather="phone" class="mr-2"></i> Telepon Kami
184
+ </a>
185
  </div>
186
  </div>
187
  </section>