Generaltoa's picture
Here’s a ready-to-use A/B test prompt pack tailored for a plumbing lead-gen landing page. It creates two distinct versions focused on speed, clarity, and trust signals for higher call/form conversions.
35f4881 verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
:host {
display: block;
margin-top: 3rem;
}
.footer {
background-color: #1f2937;
padding: 2rem 0;
border-top: 1px solid #374151;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.footer-section h3 {
font-size: 1.25rem;
margin-bottom: 1rem;
color: #0ea5e9;
}
.footer-section ul {
list-style: none;
}
.footer-section ul li {
margin-bottom: 0.5rem;
}
.footer-section ul li a {
color: #9ca3af;
text-decoration: none;
transition: color 0.3s;
}
.footer-section ul li a:hover {
color: #0ea5e9;
}
.copyright {
text-align: center;
padding-top: 2rem;
border-top: 1px solid #374151;
color: #9ca3af;
font-size: 0.875rem;
}
.badges {
display: flex;
gap: 1rem;
margin-top: 1rem;
}
.badge {
background-color: #374151;
padding: 0.25rem 0.5rem;
border-radius: 0.25rem;
font-size: 0.75rem;
}
</style>
<footer class="footer">
<div class="container">
<div class="footer-content">
<div class="footer-section">
<h3>Service Areas</h3>
<ul>
<li><a href="#">Downtown</a></li>
<li><a href="#">Westside</a></li>
<li><a href="#">East End</a></li>
<li><a href="#">North Hills</a></li>
<li><a href="#">South Park</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Services</h3>
<ul>
<li><a href="#">Emergency Plumbing</a></li>
<li><a href="#">Leak Repair</a></li>
<li><a href="#">Drain Cleaning</a></li>
<li><a href="#">Water Heater Services</a></li>
<li><a href="#">Pipe Replacement</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Company</h3>
<ul>
<li><a href="#">About Us</a></li>
<li><a href="#">Reviews</a></li>
<li><a href="#">License # PL-12345</a></li>
<li><a href="#">Insurance</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
</div>
<div class="badges">
<div class="badge">Licensed & Insured</div>
<div class="badge">BBB A+ Rated</div>
<div class="badge">24/7 Emergency Service</div>
</div>
<div class="copyright">
<p>&copy; 2023 PlumbCraft Pro. All rights reserved.</p>
<p>Licensed in [State] | License # PL-12345</p>
</div>
</div>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter);