reinitialize local repo
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
<!-- Footer Section -->
|
||||
<footer role="contentinfo">
|
||||
<div id="newsletter-container">
|
||||
<label for="email-input" class="hidden">Enter your email to subscribe to our newsletter</label>
|
||||
|
||||
<form id="newsletter-form">
|
||||
<label for="email-input" class="hidden">Enter your email to subscribe to our newsletter</label>
|
||||
<input
|
||||
type="email"
|
||||
id="email-input"
|
||||
aria-label="Enter your email to Subscribe"
|
||||
|
||||
placeholder="Subscribe@BloomValleyNursery.com"
|
||||
/>
|
||||
<button id="submit-btn" type="submit" aria-label="Submit the subscribe form">
|
||||
@@ -14,16 +15,18 @@
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
<div id="footer-nav">
|
||||
|
||||
<nav id="footer-nav">
|
||||
<ul>
|
||||
<li><a href="/" {% if currentPage == 'index' %}class="current-page" aria-current="page"{% endif %}>Home</a></li>
|
||||
<li><a href="/gallery/" {% if currentPage == 'gallery' %}class="current-page" aria-current="page"{% endif %}>Gallery</a></li>
|
||||
<li><a href="/about/" {% if currentPage == 'about' %}class="current-page" aria-current="page"{% endif %}>About Us</a></li>
|
||||
<li><a href="/community/" {% if currentPage == 'community' %}class="current-page" aria-current="page"{% endif %}>Community Events</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div id="social-media">
|
||||
<p>Check us out on social media!</p>
|
||||
<h3>Check us out on social media!</h3>
|
||||
<ul class="social-icons">
|
||||
<li id="pinterest">
|
||||
<a href="#" aria-label="Follow us on Pinterest"
|
||||
|
@@ -1,25 +1,37 @@
|
||||
<header role="banner">
|
||||
<div class="logo">
|
||||
<img
|
||||
src="images/Client1_LogoPalette2_F0C06D.png"
|
||||
src="/images/Client1_LogoPalette2_F0C06D.png"
|
||||
alt="Bloom Valley Nursery Logo">
|
||||
</div>
|
||||
<h1>Bloom Valley Nursery</h1>
|
||||
|
||||
<p class="business-name">Bloom Valley Nursery</p>
|
||||
|
||||
<!-- Navigation Bar -->
|
||||
<button id="menu-toggle" class="menu-toggle" aria-label="Open navigation menu" aria-expanded="false">
|
||||
<i class="fa-solid fa-bars fa-2xl"></i>
|
||||
</button>
|
||||
|
||||
<nav role="navigation" aria-label="Main Navigation">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/" {% if currentPage == 'index' %}class="current-page" aria-current="page"{% endif %}>Home</a></li>
|
||||
<li><a href="/gallery/" {% if currentPage == 'gallery' %}class="current-page" aria-current="page"{% endif %}>Gallery</a></li>
|
||||
<li><a href="/about/" {% if currentPage == 'about'%}class="current-page" aria-current="page"{% endif %}>About Us</a></li>
|
||||
<li><a href="/community/" {% if currentPage == 'community' %}class="current-page" aria-current="page"{% endif %}>Community Events</a></li>
|
||||
<a href="/" {% if currentPage == 'index' %}class="current-page" aria-current="page"{% endif %}>Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/gallery/" {% if currentPage == 'gallery' %}class="current-page" aria-current="page"{% endif %}>Gallery</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/about/" {% if currentPage == 'about'%}class="current-page" aria-current="page"{% endif %}>About Us</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/community/" {% if currentPage == 'community' %}class="current-page" aria-current="page"{% endif %}>Community Events</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
</nav>
|
||||
|
||||
<button
|
||||
id="shopping-cart"
|
||||
aria-label="Open shopping cart"
|
||||
class="fa-solid fa-cart-shopping fa-2xl">
|
||||
class="fa-solid fa-cart-shopping fa-xl">
|
||||
</button>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
143
src/index.njk
143
src/index.njk
@@ -17,72 +17,131 @@ pageScripts:
|
||||
|
||||
<!-- Main Content Section -->
|
||||
|
||||
<aside id="left-aside">
|
||||
<div id="perks-feature-container" aria-label="Reasons for Shopping With Bloom Valley Nursery">
|
||||
<div id="left-aside">
|
||||
<section id="perks-feature-container" >
|
||||
<h2 id="perks-heading">Shopper Perks</h2>
|
||||
<div class="perk-item" aria-label="Perk">
|
||||
<div class="perk-item">
|
||||
<h3>- 50% Off Deal -</h3>
|
||||
<p>New subscribers to our newsletter this month will receive a coupon for 50% off their first purchase! Click here for details! Terms and conditions apply.</p>
|
||||
</div>
|
||||
<div class="perk-item" aria-label="Perk">
|
||||
<div class="perk-item">
|
||||
<h3>Exceptional Quality</h3>
|
||||
<p>Every plant is carefully cultivated from seed or bulb to maturity, offering you vibrant, healthy specimens.</p>
|
||||
</div>
|
||||
<div class="perk-item" aria-label="Perk">
|
||||
<div class="perk-item">
|
||||
<h3>Expert Guidance</h3>
|
||||
<p>Our knowledgeable team is here to help, from selecting the perfect plants to offering planting tips.</p>
|
||||
</div>
|
||||
<div class="perk-item" aria-label="Perk">
|
||||
<div class="perk-item">
|
||||
<h3>Eco-Friendly Practices</h3>
|
||||
<p>We prioritize sustainability by using environmentally conscious growing methods, so you can feel good about your choices.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="testimonials-feature" aria-label="Customer Testimonials About Their Experience With Bloom Valley Nursery.">
|
||||
</section>
|
||||
|
||||
<section id="testimonials-feature" >
|
||||
<h2>What Others Say</h2>
|
||||
<div class="testimonial-container">
|
||||
<div class="testimonial" aria-label="Customer Testimonial.">
|
||||
<div class="testimonial">
|
||||
<p>"My order arrived the very next day. The speed of delivery and high-quality products provided by Bloom Valley Nursery helped my project go smoothly from start to finish!"</p>
|
||||
<h3>- Caroline N.</h3>
|
||||
</div>
|
||||
<div class="testimonial" aria-label="Customer Testimonial.">
|
||||
<div class="testimonial">
|
||||
<p>"Thanks to the Gardening 101 Workshop with Bethany and Bloom Valley Nursery's amazing line of products, I won 'Best Azaleas' at the 2024 Royal Horticultural Society's American Cup!"</p>
|
||||
<h3>- Morris F.</h3>
|
||||
</div>
|
||||
<div class="testimonial" aria-label="Customer Testimonial.">
|
||||
<div class="testimonial">
|
||||
<p>"Bloom Valley Nursery's community garden inspired me take charge of my health. I was able to lose 50 pounds!"</p>
|
||||
<h3>- Gladis B.</h3>
|
||||
</div>
|
||||
</div> </div>
|
||||
</aside>
|
||||
<!--<div id="featured-images">
|
||||
<div class="featured-item">
|
||||
<img src="image1.jpg" alt="Feature 1">
|
||||
</div>-->
|
||||
<section id="featured-container" aria-label="Featured items of the week">
|
||||
<h2> This Week's Featured Items</h2>
|
||||
<ul id="featured-images" aria-label="Images of this week's featured items">
|
||||
<li><a href="/gallery/" id="featured-aloe-plant">
|
||||
<img src="images/indoor/AloePlant.png" alt="An Aloe Vera plant in a turquoise ceramic planter." class="featured-item">Aloe Vera / Turquoise Planter</a></li>
|
||||
<li><a href="/gallery/" id="featured-bird-house">
|
||||
<img src="images/accessories/BirdHouse.png" alt="A handmade wooden birdhouse painted blue." class="featured-item">Handmade Wooden Birdhouse - Blue</a></li>
|
||||
<li><a href="/gallery/" id="featured-apple-tree">
|
||||
<img src="images/trees/AppleTree.png" alt="A Red Gala apple sapling in a burlap wrap." class="featured-item">Red Gala Apple Sapling - Burlap Bound</a></li>
|
||||
<li><a href="/gallery/" id="featured-potting-soil">
|
||||
<img src="images/accessories/PottingSoil.png" alt="A 10 lbs bag of potting soil." class="featured-item">Potting Soil - 10 lbs Bag</a></li>
|
||||
<li><a href="/gallery/" id="featured-spider-plant">
|
||||
<img src="images/indoor/SpiderPlant.png" alt="A Spider plant in a light gray ceramic planter." class="featured-item">Spider Plant / Light Gray Planter</a></li>
|
||||
<li><a href="/gallery/" id="featured-birch-tree">
|
||||
<img src="images/trees/BirchTree.png" alt="A Silver Birch sapling in a disposable plastic container." class="featured-item">Silver Birch Sapling - Containerized</a></li>
|
||||
<li><a href="/gallery/" id="featured-watering-can">
|
||||
<img src="images/accessories/WateringCan.png" alt="A blue painted aluminum watering can." class="featured-item">Painted Aluminum Watering Can - Blue</a></li>
|
||||
<li><a href="/gallery/" id="featured-string-of-pearls">
|
||||
<img src="images/indoor/StringofPearls.png" alt="String-of-pearls plant in hanging white ceramic planter." class="featured-item">String-of-Pearls Plant / Hanging White Planter</a></li>
|
||||
<li><a href="/gallery/" id="featured-maple-tree">
|
||||
<img src="images/trees/MapleTree.png" alt="A Japanese Maple sapling in a burlap wrap." class="featured-item">Japanese Maple Sapling - Burlap Bound</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
<aside id="right-aside">
|
||||
<div id="category-nav-container" aria-label="Available Product Categories">
|
||||
</div>
|
||||
|
||||
<!--<div id="featured-images">
|
||||
<div class="featured-item">
|
||||
<img src="image1.jpg" alt="Feature 1">
|
||||
</div>-->
|
||||
|
||||
<section id="featured-container" >
|
||||
<h2> This Week's Featured Items</h2>
|
||||
<ul id="featured-images">
|
||||
<li>
|
||||
<a href="/gallery/" id="featured-aloe-plant">
|
||||
<figure>
|
||||
<img src="images/indoor/AloePlant.png" alt="An Aloe Vera plant in a turquoise ceramic planter." class="featured-item">
|
||||
<figcaption>Aloe Vera / Turquoise Planter</figcaption>
|
||||
</figure>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/gallery/" id="featured-bird-house">
|
||||
<figure>
|
||||
<img src="images/accessories/BirdHouse.png" alt="A handmade wooden birdhouse painted blue." class="featured-item">
|
||||
<figcaption>Handmade Wooden Birdhouse - Blue</figcaption>
|
||||
</figure>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/gallery/" id="featured-apple-tree">
|
||||
<figure>
|
||||
<img src="images/trees/AppleTree.png" alt="A Red Gala apple sapling in a burlap wrap." class="featured-item">
|
||||
<figcaption>Red Gala Apple Sapling - Burlap Bound</figcaption>
|
||||
</figure>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/gallery/" id="featured-potting-soil">
|
||||
<figure>
|
||||
<img src="images/accessories/PottingSoil.png" alt="A 10 lbs bag of potting soil." class="featured-item">
|
||||
<figcaption>Potting Soil - 10 lbs Bag</figcaption>
|
||||
</figure>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/gallery/" id="featured-spider-plant">
|
||||
<figure>
|
||||
<img src="images/indoor/SpiderPlant.png" alt="A Spider plant in a light gray ceramic planter." class="featured-item">
|
||||
<figcaption>Spider Plant / Light Gray Planter</figcaption>
|
||||
</figure>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/gallery/" id="featured-birch-tree">
|
||||
<figure>
|
||||
<img src="images/trees/BirchTree.png" alt="A Silver Birch sapling in a disposable plastic container." class="featured-item">
|
||||
<figcaption>Silver Birch Sapling - Containerized</figcaption>
|
||||
</figure>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/gallery/" id="featured-watering-can">
|
||||
<figure>
|
||||
<img src="images/accessories/WateringCan.png" alt="A blue painted aluminum watering can." class="featured-item">
|
||||
<figcaption>Painted Aluminum Watering Can - Blue</figcaption>
|
||||
</figure>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/gallery/" id="featured-string-of-pearls">
|
||||
<figure>
|
||||
<img src="images/indoor/StringofPearls.png" alt="String-of-pearls plant in hanging white ceramic planter." class="featured-item">
|
||||
<figcaption>String-of-Pearls Plant / Hanging White Planter</figcaption>
|
||||
</figure>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/gallery/" id="featured-maple-tree">
|
||||
<figure>
|
||||
<img src="images/trees/MapleTree.png" alt="A Japanese Maple sapling in a burlap wrap." class="featured-item">
|
||||
<figcaption>Japanese Maple Sapling - Burlap Bound</figcaption>
|
||||
</figure>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<nav id="right-aside">
|
||||
<div id="category-nav-container">
|
||||
<h2>Shop by Category</h2>
|
||||
<div class="categories">
|
||||
<ul>
|
||||
@@ -96,5 +155,5 @@ pageScripts:
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
</nav>
|
||||
<!-- Content specific to this page goes here -->
|
||||
|
@@ -29,12 +29,16 @@ header .logo img {
|
||||
|
||||
}
|
||||
|
||||
header h1 {
|
||||
.business-name {
|
||||
font-family: 'Georgia', serif;
|
||||
font-size: 2.8rem;
|
||||
color: #014038; /* Dark green for the title */
|
||||
margin: 10px 0;
|
||||
text-align: center;
|
||||
text-shadow: 0.5px 0.5px 1px #f7f7f7, /* Bottom-right top shadow */
|
||||
-0.5px -0.5px 1px #f7f7f7, /* Top-left top shadow */
|
||||
-0.5px 0.5px 1px #f7f7f7, /* Bottom-left top shadow */
|
||||
0.5px -0.5px 1px #f7f7f7; /* Top-right top shadow */
|
||||
}
|
||||
|
||||
header p.tagline {
|
||||
@@ -45,7 +49,102 @@ header p.tagline {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
nav {
|
||||
.menu-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 780px) {
|
||||
/* --- Main Header Container --- */
|
||||
header {
|
||||
flex-direction: column;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.header-main {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.logo-and-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
/* --- Logo --- */
|
||||
header .logo {
|
||||
position: static;
|
||||
width: 100px; /* Smaller logo for compact header */
|
||||
}
|
||||
|
||||
header .logo img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* --- Business Name --- */
|
||||
.business-name {
|
||||
font-size: 1.8rem; /* Smaller name for mobile */
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* --- Header Icons --- */
|
||||
.header-icons {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
#shopping-cart {
|
||||
position: static;
|
||||
padding: 0;
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.menu-toggle {
|
||||
display: block;
|
||||
background: none;
|
||||
border: none;
|
||||
color: #014038;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* --- Compact Navigation Menu --- */
|
||||
nav {
|
||||
display: none;
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
background-color: #f7f7f7;
|
||||
border-radius: 5px;
|
||||
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
nav.is-open {
|
||||
display: block;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
flex-direction: column;
|
||||
padding: 5px 0; /* Reduced vertical padding */
|
||||
}
|
||||
|
||||
nav ul li a {
|
||||
padding: 10px 0; /* Reduced padding for each link */
|
||||
font-size: 1rem; /* Smaller font size for links */
|
||||
text-align: center;
|
||||
border: none;
|
||||
}
|
||||
|
||||
nav ul li a.current-page {
|
||||
background: none;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
nav, #footer-nav {
|
||||
margin-top: 20px;
|
||||
background-color: #f7f7f7; /* White for navigation background */
|
||||
padding: 10px 20px;
|
||||
@@ -54,7 +153,7 @@ nav {
|
||||
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
button#shopping-cart{
|
||||
#shopping-cart {
|
||||
position: absolute;
|
||||
top: 100px;
|
||||
right: 100px;
|
||||
@@ -66,16 +165,20 @@ button#shopping-cart{
|
||||
z-index: 5;
|
||||
transition: background-color 0.3s ease, color 0.3s ease;
|
||||
box-shadow: 1px 2px 3px 0.5px rgba(0, 0, 0, 0.5);
|
||||
border: none;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
button#shopping-cart:hover {
|
||||
#shopping-cart:hover {
|
||||
background-color: #014038;
|
||||
color: #96baa0;
|
||||
border: solid #f7f7f7;
|
||||
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
nav ul {
|
||||
nav ul, #footer-nav ul {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
list-style: none;
|
||||
@@ -83,7 +186,7 @@ nav ul {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
nav ul li {
|
||||
nav ul li, #footer-nav ul li {
|
||||
margin: 0 20px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
@@ -100,11 +203,10 @@ nav ul li {
|
||||
box-shadow: 1px 2px 3px 0.5px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
nav ul li a {
|
||||
nav ul li a, #footer-nav ul li a {
|
||||
font-family: 'Arial', sans-serif;
|
||||
font-size: 1rem;
|
||||
font-weight: bold;
|
||||
border: solid #f7f7f7;
|
||||
color: #014038;
|
||||
text-decoration: underline;
|
||||
padding: 8px 15px;
|
||||
@@ -112,7 +214,7 @@ nav ul li a {
|
||||
transition: background-color 0.3s ease, color 0.3s ease;
|
||||
}
|
||||
|
||||
nav ul li a:hover {
|
||||
nav ul li a:hover, #footer-nav ul li a:hover {
|
||||
background-color: #f7f7f7;
|
||||
color: #014038;
|
||||
border: solid #014038;
|
||||
@@ -169,17 +271,19 @@ footer div label {
|
||||
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
/* #footer-nav {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#footer-nav ul {
|
||||
position: relative;
|
||||
list-style-type: none;
|
||||
display: inline-block;
|
||||
flex-direction: row;
|
||||
margin-top: 20px;
|
||||
background-color: #f7f7f7; /* White for navigation background */
|
||||
padding: 5px 20px;
|
||||
background-color: #f7f7f7;
|
||||
border-radius: 5px;
|
||||
width: 100%; /* Ensures the nav spans the width of the header */
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Adds subtle shadow for depth */
|
||||
width: fit-content;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
#footer-nav ul li {
|
||||
@@ -201,7 +305,7 @@ footer div label {
|
||||
font-family: 'Arial', sans-serif;
|
||||
font-size: 1rem;
|
||||
font-weight: bold;
|
||||
color: #014038; /* Dark green for the links */
|
||||
color: #014038;
|
||||
text-decoration: none;
|
||||
padding: 8px 15px;
|
||||
border-radius: 5px;
|
||||
@@ -213,7 +317,7 @@ footer div label {
|
||||
color: #014038;
|
||||
border: solid #014038;
|
||||
border-radius: 10px;
|
||||
}
|
||||
} */
|
||||
|
||||
#social-media {
|
||||
position: relative;
|
||||
@@ -223,7 +327,7 @@ footer div label {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#social-media p {
|
||||
#social-media h3 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user