nomadicsynth's picture
Build a landing page with a retro-futuristic, people-focused aesthetic inspired by Googie architecture (The Jetsons, 50s/60s space age) and the architectural grandeur of The Talos Principle II's New Jerusalem (classical proportions with futuristic tech elements). Think: geometric patterns, dimensional shapes with depth, glowing accents, warm gradients, and optimistic space-age design—not flat, rounded rectangles.
f853e9d verified
class CustomHeader extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
:host {
display: block;
width: 100%;
}
header {
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
padding: 1rem 2rem;
}
.container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-family: 'Archivo Black', sans-serif;
font-size: 1.5rem;
color: #3b82f6;
text-decoration: none;
display: flex;
align-items: center;
}
.logo-icon {
margin-right: 0.5rem;
color: #22c55e;
}
nav ul {
display: flex;
gap: 1.5rem;
list-style: none;
}
nav a {
text-decoration: none;
color: #334155;
font-weight: 500;
transition: color 0.2s;
position: relative;
}
nav a:hover {
color: #3b82f6;
}
nav a::after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background: linear-gradient(to right, #3b82f6, #22c55e);
transition: width 0.3s;
}
nav a:hover::after {
width: 100%;
}
@media (max-width: 768px) {
.container {
flex-direction: column;
gap: 1rem;
}
nav ul {
flex-wrap: wrap;
justify-content: center;
}
}
</style>
<header>
<div class="container">
<a href="/" class="logo">
<i data-feather="hexagon" class="logo-icon"></i>
Neon Garden
</a>
<nav>
<ul>
<li><a href="#ideas">Ideas</a></li>
<li><a href="#about">About</a></li>
<li><a href="#share">Share</a></li>
<li><a href="#community">Community</a></li>
</ul>
</nav>
</div>
</header>
`;
}
}
customElements.define('custom-header', CustomHeader);