code site for woodworking shop
- User
code site for woodworking shop
Assistant
code site for woodworking shop
Here's a basic HTML, CSS, and JavaScript template for a woodworking shop website. This template includes the following pages:
Note: This is a basic template and does not include e-commerce functionality or a blog. You can add these features later using plugins or additional code.
HTML (index.html)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Woodworking Shop</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<header>
<h1>Woodworking Shop</h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<main>
<section class="hero">
<img src="images/hero-image.jpg" alt="Woodworking Hero Image" />
<h2>Welcome to our woodworking shop!</h2>
<p>We offer custom woodworking services and handcrafted products.</p>
</section>
<section class="intro">
<h2>About Us</h2>
<p>We are a family-owned woodworking shop dedicated to creating high-quality, handcrafted products.</p>
</section>
</main>
<footer>
<p>© 2023 Woodworking Shop</p>
</footer>
</body>
</html>
HTML (about.html)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>About Us - Woodworking Shop</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<header>
<h1>Woodworking Shop</h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<main>
<section class="about">
<h2>About Us</h2>
<p>We are a family-owned woodworking shop dedicated to creating high-quality, handcrafted products.</p>
<p>Our team of skilled craftsmen have years of experience in woodworking and take pride in every project we complete.</p>
</section>
</main>
<footer>
<p>© 2023 Woodworking Shop</p>
</footer>
</body>
</html>
HTML (services.html)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Services - Woodworking Shop</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<header>
<h1>Woodworking Shop</h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<main>
<section class="services">
<h2>Our Services</h2>
<ul>
<li><strong>Custom Woodworking:</strong> We offer custom woodworking services for clients looking for unique and personalized pieces.</li>
<li><strong>Wood Restoration:</strong> We restore and refinish wood furniture and other items to their original beauty.</li>
<li><strong>Wood Finishing:</strong> We offer a variety of wood finishing options to enhance the beauty and durability of your wood products.</li>
</ul>
</section>
</main>
<footer>
<p>© 2023 Woodworking Shop</p>
</footer>
</body>
</html>
HTML (gallery.html)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Gallery - Woodworking Shop</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<header>
<h1>Woodworking Shop</h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<main>
<section class="gallery">
<h2>Gallery</h2>
<div class="gallery-container">
<img src="images/gallery-image1.jpg" alt="Gallery Image 1" />
<img src="images/gallery-image2.jpg" alt="Gallery Image 2" />
<img src="images/gallery-image3.jpg" alt="Gallery Image 3" />
</div>
</section>
</main>
<footer>
<p>© 2023 Woodworking Shop</p>
</footer>
</body>
</html>
HTML (contact.html)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Contact - Woodworking Shop</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<header>
<h1>Woodworking Shop</h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<main>
<section class="contact">
<h2>Contact Us</h2>
<form>
<label for="name">Name:</label>
<input type="text" id="name" name="name" required />
<br />
<label for="email">Email:</label>
<input type="email" id="email" name="email" required />
<br />
<label for="message">Message:</label>
<textarea id="message" name="message" required></textarea>
<br />
<button type="submit">Send Message</button>
</form>
</section>
</main>
<footer>
<p>© 2023 Woodworking Shop</p>
</footer>
</body>
</html>
CSS (styles.css)
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header {
background-color: #333;
color: #fff;
padding: 1em;
text-align: center;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
}
nav li {
margin-right: 20px;
}
nav a {
color: #fff;
text-decoration: none;
}
main {
padding: 2em;
}
.hero {
text-align: center;
}
.hero img {
width: 100%;
height: 300px;
object-fit: cover;
}
.about, .services, .gallery, .contact {
margin-bottom: 2em;
}
.gallery-container {
display: flex;
justify-content: space-between;
}
.gallery-container img {
width: 30%;
height: 200px;
object-fit: cover;
margin: 10px;
}
form {
display: flex;
flex-direction: column;
align-items: center;
}
label {
margin-top: 10px;
}
input, textarea {
width: 100%;
padding: 10px;
margin-top: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
button[type="submit"] {
margin-top: 20px;
padding: 10px 20px;
background-color: #333;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
footer {
background-color: #333;
color: #fff;
padding: 1em;
text-align: center;
}
JavaScript (script.js)
// Add JavaScript code here if needed
This template provides a basic structure for your woodworking shop website. You can customize the design, add more pages, and include additional features such as e-commerce functionality, a blog, or social media integration.