SAIF112's picture
Act as a world-class systems architect and product manager specializing in web hosting platforms. Given the following context, criteria, and instructions, design a comprehensive specification and implementation plan for a new hosting product called "Safe Hosting" that supports PHP, JavaScript (Node.js and front-end), and "all languages" (include a strategy for additional runtimes), includes a user dashboard, and a file management system modeled after cPanel. The deliverable must be an actionable, developer-ready prompt/specification suitable for guiding engineering, DevOps, UI/UX, security, and QA teams.
131bbbf verified
Raw History Blame Contribute Delete
6.13 kB
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
footer {
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
color: white;
padding: 3rem 2rem;
margin-top: auto;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.footer-section h3 {
color: #f8fafc;
margin-bottom: 1rem;
font-size: 1.125rem;
font-weight: 600;
}
.footer-links {
list-style: none;
padding: 0;
margin: 0;
}
.footer-links li {
margin-bottom: 0.5rem;
}
.footer-links a {
color: #cbd5e1;
text-decoration: none;
transition: color 0.3s ease;
display: flex;
align-items: center;
gap: 0.5rem;
}
.footer-links a:hover {
color: #f8fafc;
}
.social-links {
display: flex;
gap: 1rem;
margin-top: 1rem;
}
.social-links a {
color: #cbd5e1;
transition: color 0.3s ease;
}
.social-links a:hover {
color: #f8fafc;
}
.footer-bottom {
max-width: 1200px;
margin: 2rem auto 0;
padding-top: 2rem;
border-top: 1px solid #334155;
text-align: center;
color: #94a3b8;
}
@media (max-width: 768px) {
footer {
padding: 2rem 1rem;
}
.footer-content {
grid-template-columns: 1fr;
text-align: center;
}
.social-links {
justify-content: center;
}
}
</style>
<footer>
<div class="footer-content">
<div class="footer-section">
<h3>SafeHost Pro</h3>
<p style="color: #94a3b8; line-height: 1.6;">
Enterprise-grade multi-runtime hosting with security-first architecture and advanced file management.
</p>
<div class="social-links">
<a href="#"><i data-feather="github"></i></a>
<a href="#"><i data-feather="twitter"></i></a>
<a href="#"><i data-feather="linkedin"></i></a>
<a href="#"><i data-feather="discord"></i></a>
</div>
</div>
<div class="footer-section">
<h3>Product</h3>
<ul class="footer-links">
<li><a href="/features.html"><i data-feather="arrow-right"></i> Features</a></li>
<li><a href="/pricing.html"><i data-feather="arrow-right"></i> Pricing</a></li>
<li><a href="/security.html"><i data-feather="arrow-right"></i> Security</a></li>
<li><a href="/status.html"><i data-feather="arrow-right"></i> Status</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Resources</h3>
<ul class="footer-links">
<li><a href="/docs.html"><i data-feather="arrow-right"></i> Documentation</a></li>
<li><a href="/tutorials.html"><i data-feather="arrow-right"></i> Tutorials</a></li>
<li><a href="/blog.html"><i data-feather="arrow-right"></i> Blog</a></li>
<li><a href="/api.html"><i data-feather="arrow-right"></i> API Reference</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Support</h3>
<ul class="footer-links">
<li><a href="/help.html"><i data-feather="arrow-right"></i> Help Center</a></li>
<li><a href="/contact.html"><i data-feather="arrow-right"></i> Contact Us</a></li>
<li><a href="/community.html"><i data-feather="arrow-right"></i> Community</a></li>
<li><a href="/enterprise.html"><i data-feather="arrow-right"></i> Enterprise</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<p>&copy; 2024 SafeHost Pro. All rights reserved. Built with security in mind.</p>
</div>
</footer>
`;
// Initialize feather icons
this.shadowRoot.querySelectorAll('[data-feather]').forEach(icon => {
feather.replace(icon);
});
}
}
customElements.define('custom-footer', CustomFooter);