Shenkezs's picture
Objective: Act as an expert web developer and UX/UI designer. Your task is to design and outline the code for a modern, responsive, and high-impact personal portfolio website for a [Your Profession, e.g., Graphic Designer, Software Engineer, Data Analyst].
2d0df50 verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
:host {
display: block;
background-color: #020617;
color: #94a3b8;
padding: 3rem 0;
border-top: 1px solid rgba(109, 40, 217, 0.2);
}
.footer-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.footer-logo {
font-family: 'Space Grotesk', sans-serif;
font-weight: 700;
font-size: 1.5rem;
color: white;
margin-bottom: 1rem;
display: inline-block;
}
.footer-highlight {
color: #6d28d9;
}
.footer-about p {
margin-bottom: 1.5rem;
line-height: 1.6;
}
.footer-links h3 {
color: white;
margin-bottom: 1.5rem;
font-size: 1.2rem;
}
.footer-links ul {
list-style: none;
padding: 0;
}
.footer-links li {
margin-bottom: 0.75rem;
}
.footer-links a {
color: #94a3b8;
text-decoration: none;
transition: color 0.3s ease;
}
.footer-links a:hover {
color: #6d28d9;
}
.social-links {
display: flex;
gap: 1rem;
margin-top: 1.5rem;
}
.social-link {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: rgba(109, 40, 217, 0.1);
color: #94a3b8;
transition: all 0.3s ease;
}
.social-link:hover {
background-color: #6d28d9;
color: white;
transform: translateY(-3px);
}
.copyright {
text-align: center;
margin-top: 3rem;
padding-top: 2rem;
border-top: 1px solid rgba(109, 40, 217, 0.2);
font-size: 0.9rem;
}
@media (max-width: 768px) {
.footer-container {
grid-template-columns: 1fr;
}
}
</style>
<div class="footer-container">
<div class="footer-about">
<a href="#hero" class="footer-logo">
<span class="footer-highlight">Quantum</span>Coder
</a>
<p>Building intelligent systems that understand and generate human language.</p>
<div class="social-links">
<a href="#" class="social-link">
<i data-feather="github"></i>
</a>
<a href="#" class="social-link">
<i data-feather="linkedin"></i>
</a>
<a href="#" class="social-link">
<i data-feather="twitter"></i>
</a>
<a href="#" class="social-link">
<i data-feather="mail"></i>
</a>
</div>
</div>
<div class="footer-links">
<h3>Quick Links</h3>
<ul>
<li><a href="#about">About Me</a></li>
<li><a href="#skills">Skills</a></li>
<li><a href="#projects">Projects</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div>
<div class="footer-links">
<h3>Technologies</h3>
<ul>
<li><a href="#">Machine Learning</a></li>
<li><a href="#">Large Language Models</a></li>
<li><a href="#">Natural Language Processing</a></li>
<li><a href="#">Software Development</a></li>
</ul>
</div>
<div class="footer-links">
<h3>Contact Info</h3>
<ul>
<li><a href="mailto:hello@quantumcoder.com">hello@quantumcoder.com</a></li>
<li><a href="#">San Francisco, CA</a></li>
<li><a href="#">Available for freelance</a></li>
</ul>
</div>
</div>
<div class="copyright">
&copy; ${new Date().getFullYear()} Quantum Coder. All rights reserved.
</div>
`;
}
}
customElements.define('custom-footer', CustomFooter);