Skip to content

Commit

Permalink
feat: new year new- you get the idea
Browse files Browse the repository at this point in the history
  • Loading branch information
prplwtf committed Jan 1, 2025
1 parent 22104d5 commit 4cab8f8
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .modules/global/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ window.addEventListener('DOMContentLoaded', () => {
socialpush.style.display = "none"
}

document.querySelectorAll(".currentYear").forEach(element => {
element.innerHTML = (new Date).getFullYear()
});

});

function dismissSocial() {
Expand Down
2 changes: 1 addition & 1 deletion browse/extensions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ <h2 class="h3 my-3">
<rect x="333.3332" y="166.6666" width="166.667" height="333.3332"/>
</svg>
</a>
<span class="mb-3 mb-md-0 text-body-secondary">© 2023-2025 Emma (<a href="https://prpl.wtf" class="text-body-secondary" target="_blank">prpl.wtf</a>)</span>
<span class="mb-3 mb-md-0 text-body-secondary">© 2023-<span class="currentYear">2025</span> Emma (<a href="https://prpl.wtf" class="text-body-secondary" target="_blank">prpl.wtf</a>)</span>
</div>

<ul class="nav col-md-4 justify-content-end list-unstyled d-flex">
Expand Down
2 changes: 1 addition & 1 deletion browse/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ <h1 class="modal-title fs-5" id="filterModalLabel"><i class="bi bi-filter"></i>
<rect x="333.3332" y="166.6666" width="166.667" height="333.3332"/>
</svg>
</a>
<span class="mb-3 mb-md-0 text-body-secondary">© 2023-2025 Emma (<a href="https://prpl.wtf" class="text-body-secondary" target="_blank">prpl.wtf</a>)</span>
<span class="mb-3 mb-md-0 text-body-secondary">© 2023-<span class="currentYear">2025</span> Emma (<a href="https://prpl.wtf" class="text-body-secondary" target="_blank">prpl.wtf</a>)</span>
</div>

<ul class="nav col-md-4 justify-content-end list-unstyled d-flex">
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ <h5 class="offcanvas-title" id="offcanvasNavbarLabel">Navigation</h5>
<rect x="333.3332" y="166.6666" width="166.667" height="333.3332"/>
</svg>
</a>
<span class="mb-3 mb-md-0 text-body-secondary">© 2023-2025 Emma (<a href="https://prpl.wtf" class="text-body-secondary" target="_blank">prpl.wtf</a>)</span>
<span class="mb-3 mb-md-0 text-body-secondary">© 2023-<span class="currentYear">2025</span> Emma (<a href="https://prpl.wtf" class="text-body-secondary" target="_blank">prpl.wtf</a>)</span>
</div>

<ul class="nav col-md-4 justify-content-end list-unstyled d-flex">
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/about/changelog/beta-2025-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<br/>

#### Bugfixes
-
- None yet

<br/>

#### Breaking Changes
-
- None yet
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ <h1 class="display-5 fw-bold lh-1 text-body-emphasis mb-4">Write and manage modi
<rect x="333.3332" y="166.6666" width="166.667" height="333.3332"/>
</svg>
</a>
<span class="mb-3 mb-md-0 text-body-secondary">© 2023-2025 Emma (<a href="https://prpl.wtf" class="text-body-secondary" target="_blank">prpl.wtf</a>)</span>
<span class="mb-3 mb-md-0 text-body-secondary">© 2023-<span class="currentYear">2025</span> Emma (<a href="https://prpl.wtf" class="text-body-secondary" target="_blank">prpl.wtf</a>)</span>
</div>

<ul class="nav col-md-4 justify-content-end list-unstyled d-flex">
Expand Down

0 comments on commit 4cab8f8

Please sign in to comment.