kirikir13's picture
#ADD The ability Python PDF and HTML files as well as.Ininifil as part of the accepted converted to PD ankle gets the the unit if we make it look more like the Star Trek replicator blacks and Blues and hues and yellows I Star Trek theme herediscription i would lie fallowed please: "# Futuristic Drag-and-Drop User Interface Inspired by the Star Trek Replicator: Comprehensive Design and Implementation Report
52ec77f verified
class CustomHeader extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
:host {
display: block;
}
.header {
background: linear-gradient(90deg, #0f0f23 0%, #1a1a2e 100%);
border-bottom: 1px solid rgba(218, 165, 32, 0.3);
padding: 1rem 0;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
display: flex;
align-items: center;
color: #DAA520;
text-decoration: none;
}
.logo-icon {
margin-right: 12px;
color: #5B9BD5;
}
.logo-text {
font-family: 'Orbitron', sans-serif;
font-size: 1.8rem;
font-weight: 700;
letter-spacing: 2px;
background: linear-gradient(90deg, #DAA520, #5B9BD5);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.nav-links {
display: flex;
list-style: none;
}
.nav-link {
margin-left: 2rem;
color: #aaa;
text-decoration: none;
font-family: 'Orbitron', sans-serif;
font-size: 1rem;
transition: color 0.3s;
display: flex;
align-items: center;
}
.nav-link:hover {
color: #DAA520;
}
.nav-link i {
margin-right: 8px;
}
@media (max-width: 768px) {
.container {
flex-direction: column;
}
.nav-links {
margin-top: 1rem;
}
.nav-link {
margin: 0 1rem;
}
}
</style>
<header class="header">
<div class="container">
<a href="/" class="logo">
<i data-feather="cpu" class="logo-icon"></i>
<span class="logo-text">TrekPDF</span>
</a>
<ul class="nav-links">
<li><a href="#" class="nav-link"><i data-feather="home"></i> Home</a></li>
<li><a href="#" class="nav-link"><i data-feather="settings"></i> Settings</a></li>
<li><a href="#" class="nav-link"><i data-feather="help-circle"></i> Help</a></li>
</ul>
</div>
</header>
`;
// Initialize Feather Icons after a short delay to ensure DOM is ready
setTimeout(() => {
if (typeof feather !== 'undefined') {
feather.replace();
}
}, 100);
}
}
customElements.define('custom-header', CustomHeader);