Delete components/footer.js
Browse files- components/footer.js +0 -165
components/footer.js
DELETED
|
@@ -1,165 +0,0 @@
|
|
| 1 |
-
class Footer extends HTMLElement {
|
| 2 |
-
connectedCallback() {
|
| 3 |
-
this.attachShadow({ mode: 'open' });
|
| 4 |
-
|
| 5 |
-
const styles = `
|
| 6 |
-
<style>
|
| 7 |
-
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
|
| 8 |
-
|
| 9 |
-
:host {
|
| 10 |
-
display: block;
|
| 11 |
-
background-color: #0f172a;
|
| 12 |
-
color: #94a3b8;
|
| 13 |
-
padding: 4rem 1.5rem 2rem 1.5rem;
|
| 14 |
-
margin-top: 4rem;
|
| 15 |
-
}
|
| 16 |
-
|
| 17 |
-
.container {
|
| 18 |
-
max-width: 1280px;
|
| 19 |
-
margin: 0 auto;
|
| 20 |
-
}
|
| 21 |
-
|
| 22 |
-
.grid {
|
| 23 |
-
display: grid;
|
| 24 |
-
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
| 25 |
-
gap: 3rem;
|
| 26 |
-
margin-bottom: 3rem;
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
.brand h3 {
|
| 30 |
-
color: white;
|
| 31 |
-
font-family: 'Inter', sans-serif;
|
| 32 |
-
font-size: 1.5rem;
|
| 33 |
-
font-weight: 800;
|
| 34 |
-
margin: 0 0 1rem 0;
|
| 35 |
-
}
|
| 36 |
-
|
| 37 |
-
.brand span {
|
| 38 |
-
color: #4f46e5;
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
.brand p {
|
| 42 |
-
line-height: 1.6;
|
| 43 |
-
font-size: 0.95rem;
|
| 44 |
-
}
|
| 45 |
-
|
| 46 |
-
.col h4 {
|
| 47 |
-
color: white;
|
| 48 |
-
font-family: 'Inter', sans-serif;
|
| 49 |
-
font-size: 1rem;
|
| 50 |
-
font-weight: 600;
|
| 51 |
-
margin: 0 0 1.25rem 0;
|
| 52 |
-
}
|
| 53 |
-
|
| 54 |
-
.col ul {
|
| 55 |
-
list-style: none;
|
| 56 |
-
padding: 0;
|
| 57 |
-
margin: 0;
|
| 58 |
-
}
|
| 59 |
-
|
| 60 |
-
.col li {
|
| 61 |
-
margin-bottom: 0.75rem;
|
| 62 |
-
}
|
| 63 |
-
|
| 64 |
-
.col a {
|
| 65 |
-
color: #94a3b8;
|
| 66 |
-
text-decoration: none;
|
| 67 |
-
font-size: 0.9rem;
|
| 68 |
-
transition: color 0.2s;
|
| 69 |
-
}
|
| 70 |
-
|
| 71 |
-
.col a:hover {
|
| 72 |
-
color: #4f46e5;
|
| 73 |
-
}
|
| 74 |
-
|
| 75 |
-
.bottom {
|
| 76 |
-
border-top: 1px solid #1e293b;
|
| 77 |
-
padding-top: 2rem;
|
| 78 |
-
display: flex;
|
| 79 |
-
flex-direction: column;
|
| 80 |
-
align-items: center;
|
| 81 |
-
gap: 1rem;
|
| 82 |
-
}
|
| 83 |
-
|
| 84 |
-
@media (min-width: 768px) {
|
| 85 |
-
.bottom {
|
| 86 |
-
flex-direction: row;
|
| 87 |
-
justify-content: space-between;
|
| 88 |
-
}
|
| 89 |
-
}
|
| 90 |
-
|
| 91 |
-
.socials {
|
| 92 |
-
display: flex;
|
| 93 |
-
gap: 1rem;
|
| 94 |
-
}
|
| 95 |
-
|
| 96 |
-
.socials a {
|
| 97 |
-
color: #94a3b8;
|
| 98 |
-
transition: color 0.2s;
|
| 99 |
-
}
|
| 100 |
-
|
| 101 |
-
.socials a:hover {
|
| 102 |
-
color: white;
|
| 103 |
-
}
|
| 104 |
-
</style>
|
| 105 |
-
`;
|
| 106 |
-
|
| 107 |
-
this.shadowRoot.innerHTML = `
|
| 108 |
-
${styles}
|
| 109 |
-
<div class="container">
|
| 110 |
-
<div class="grid">
|
| 111 |
-
<div class="brand">
|
| 112 |
-
<h3>Nebula<span>Nexus</span></h3>
|
| 113 |
-
<p>Making the web a better place, one pixel at a time. Join us in the journey to digital perfection.</p>
|
| 114 |
-
</div>
|
| 115 |
-
|
| 116 |
-
<div class="col">
|
| 117 |
-
<h4>Product</h4>
|
| 118 |
-
<ul>
|
| 119 |
-
<li><a href="#">Features</a></li>
|
| 120 |
-
<li><a href="#">Integrations</a></li>
|
| 121 |
-
<li><a href="#">Pricing</a></li>
|
| 122 |
-
<li><a href="#">Changelog</a></li>
|
| 123 |
-
</ul>
|
| 124 |
-
</div>
|
| 125 |
-
|
| 126 |
-
<div class="col">
|
| 127 |
-
<h4>Company</h4>
|
| 128 |
-
<ul>
|
| 129 |
-
<li><a href="#">About Us</a></li>
|
| 130 |
-
<li><a href="#">Careers</a></li>
|
| 131 |
-
<li><a href="#">Blog</a></li>
|
| 132 |
-
<li><a href="#">Contact</a></li>
|
| 133 |
-
</ul>
|
| 134 |
-
</div>
|
| 135 |
-
|
| 136 |
-
<div class="col">
|
| 137 |
-
<h4>Legal</h4>
|
| 138 |
-
<ul>
|
| 139 |
-
<li><a href="#">Privacy Policy</a></li>
|
| 140 |
-
<li><a href="#">Terms of Service</a></li>
|
| 141 |
-
<li><a href="#">Cookie Policy</a></li>
|
| 142 |
-
</ul>
|
| 143 |
-
</div>
|
| 144 |
-
</div>
|
| 145 |
-
|
| 146 |
-
<div class="bottom">
|
| 147 |
-
<p>© 2023 Nebula Nexus Inc. All rights reserved.</p>
|
| 148 |
-
<div class="socials">
|
| 149 |
-
<a href="#">
|
| 150 |
-
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path></svg>
|
| 151 |
-
</a>
|
| 152 |
-
<a href="#">
|
| 153 |
-
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"></path><rect x="2" y="9" width="4" height="12"></rect><circle cx="4" cy="4" r="2"></circle></svg>
|
| 154 |
-
</a>
|
| 155 |
-
<a href="#">
|
| 156 |
-
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg>
|
| 157 |
-
</a>
|
| 158 |
-
</div>
|
| 159 |
-
</div>
|
| 160 |
-
</div>
|
| 161 |
-
`;
|
| 162 |
-
}
|
| 163 |
-
}
|
| 164 |
-
|
| 165 |
-
customElements.define('app-footer', Footer);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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