Create a website for the fox and hounds pub in tormartin
Browse files- README.md +8 -5
- components/footer.js +155 -0
- components/navbar.js +103 -0
- index.html +271 -19
- script.js +48 -0
- style.css +58 -18
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title: The Fox Hounds Pub
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: The Fox & Hounds Pub 🦊🍻
|
| 3 |
+
colorFrom: red
|
| 4 |
+
colorTo: red
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://huggingface.co/deepsite).
|
components/footer.js
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomFooter extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
:host {
|
| 7 |
+
display: block;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
.footer {
|
| 11 |
+
background-color: #7c2d12;
|
| 12 |
+
color: #fde68a;
|
| 13 |
+
padding: 3rem 1.5rem 2rem;
|
| 14 |
+
margin-top: 4rem;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
.footer-container {
|
| 18 |
+
max-width: 1200px;
|
| 19 |
+
margin: 0 auto;
|
| 20 |
+
display: grid;
|
| 21 |
+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
| 22 |
+
gap: 2rem;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
.footer-section h3 {
|
| 26 |
+
font-size: 1.25rem;
|
| 27 |
+
font-weight: 600;
|
| 28 |
+
margin-bottom: 1rem;
|
| 29 |
+
color: #fef3c7;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.footer-links {
|
| 33 |
+
list-style: none;
|
| 34 |
+
padding: 0;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.footer-links li {
|
| 38 |
+
margin-bottom: 0.75rem;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.footer-links a {
|
| 42 |
+
color: #fde68a;
|
| 43 |
+
text-decoration: none;
|
| 44 |
+
transition: color 0.3s ease;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.footer-links a:hover {
|
| 48 |
+
color: #fff;
|
| 49 |
+
text-decoration: underline;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
.social-links {
|
| 53 |
+
display: flex;
|
| 54 |
+
gap: 1rem;
|
| 55 |
+
margin-top: 1rem;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.social-link {
|
| 59 |
+
display: flex;
|
| 60 |
+
align-items: center;
|
| 61 |
+
justify-content: center;
|
| 62 |
+
width: 40px;
|
| 63 |
+
height: 40px;
|
| 64 |
+
border-radius: 50%;
|
| 65 |
+
background-color: rgba(253, 230, 138, 0.1);
|
| 66 |
+
color: #fde68a;
|
| 67 |
+
transition: all 0.3s ease;
|
| 68 |
+
text-decoration: none;
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
.social-link:hover {
|
| 72 |
+
background-color: #f59e0b;
|
| 73 |
+
color: #7c2d12;
|
| 74 |
+
transform: translateY(-3px);
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
.copyright {
|
| 78 |
+
max-width: 1200px;
|
| 79 |
+
margin: 3rem auto 0;
|
| 80 |
+
padding-top: 2rem;
|
| 81 |
+
border-top: 1px solid rgba(253, 230, 138, 0.2);
|
| 82 |
+
text-align: center;
|
| 83 |
+
color: #fde68a;
|
| 84 |
+
font-size: 0.875rem;
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
@media (max-width: 768px) {
|
| 88 |
+
.footer {
|
| 89 |
+
padding: 2rem 1rem 1.5rem;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
.copyright {
|
| 93 |
+
margin-top: 2rem;
|
| 94 |
+
padding-top: 1.5rem;
|
| 95 |
+
}
|
| 96 |
+
}
|
| 97 |
+
</style>
|
| 98 |
+
|
| 99 |
+
<footer class="footer">
|
| 100 |
+
<div class="footer-container">
|
| 101 |
+
<div class="footer-section">
|
| 102 |
+
<h3>The Fox & Hounds</h3>
|
| 103 |
+
<p style="color: #fde68a; margin-bottom: 1rem;">Traditional pub in the heart of Tormartin serving quality food and drinks since 1985.</p>
|
| 104 |
+
<div class="social-links">
|
| 105 |
+
<a href="#" class="social-link">
|
| 106 |
+
📘
|
| 107 |
+
</a>
|
| 108 |
+
<a href="#" class="social-link">
|
| 109 |
+
🐦
|
| 110 |
+
</a>
|
| 111 |
+
<a href="#" class="social-link">
|
| 112 |
+
📷
|
| 113 |
+
</a>
|
| 114 |
+
</div>
|
| 115 |
+
</div>
|
| 116 |
+
|
| 117 |
+
<div class="footer-section">
|
| 118 |
+
<h3>Quick Links</h3>
|
| 119 |
+
<ul class="footer-links">
|
| 120 |
+
<li><a href="#about">About Us</a></li>
|
| 121 |
+
<li><a href="#menu">Our Menu</a></li>
|
| 122 |
+
<li><a href="#events">Events</a></li>
|
| 123 |
+
<li><a href="#contact">Contact</a></li>
|
| 124 |
+
</ul>
|
| 125 |
+
</div>
|
| 126 |
+
|
| 127 |
+
<div class="footer-section">
|
| 128 |
+
<h3>Opening Hours</h3>
|
| 129 |
+
<ul class="footer-links">
|
| 130 |
+
<li>Mon-Thu: 11am - 11pm</li>
|
| 131 |
+
<li>Fri-Sat: 11am - 12am</li>
|
| 132 |
+
<li>Sunday: 12pm - 10pm</li>
|
| 133 |
+
</ul>
|
| 134 |
+
</div>
|
| 135 |
+
|
| 136 |
+
<div class="footer-section">
|
| 137 |
+
<h3>Contact Info</h3>
|
| 138 |
+
<ul class="footer-links">
|
| 139 |
+
<li>12 Main Street, Tormartin</li>
|
| 140 |
+
<li>BT41 2AB</li>
|
| 141 |
+
<li>+44 28 9123 4567</li>
|
| 142 |
+
<li>info@foxandhounds.pub</li>
|
| 143 |
+
</ul>
|
| 144 |
+
</div>
|
| 145 |
+
</div>
|
| 146 |
+
|
| 147 |
+
<div class="copyright">
|
| 148 |
+
<p>© 2023 The Fox & Hounds Pub. All rights reserved. Serving the community with pride since 1985.</p>
|
| 149 |
+
</div>
|
| 150 |
+
</footer>
|
| 151 |
+
`;
|
| 152 |
+
}
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
customElements.define('custom-footer', CustomFooter);
|
components/navbar.js
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomNavbar extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
:host {
|
| 7 |
+
display: block;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
.navbar {
|
| 11 |
+
background-color: rgba(120, 53, 15, 0.95);
|
| 12 |
+
backdrop-filter: blur(10px);
|
| 13 |
+
border-bottom: 1px solid #d97706;
|
| 14 |
+
position: sticky;
|
| 15 |
+
top: 0;
|
| 16 |
+
z-index: 100;
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
.nav-container {
|
| 20 |
+
max-width: 1200px;
|
| 21 |
+
margin: 0 auto;
|
| 22 |
+
padding: 1rem 1.5rem;
|
| 23 |
+
display: flex;
|
| 24 |
+
justify-content: space-between;
|
| 25 |
+
align-items: center;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
.logo {
|
| 29 |
+
display: flex;
|
| 30 |
+
align-items: center;
|
| 31 |
+
font-weight: 700;
|
| 32 |
+
font-size: 1.5rem;
|
| 33 |
+
color: #fef3c7;
|
| 34 |
+
text-decoration: none;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.logo-icon {
|
| 38 |
+
margin-right: 0.5rem;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.nav-links {
|
| 42 |
+
display: flex;
|
| 43 |
+
gap: 2rem;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.nav-link {
|
| 47 |
+
color: #fde68a;
|
| 48 |
+
text-decoration: none;
|
| 49 |
+
font-weight: 500;
|
| 50 |
+
transition: color 0.3s ease;
|
| 51 |
+
padding: 0.5rem 1rem;
|
| 52 |
+
border-radius: 0.5rem;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
.nav-link:hover {
|
| 56 |
+
color: #fff;
|
| 57 |
+
background-color: rgba(255, 255, 255, 0.1);
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
.mobile-menu-button {
|
| 61 |
+
display: none;
|
| 62 |
+
background: none;
|
| 63 |
+
border: none;
|
| 64 |
+
color: #fde68a;
|
| 65 |
+
cursor: pointer;
|
| 66 |
+
font-size: 1.5rem;
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
@media (max-width: 768px) {
|
| 70 |
+
.nav-links {
|
| 71 |
+
display: none;
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
.mobile-menu-button {
|
| 75 |
+
display: block;
|
| 76 |
+
}
|
| 77 |
+
}
|
| 78 |
+
</style>
|
| 79 |
+
|
| 80 |
+
<nav class="navbar">
|
| 81 |
+
<div class="nav-container">
|
| 82 |
+
<a href="/" class="logo">
|
| 83 |
+
<span class="logo-icon">🦊</span>
|
| 84 |
+
<span>The Fox & Hounds</span>
|
| 85 |
+
</a>
|
| 86 |
+
|
| 87 |
+
<div class="nav-links">
|
| 88 |
+
<a href="#about" class="nav-link">About</a>
|
| 89 |
+
<a href="#menu" class="nav-link">Menu</a>
|
| 90 |
+
<a href="#events" class="nav-link">Events</a>
|
| 91 |
+
<a href="#contact" class="nav-link">Contact</a>
|
| 92 |
+
</div>
|
| 93 |
+
|
| 94 |
+
<button class="mobile-menu-button">
|
| 95 |
+
☰
|
| 96 |
+
</button>
|
| 97 |
+
</div>
|
| 98 |
+
</nav>
|
| 99 |
+
`;
|
| 100 |
+
}
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
customElements.define('custom-navbar', CustomNavbar);
|
index.html
CHANGED
|
@@ -1,19 +1,271 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>The Fox & Hounds Pub - Tormartin</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 8 |
+
<link rel="stylesheet" href="style.css">
|
| 9 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 10 |
+
</head>
|
| 11 |
+
<body>
|
| 12 |
+
<custom-navbar></custom-navbar>
|
| 13 |
+
|
| 14 |
+
<main>
|
| 15 |
+
<!-- Hero Section -->
|
| 16 |
+
<section class="relative h-screen flex items-center justify-center">
|
| 17 |
+
<div class="absolute inset-0 bg-black opacity-50"></div>
|
| 18 |
+
<div class="relative z-10 text-center text-white px-4">
|
| 19 |
+
<h1 class="text-5xl md:text-7xl font-bold mb-6">The Fox & Hounds</h1>
|
| 20 |
+
<p class="text-xl md:text-2xl mb-8">Traditional Pub in the Heart of Tormartin</p>
|
| 21 |
+
<a href="#menu" class="bg-amber-700 hover:bg-amber-800 text-white font-bold py-3 px-8 rounded-full text-lg transition duration-300">View Our Menu</a>
|
| 22 |
+
</div>
|
| 23 |
+
</section>
|
| 24 |
+
|
| 25 |
+
<!-- About Section -->
|
| 26 |
+
<section id="about" class="py-20 bg-amber-50">
|
| 27 |
+
<div class="container mx-auto px-4">
|
| 28 |
+
<div class="flex flex-col md:flex-row items-center gap-12">
|
| 29 |
+
<div class="md:w-1/2">
|
| 30 |
+
<img src="http://static.photos/pub/640x360/123" alt="The Fox & Hounds Pub" class="rounded-lg shadow-lg w-full">
|
| 31 |
+
</div>
|
| 32 |
+
<div class="md:w-1/2">
|
| 33 |
+
<h2 class="text-4xl font-bold mb-6 text-amber-900">Welcome to Our Pub</h2>
|
| 34 |
+
<p class="text-lg mb-6 text-gray-700">Nestled in the charming village of Tormartin, The Fox & Hounds has been serving locals and visitors alike for generations. Our cozy atmosphere, traditional decor, and warm hospitality make us the perfect spot to unwind after a long day.</p>
|
| 35 |
+
<p class="text-lg mb-6 text-gray-700">Whether you're looking for a hearty meal, a refreshing pint, or just a friendly place to chat with neighbors, we've got you covered. Our menu features classic British pub fare made with locally-sourced ingredients whenever possible.</p>
|
| 36 |
+
<div class="flex flex-wrap gap-4">
|
| 37 |
+
<div class="flex items-center">
|
| 38 |
+
<div class="bg-amber-500 w-3 h-3 rounded-full mr-2"></div>
|
| 39 |
+
<span>Fresh Local Ingredients</span>
|
| 40 |
+
</div>
|
| 41 |
+
<div class="flex items-center">
|
| 42 |
+
<div class="bg-amber-500 w-3 h-3 rounded-full mr-2"></div>
|
| 43 |
+
<span>Traditional Atmosphere</span>
|
| 44 |
+
</div>
|
| 45 |
+
<div class="flex items-center">
|
| 46 |
+
<div class="bg-amber-500 w-3 h-3 rounded-full mr-2"></div>
|
| 47 |
+
<span>Friendly Staff</span>
|
| 48 |
+
</div>
|
| 49 |
+
</div>
|
| 50 |
+
</div>
|
| 51 |
+
</div>
|
| 52 |
+
</div>
|
| 53 |
+
</section>
|
| 54 |
+
|
| 55 |
+
<!-- Menu Section -->
|
| 56 |
+
<section id="menu" class="py-20">
|
| 57 |
+
<div class="container mx-auto px-4">
|
| 58 |
+
<h2 class="text-4xl font-bold text-center mb-16 text-amber-900">Our Menu</h2>
|
| 59 |
+
|
| 60 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-12">
|
| 61 |
+
<div>
|
| 62 |
+
<h3 class="text-2xl font-bold mb-6 text-amber-800 border-b-2 border-amber-500 pb-2">Main Courses</h3>
|
| 63 |
+
<div class="space-y-6">
|
| 64 |
+
<div class="flex justify-between items-start pb-4 border-b border-gray-200">
|
| 65 |
+
<div>
|
| 66 |
+
<h4 class="font-bold text-lg">Traditional Fish & Chips</h4>
|
| 67 |
+
<p class="text-gray-600">Fresh cod in crispy batter served with chunky chips and mushy peas</p>
|
| 68 |
+
</div>
|
| 69 |
+
<span class="font-bold text-amber-700">£12.95</span>
|
| 70 |
+
</div>
|
| 71 |
+
<div class="flex justify-between items-start pb-4 border-b border-gray-200">
|
| 72 |
+
<div>
|
| 73 |
+
<h4 class="font-bold text-lg">Bangers & Mash</h4>
|
| 74 |
+
<p class="text-gray-600">Homemade sausages with creamy mashed potatoes and onion gravy</p>
|
| 75 |
+
</div>
|
| 76 |
+
<span class="font-bold text-amber-700">£11.50</span>
|
| 77 |
+
</div>
|
| 78 |
+
<div class="flex justify-between items-start pb-4 border-b border-gray-200">
|
| 79 |
+
<div>
|
| 80 |
+
<h4 class="font-bold text-lg">Beef & Ale Pie</h4>
|
| 81 |
+
<p class="text-gray-600">Slow-cooked beef in rich ale sauce with shortcrust pastry</p>
|
| 82 |
+
</div>
|
| 83 |
+
<span class="font-bold text-amber-700">£14.95</span>
|
| 84 |
+
</div>
|
| 85 |
+
<div class="flex justify-between items-start pb-4 border-b border-gray-200">
|
| 86 |
+
<div>
|
| 87 |
+
<h4 class="font-bold text-lg">Grilled Salmon</h4>
|
| 88 |
+
<p class="text-gray-600">Fresh salmon fillet with lemon butter sauce and seasonal vegetables</p>
|
| 89 |
+
</div>
|
| 90 |
+
<span class="font-bold text-amber-700">£16.50</span>
|
| 91 |
+
</div>
|
| 92 |
+
</div>
|
| 93 |
+
</div>
|
| 94 |
+
|
| 95 |
+
<div>
|
| 96 |
+
<h3 class="text-2xl font-bold mb-6 text-amber-800 border-b-2 border-amber-500 pb-2">Drinks</h3>
|
| 97 |
+
<div class="space-y-6">
|
| 98 |
+
<div class="flex justify-between items-start pb-4 border-b border-gray-200">
|
| 99 |
+
<div>
|
| 100 |
+
<h4 class="font-bold text-lg">Local Craft Beer</h4>
|
| 101 |
+
<p class="text-gray-600">Rotating selection from regional breweries</p>
|
| 102 |
+
</div>
|
| 103 |
+
<span class="font-bold text-amber-700">£4.20</span>
|
| 104 |
+
</div>
|
| 105 |
+
<div class="flex justify-between items-start pb-4 border-b border-gray-200">
|
| 106 |
+
<div>
|
| 107 |
+
<h4 class="font-bold text-lg">Classic Cider</h4>
|
| 108 |
+
<p class="text-gray-600">West Country cider on draft</p>
|
| 109 |
+
</div>
|
| 110 |
+
<span class="font-bold text-amber-700">£3.90</span>
|
| 111 |
+
</div>
|
| 112 |
+
<div class="flex justify-between items-start pb-4 border-b border-gray-200">
|
| 113 |
+
<div>
|
| 114 |
+
<h4 class="font-bold text-lg">House Wine</h4>
|
| 115 |
+
<p class="text-gray-600">Red or White - Glass</p>
|
| 116 |
+
</div>
|
| 117 |
+
<span class="font-bold text-amber-700">£4.50</span>
|
| 118 |
+
</div>
|
| 119 |
+
<div class="flex justify-between items-start pb-4 border-b border-gray-200">
|
| 120 |
+
<div>
|
| 121 |
+
<h4 class="font-bold text-lg">Premium Spirits</h4>
|
| 122 |
+
<p class="text-gray-600">Selection of whiskeys, gins, and vodkas</p>
|
| 123 |
+
</div>
|
| 124 |
+
<span class="font-bold text-amber-700">£5.50</span>
|
| 125 |
+
</div>
|
| 126 |
+
</div>
|
| 127 |
+
|
| 128 |
+
<h3 class="text-2xl font-bold mt-12 mb-6 text-amber-800 border-b-2 border-amber-500 pb-2">Desserts</h3>
|
| 129 |
+
<div class="space-y-6">
|
| 130 |
+
<div class="flex justify-between items-start pb-4 border-b border-gray-200">
|
| 131 |
+
<div>
|
| 132 |
+
<h4 class="font-bold text-lg">Sticky Toffee Pudding</h4>
|
| 133 |
+
<p class="text-gray-600">Warm sponge cake with toffee sauce and vanilla ice cream</p>
|
| 134 |
+
</div>
|
| 135 |
+
<span class="font-bold text-amber-700">£6.95</span>
|
| 136 |
+
</div>
|
| 137 |
+
<div class="flex justify-between items-start pb-4 border-b border-gray-200">
|
| 138 |
+
<div>
|
| 139 |
+
<h4 class="font-bold text-lg">Cheesecake</h4>
|
| 140 |
+
<p class="text-gray-600">Creamy New York style with berry compote</p>
|
| 141 |
+
</div>
|
| 142 |
+
<span class="font-bold text-amber-700">£6.50</span>
|
| 143 |
+
</div>
|
| 144 |
+
</div>
|
| 145 |
+
</div>
|
| 146 |
+
</div>
|
| 147 |
+
</div>
|
| 148 |
+
</section>
|
| 149 |
+
|
| 150 |
+
<!-- Events Section -->
|
| 151 |
+
<section id="events" class="py-20 bg-amber-100">
|
| 152 |
+
<div class="container mx-auto px-4">
|
| 153 |
+
<h2 class="text-4xl font-bold text-center mb-16 text-amber-900">Upcoming Events</h2>
|
| 154 |
+
|
| 155 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 156 |
+
<div class="bg-white rounded-lg shadow-md overflow-hidden">
|
| 157 |
+
<img src="http://static.photos/music/320x240/456" alt="Live Music Night" class="w-full h-48 object-cover">
|
| 158 |
+
<div class="p-6">
|
| 159 |
+
<h3 class="text-xl font-bold mb-2">Live Music Night</h3>
|
| 160 |
+
<p class="text-gray-600 mb-4">Every Friday at 8pm</p>
|
| 161 |
+
<p class="mb-4">Join us for an evening of acoustic performances by local artists. Great music, great company, and great drinks!</p>
|
| 162 |
+
<a href="#" class="text-amber-700 font-semibold hover:underline">Learn More</a>
|
| 163 |
+
</div>
|
| 164 |
+
</div>
|
| 165 |
+
|
| 166 |
+
<div class="bg-white rounded-lg shadow-md overflow-hidden">
|
| 167 |
+
<img src="http://static.photos/quiz/320x240/789" alt="Pub Quiz" class="w-full h-48 object-cover">
|
| 168 |
+
<div class="p-6">
|
| 169 |
+
<h3 class="text-xl font-bold mb-2">Pub Quiz</h3>
|
| 170 |
+
<p class="text-gray-600 mb-4">Wednesdays at 7:30pm</p>
|
| 171 |
+
<p class="mb-4">Test your knowledge every Wednesday evening. Teams of up to 6 people. Prizes for the winners!</p>
|
| 172 |
+
<a href="#" class="text-amber-700 font-semibold hover:underline">Learn More</a>
|
| 173 |
+
</div>
|
| 174 |
+
</div>
|
| 175 |
+
|
| 176 |
+
<div class="bg-white rounded-lg shadow-md overflow-hidden">
|
| 177 |
+
<img src="http://static.photos/seasonal/320x240/101" alt="Seasonal Specials" class="w-full h-48 object-cover">
|
| 178 |
+
<div class="p-6">
|
| 179 |
+
<h3 class="text-xl font-bold mb-2">Seasonal Specials</h3>
|
| 180 |
+
<p class="text-gray-600 mb-4">Throughout the year</p>
|
| 181 |
+
<p class="mb-4">Celebrate holidays with our special menus and themed events. Check back regularly for updates!</p>
|
| 182 |
+
<a href="#" class="text-amber-700 font-semibold hover:underline">Learn More</a>
|
| 183 |
+
</div>
|
| 184 |
+
</div>
|
| 185 |
+
</div>
|
| 186 |
+
</div>
|
| 187 |
+
</section>
|
| 188 |
+
|
| 189 |
+
<!-- Contact Section -->
|
| 190 |
+
<section id="contact" class="py-20">
|
| 191 |
+
<div class="container mx-auto px-4">
|
| 192 |
+
<div class="flex flex-col lg:flex-row gap-12">
|
| 193 |
+
<div class="lg:w-1/2">
|
| 194 |
+
<h2 class="text-4xl font-bold mb-8 text-amber-900">Visit Us</h2>
|
| 195 |
+
<div class="space-y-6">
|
| 196 |
+
<div class="flex items-start">
|
| 197 |
+
<div class="bg-amber-100 p-3 rounded-full mr-4">
|
| 198 |
+
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-amber-700" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
| 199 |
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z" />
|
| 200 |
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z" />
|
| 201 |
+
</svg>
|
| 202 |
+
</div>
|
| 203 |
+
<div>
|
| 204 |
+
<h3 class="font-bold text-lg mb-1">Address</h3>
|
| 205 |
+
<p class="text-gray-700">12 Main Street<br>Tormartin<br>County Antrim<br>BT41 2AB</p>
|
| 206 |
+
</div>
|
| 207 |
+
</div>
|
| 208 |
+
|
| 209 |
+
<div class="flex items-start">
|
| 210 |
+
<div class="bg-amber-100 p-3 rounded-full mr-4">
|
| 211 |
+
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-amber-700" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
| 212 |
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z" />
|
| 213 |
+
</svg>
|
| 214 |
+
</div>
|
| 215 |
+
<div>
|
| 216 |
+
<h3 class="font-bold text-lg mb-1">Phone</h3>
|
| 217 |
+
<p class="text-gray-700">+44 28 9123 4567</p>
|
| 218 |
+
</div>
|
| 219 |
+
</div>
|
| 220 |
+
|
| 221 |
+
<div class="flex items-start">
|
| 222 |
+
<div class="bg-amber-100 p-3 rounded-full mr-4">
|
| 223 |
+
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-amber-700" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
| 224 |
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
|
| 225 |
+
</svg>
|
| 226 |
+
</div>
|
| 227 |
+
<div>
|
| 228 |
+
<h3 class="font-bold text-lg mb-1">Opening Hours</h3>
|
| 229 |
+
<p class="text-gray-700">
|
| 230 |
+
Monday - Thursday: 11am - 11pm<br>
|
| 231 |
+
Friday - Saturday: 11am - 12am<br>
|
| 232 |
+
Sunday: 12pm - 10pm
|
| 233 |
+
</p>
|
| 234 |
+
</div>
|
| 235 |
+
</div>
|
| 236 |
+
</div>
|
| 237 |
+
</div>
|
| 238 |
+
|
| 239 |
+
<div class="lg:w-1/2">
|
| 240 |
+
<div class="bg-white rounded-lg shadow-lg p-8">
|
| 241 |
+
<h3 class="text-2xl font-bold mb-6 text-amber-900">Send Us a Message</h3>
|
| 242 |
+
<form>
|
| 243 |
+
<div class="mb-4">
|
| 244 |
+
<label class="block text-gray-700 mb-2" for="name">Name</label>
|
| 245 |
+
<input type="text" id="name" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500">
|
| 246 |
+
</div>
|
| 247 |
+
<div class="mb-4">
|
| 248 |
+
<label class="block text-gray-700 mb-2" for="email">Email</label>
|
| 249 |
+
<input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500">
|
| 250 |
+
</div>
|
| 251 |
+
<div class="mb-4">
|
| 252 |
+
<label class="block text-gray-700 mb-2" for="message">Message</label>
|
| 253 |
+
<textarea id="message" rows="5" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500"></textarea>
|
| 254 |
+
</div>
|
| 255 |
+
<button type="submit" class="w-full bg-amber-700 hover:bg-amber-800 text-white font-bold py-3 px-4 rounded-lg transition duration-300">Send Message</button>
|
| 256 |
+
</form>
|
| 257 |
+
</div>
|
| 258 |
+
</div>
|
| 259 |
+
</div>
|
| 260 |
+
</div>
|
| 261 |
+
</section>
|
| 262 |
+
</main>
|
| 263 |
+
|
| 264 |
+
<custom-footer></custom-footer>
|
| 265 |
+
|
| 266 |
+
<script src="components/navbar.js"></script>
|
| 267 |
+
<script src="components/footer.js"></script>
|
| 268 |
+
<script src="script.js"></script>
|
| 269 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 270 |
+
</body>
|
| 271 |
+
</html>
|
script.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 2 |
+
// Smooth scrolling for anchor links
|
| 3 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 4 |
+
anchor.addEventListener('click', function (e) {
|
| 5 |
+
e.preventDefault();
|
| 6 |
+
|
| 7 |
+
const targetId = this.getAttribute('href');
|
| 8 |
+
const targetElement = document.querySelector(targetId);
|
| 9 |
+
|
| 10 |
+
window.scrollTo({
|
| 11 |
+
top: targetElement.offsetTop - 80,
|
| 12 |
+
behavior: 'smooth'
|
| 13 |
+
});
|
| 14 |
+
});
|
| 15 |
+
});
|
| 16 |
+
|
| 17 |
+
// Form submission handling
|
| 18 |
+
const contactForm = document.querySelector('form');
|
| 19 |
+
if (contactForm) {
|
| 20 |
+
contactForm.addEventListener('submit', function(e) {
|
| 21 |
+
e.preventDefault();
|
| 22 |
+
|
| 23 |
+
// Get form values
|
| 24 |
+
const name = document.getElementById('name').value;
|
| 25 |
+
const email = document.getElementById('email').value;
|
| 26 |
+
const message = document.getElementById('message').value;
|
| 27 |
+
|
| 28 |
+
// In a real application, you would send this data to a server
|
| 29 |
+
console.log('Form submitted:', { name, email, message });
|
| 30 |
+
|
| 31 |
+
// Show success message
|
| 32 |
+
alert('Thank you for your message! We will get back to you soon.');
|
| 33 |
+
|
| 34 |
+
// Reset form
|
| 35 |
+
contactForm.reset();
|
| 36 |
+
});
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
// Mobile menu toggle
|
| 40 |
+
const mobileMenuButton = document.querySelector('.mobile-menu-button');
|
| 41 |
+
const navLinks = document.querySelector('.nav-links');
|
| 42 |
+
|
| 43 |
+
if (mobileMenuButton && navLinks) {
|
| 44 |
+
mobileMenuButton.addEventListener('click', function() {
|
| 45 |
+
navLinks.style.display = navLinks.style.display === 'flex' ? 'none' : 'flex';
|
| 46 |
+
});
|
| 47 |
+
}
|
| 48 |
+
});
|
style.css
CHANGED
|
@@ -1,28 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
.
|
| 19 |
-
|
| 20 |
-
margin: 0 auto;
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
|
|
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');
|
| 2 |
+
|
| 3 |
+
:root {
|
| 4 |
+
--primary-color: #92400e;
|
| 5 |
+
--secondary-color: #d97706;
|
| 6 |
+
--accent-color: #fbbf24;
|
| 7 |
+
--light-color: #fef3c7;
|
| 8 |
+
--dark-color: #7c2d12;
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
body {
|
| 12 |
+
font-family: 'Poppins', sans-serif;
|
| 13 |
+
margin: 0;
|
| 14 |
+
padding: 0;
|
| 15 |
+
box-sizing: border-box;
|
| 16 |
+
background-color: #fff;
|
| 17 |
+
color: #333;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
h1, h2, h3, h4, h5, h6 {
|
| 21 |
+
font-family: 'Playfair Display', serif;
|
| 22 |
+
color: var(--dark-color);
|
| 23 |
}
|
| 24 |
|
| 25 |
+
/* Hero section styling */
|
| 26 |
+
section:first-of-type {
|
| 27 |
+
background-image: url('http://static.photos/pub/1200x630/456');
|
| 28 |
+
background-size: cover;
|
| 29 |
+
background-position: center;
|
| 30 |
}
|
| 31 |
|
| 32 |
+
/* Button styling */
|
| 33 |
+
.bg-amber-700 {
|
| 34 |
+
background-color: #b45309;
|
|
|
|
|
|
|
| 35 |
}
|
| 36 |
|
| 37 |
+
.bg-amber-700:hover {
|
| 38 |
+
background-color: #92400e;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
}
|
| 40 |
|
| 41 |
+
/* Menu section styling */
|
| 42 |
+
#menu .border-b-2 {
|
| 43 |
+
border-color: var(--secondary-color);
|
| 44 |
}
|
| 45 |
+
|
| 46 |
+
#menu .font-bold.text-amber-700 {
|
| 47 |
+
color: var(--dark-color);
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
/* Events section styling */
|
| 51 |
+
#events {
|
| 52 |
+
background-color: #ffedd5;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
/* Responsive design */
|
| 56 |
+
@media (max-width: 768px) {
|
| 57 |
+
.text-5xl {
|
| 58 |
+
font-size: 2.5rem;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.text-4xl {
|
| 62 |
+
font-size: 2rem;
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
.text-2xl {
|
| 66 |
+
font-size: 1.5rem;
|
| 67 |
+
}
|
| 68 |
+
}
|