-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from cfra321/newbranch
add footer and change bacground color
- Loading branch information
Showing
3 changed files
with
174 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,36 @@ | |
<title>POS Penjualan</title> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet"> | ||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script> | ||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet"> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
} | ||
.footer { | ||
background-color: #333; | ||
color: white; | ||
text-align: center; | ||
padding: 20px 0; | ||
} | ||
.footer .social-icons { | ||
margin-top: 10px; | ||
} | ||
.footer .social-icons a { | ||
color: white; | ||
margin: 0 10px; | ||
font-size: 24px; | ||
text-decoration: none; | ||
transition: color 0.3s ease; | ||
} | ||
.footer .social-icons a:hover { | ||
color: #FFD700; /* Warna hover */ | ||
} | ||
</style> | ||
</head> | ||
|
||
<body class="bg-gray-100 min-h-screen"> | ||
<body class="bg-gray-200 min-h-screen"> | ||
<!-- Header --> | ||
<header class="bg-blue-500 text-white p-4"> | ||
<header class="bg-gray-800 text-white p-4"> | ||
<div class="container mx-auto flex justify-between items-center"> | ||
<h1 class="text-2xl font-bold">Warung Mbah Karmi</h1> | ||
<!-- Mobile Menu Button --> | ||
|
@@ -31,7 +56,7 @@ <h1 class="text-2xl font-bold">Warung Mbah Karmi</h1> | |
</div> | ||
</header> | ||
<!-- Mobile Menu --> | ||
<div id="mobile-menu" class="hidden md:hidden bg-blue-500 text-white p-4 space-y-2"> | ||
<div id="mobile-menu" class="hidden md:hidden bg-gray-800 text-white p-4 space-y-2"> | ||
<a href="index.html" class="block hover:text-gray-200">Penjualan</a> | ||
<a href="pesanan_proses.html" class="block hover:text-gray-200">Pesanan di Proses</a> | ||
<a href="transaksi_total.html" class="block hover:text-gray-200">Total Transaksi Berhasil</a> | ||
|
@@ -103,6 +128,13 @@ <h3 class="text-lg font-semibold">Es Jeruk Manis</h3> | |
<p class="text-gray-600">Rp 7,000</p> | ||
<button class="mt-2 bg-blue-500 text-white py-1 px-2 rounded text-xs" onclick="addToCart('Es Jeruk Manis', 7000)">Tambahkan</button> | ||
</div> | ||
<!-- Produk Item --> | ||
<div class="bg-gray-200 p-4 rounded"> | ||
<img src="foto_manakan/pecelMadiun.webp" alt="Product Image" class="w-full mb-2 rounded product-image"> | ||
<h3 class="text-lg font-semibold">Pecel Madiun</h3> | ||
<p class="text-gray-600">Rp 8,000</p> | ||
<button class="mt-2 bg-blue-500 text-white py-1 px-2 rounded text-xs" onclick="addToCart('Pecel Madiun', 8000)">Tambahkan</button> | ||
</div> | ||
|
||
<!-- Tambahkan produk lain sesuai kebutuhan --> | ||
</div> | ||
|
@@ -125,6 +157,27 @@ <h2 class="text-xl font-bold mb-4">Keranjang Belanja</h2> | |
</div> | ||
</div> | ||
|
||
<footer class="bg-gray-800 text-white text-center py-6"> | ||
<p class="mb-4">© 2024 Your Company. All rights reserved.</p> | ||
<div class="flex justify-center mb-4 space-x-4"> | ||
<a href="https://www.instagram.com/" target="_blank" class="text-white hover:text-yellow-400 text-2xl"><i class="fab fa-instagram"></i></a> | ||
<a href="https://www.linkedin.com/" target="_blank" class="text-white hover:text-yellow-400 text-2xl"><i class="fab fa-linkedin"></i></a> | ||
<a href="https://www.facebook.com/" target="_blank" class="text-white hover:text-yellow-400 text-2xl"><i class="fab fa-facebook"></i></a> | ||
<a href="https://www.youtube.com/" target="_blank" class="text-white hover:text-yellow-400 text-2xl"><i class="fab fa-youtube"></i></a> | ||
</div> | ||
<div class="flex justify-center space-x-4"> | ||
<a href="#home" class="text-white hover:underline">Home</a> | ||
<span>|</span> | ||
<a href="#news" class="text-white hover:underline">News</a> | ||
<span>|</span> | ||
<a href="#about" class="text-white hover:underline">About</a> | ||
<span>|</span> | ||
<a href="#contact" class="text-white hover:underline">Contact Us</a> | ||
<span>|</span> | ||
<a href="#team" class="text-white hover:underline">Our Team</a> | ||
</div> | ||
</footer> | ||
|
||
<!-- JavaScript --> | ||
<script> | ||
let totalPrice = 0; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,36 @@ | |
<title>Pesanan di Proses</title> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet"> | ||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script> | ||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet"> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
} | ||
.footer { | ||
background-color: #333; | ||
color: white; | ||
text-align: center; | ||
padding: 20px 0; | ||
} | ||
.footer .social-icons { | ||
margin-top: 10px; | ||
} | ||
.footer .social-icons a { | ||
color: white; | ||
margin: 0 10px; | ||
font-size: 24px; | ||
text-decoration: none; | ||
transition: color 0.3s ease; | ||
} | ||
.footer .social-icons a:hover { | ||
color: #FFD700; /* Warna hover */ | ||
} | ||
</style> | ||
</head> | ||
|
||
<body class="bg-gray-100 min-h-screen"> | ||
<body class="bg-gray-200 min-h-screen"> | ||
<!-- Header --> | ||
<header class="bg-blue-500 text-white p-4"> | ||
<header class="bg-gray-800 text-white p-4"> | ||
<div class="container mx-auto flex justify-between items-center"> | ||
<h1 class="text-2xl font-bold">Warung Mbah Karmi</h1> | ||
<!-- Mobile Menu Button --> | ||
|
@@ -32,7 +57,7 @@ <h1 class="text-2xl font-bold">Warung Mbah Karmi</h1> | |
</header> | ||
|
||
<!-- Mobile Menu --> | ||
<div id="mobile-menu" class="hidden md:hidden bg-blue-500 text-white p-4 space-y-2"> | ||
<div id="mobile-menu" class="hidden md:hidden bg-gray-800 text-white p-4 space-y-2"> | ||
<a href="index.html" class="block hover:text-gray-200">Penjualan</a> | ||
<a href="pesanan_proses.html" class="block hover:text-gray-200">Pesanan di Proses</a> | ||
<a href="transaksi_total.html" class="block hover:text-gray-200">Total Transaksi Berhasil</a> | ||
|
@@ -53,6 +78,27 @@ <h2 class="text-xl font-bold mb-4">Daftar Pesanan</h2> | |
</div> | ||
</div> | ||
|
||
<footer class="bg-gray-800 text-white text-center py-6"> | ||
<p class="mb-4">© 2024 Your Company. All rights reserved.</p> | ||
<div class="flex justify-center mb-4 space-x-4"> | ||
<a href="https://www.instagram.com/" target="_blank" class="text-white hover:text-yellow-400 text-2xl"><i class="fab fa-instagram"></i></a> | ||
<a href="https://www.linkedin.com/" target="_blank" class="text-white hover:text-yellow-400 text-2xl"><i class="fab fa-linkedin"></i></a> | ||
<a href="https://www.facebook.com/" target="_blank" class="text-white hover:text-yellow-400 text-2xl"><i class="fab fa-facebook"></i></a> | ||
<a href="https://www.youtube.com/" target="_blank" class="text-white hover:text-yellow-400 text-2xl"><i class="fab fa-youtube"></i></a> | ||
</div> | ||
<div class="flex justify-center space-x-4"> | ||
<a href="#home" class="text-white hover:underline">Home</a> | ||
<span>|</span> | ||
<a href="#news" class="text-white hover:underline">News</a> | ||
<span>|</span> | ||
<a href="#about" class="text-white hover:underline">About</a> | ||
<span>|</span> | ||
<a href="#contact" class="text-white hover:underline">Contact Us</a> | ||
<span>|</span> | ||
<a href="#team" class="text-white hover:underline">Our Team</a> | ||
</div> | ||
</footer> | ||
|
||
<!-- JavaScript --> | ||
<script> | ||
let currentPage = 1; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,18 +4,44 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Pesanan di Proses</title> | ||
<title>HALAMAN UNDER MAINTENANCE 505</title> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet"> | ||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script> | ||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet"> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
} | ||
.footer { | ||
background-color: #333; | ||
color: white; | ||
text-align: center; | ||
padding: 20px 0; | ||
} | ||
.footer .social-icons { | ||
margin-top: 10px; | ||
} | ||
.footer .social-icons a { | ||
color: white; | ||
margin: 0 10px; | ||
font-size: 24px; | ||
text-decoration: none; | ||
transition: color 0.3s ease; | ||
} | ||
.footer .social-icons a:hover { | ||
color: #FFD700; /* Warna hover */ | ||
} | ||
</style> | ||
</head> | ||
<body class="bg-gray-100 min-h-screen"> | ||
<!-- Header --> | ||
<header class="bg-blue-500 text-white p-4"> | ||
|
||
<body class="bg-gray-200 min-h-screen"> | ||
<!-- Header --> | ||
<header class="bg-gray-800 text-white p-4 fixed top-0 w-full z-50"> | ||
<div class="container mx-auto flex justify-between items-center"> | ||
<h1 class="text-2xl font-bold">Warung Mbah Karmi</h1> | ||
<!-- Mobile Menu Button --> | ||
<div class="md:hidden"> | ||
<button id="menu-btn" class="focus:outline-none"> | ||
<button id="menu-btn" class="focus:outline-none" aria-label="Toggle menu"> | ||
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | ||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" /> | ||
</svg> | ||
|
@@ -30,28 +56,46 @@ <h1 class="text-2xl font-bold">Warung Mbah Karmi</h1> | |
</div> | ||
</header> | ||
|
||
<!-- Mobile Menu --> | ||
<div id="mobile-menu" class="hidden md:hidden bg-blue-500 text-white p-4 space-y-2"> | ||
<a href="index.html" class="block hover:text-gray-200">Penjualan</a> | ||
<a href="pesanan_proses.html" class="block hover:text-gray-200">Pesanan di Proses</a> | ||
<a href="transaksi_total.html" class="block hover:text-gray-200">Total Transaksi Berhasil</a> | ||
</div> | ||
|
||
<!-- Main Content --> | ||
<div class="flex items-center justify-center min-h-screen text-center mt-2"> | ||
<div> | ||
<h1 class="text-4xl font-bold text-red-500 mb-4">505</h1> | ||
<h2 class="text-1xl md:text-4xl font-semibold mb-2">HALAMAN UNDER MAINTENANCE</h2> | ||
<p class="text-gray-600 mb-6 ml-2 mr-2">Kami sedang melakukan pemeliharaan. Silakan kembali lagi nanti.</p> | ||
<a href="index.html" class="bg-blue-500 text-white py-2 px-4 rounded">Kembali ke Halaman Utama</a> | ||
</div> | ||
</div> | ||
|
||
<!-- Script for Mobile Menu Toggle --> | ||
<script> | ||
const menuBtn = document.getElementById('menu-btn'); | ||
const mobileMenu = document.getElementById('mobile-menu'); | ||
|
||
menuBtn.addEventListener('click', () => { | ||
mobileMenu.classList.toggle('hidden'); | ||
}); | ||
</script> | ||
<footer class="bg-gray-800 text-white text-center py-6"> | ||
<p class="mb-4">© 2024 Your Company. All rights reserved.</p> | ||
<div class="flex justify-center mb-4 space-x-4"> | ||
<a href="https://www.instagram.com/" target="_blank" class="text-white hover:text-yellow-400 text-2xl"><i class="fab fa-instagram"></i></a> | ||
<a href="https://www.linkedin.com/" target="_blank" class="text-white hover:text-yellow-400 text-2xl"><i class="fab fa-linkedin"></i></a> | ||
<a href="https://www.facebook.com/" target="_blank" class="text-white hover:text-yellow-400 text-2xl"><i class="fab fa-facebook"></i></a> | ||
<a href="https://www.youtube.com/" target="_blank" class="text-white hover:text-yellow-400 text-2xl"><i class="fab fa-youtube"></i></a> | ||
</div> | ||
<div class="flex justify-center space-x-4"> | ||
<a href="#home" class="text-white hover:underline">Home</a> | ||
<span>|</span> | ||
<a href="#news" class="text-white hover:underline">News</a> | ||
<span>|</span> | ||
<a href="#about" class="text-white hover:underline">About</a> | ||
<span>|</span> | ||
<a href="#contact" class="text-white hover:underline">Contact Us</a> | ||
<span>|</span> | ||
<a href="#team" class="text-white hover:underline">Our Team</a> | ||
</div> | ||
</footer> | ||
|
||
<!-- Script for Mobile Menu Toggle --> | ||
<script> | ||
const menuBtn = document.getElementById('menu-btn'); | ||
const mobileMenu = document.getElementById('mobile-menu'); | ||
|
||
menuBtn.addEventListener('click', () => { | ||
mobileMenu.classList.toggle('hidden'); | ||
}); | ||
</script> | ||
</body> | ||
|
||
|
||
|
||
|
||
</html> | ||
</html> |