change the bottom bar of the page to fit the red color scheme
Browse files- components/footer.js +9 -7
components/footer.js
CHANGED
|
@@ -4,11 +4,12 @@ class CustomFooter extends HTMLElement {
|
|
| 4 |
this.shadowRoot.innerHTML = `
|
| 5 |
<style>
|
| 6 |
footer {
|
| 7 |
-
background: #
|
| 8 |
-
color: #
|
| 9 |
padding: 2rem 0;
|
|
|
|
| 10 |
}
|
| 11 |
-
|
| 12 |
max-width: 1280px;
|
| 13 |
margin: 0 auto;
|
| 14 |
padding: 0 1rem;
|
|
@@ -20,13 +21,14 @@ class CustomFooter extends HTMLElement {
|
|
| 20 |
.subtext {
|
| 21 |
margin-top: 0.5rem;
|
| 22 |
font-size: 0.875rem;
|
|
|
|
| 23 |
}
|
| 24 |
-
|
| 25 |
<footer>
|
| 26 |
<div class="container">
|
| 27 |
-
<p>© ${new Date().getFullYear()} Oskar Lundmark Koblanck. All rights reserved.</p>
|
| 28 |
-
<p class="subtext">
|
| 29 |
-
|
| 30 |
</footer>
|
| 31 |
`;
|
| 32 |
}
|
|
|
|
| 4 |
this.shadowRoot.innerHTML = `
|
| 5 |
<style>
|
| 6 |
footer {
|
| 7 |
+
background: #7f1d1d;
|
| 8 |
+
color: #fecaca;
|
| 9 |
padding: 2rem 0;
|
| 10 |
+
border-top: 1px solid #ef4444;
|
| 11 |
}
|
| 12 |
+
.container {
|
| 13 |
max-width: 1280px;
|
| 14 |
margin: 0 auto;
|
| 15 |
padding: 0 1rem;
|
|
|
|
| 21 |
.subtext {
|
| 22 |
margin-top: 0.5rem;
|
| 23 |
font-size: 0.875rem;
|
| 24 |
+
letter-spacing: 0.05em;
|
| 25 |
}
|
| 26 |
+
</style>
|
| 27 |
<footer>
|
| 28 |
<div class="container">
|
| 29 |
+
<p class="text-lg">© ${new Date().getFullYear()} Oskar Lundmark Koblanck. All rights reserved.</p>
|
| 30 |
+
<p class="subtext text-red-200">Game Designer & Developer</p>
|
| 31 |
+
</div>
|
| 32 |
</footer>
|
| 33 |
`;
|
| 34 |
}
|