Compare commits

..

No commits in common. "main" and "v1.5.0" have entirely different histories.
main ... v1.5.0

2 changed files with 6 additions and 10 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "website-headers", "name": "website-headers",
"version": "1.6.0", "version": "1.5.0",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"type": "module", "type": "module",

View File

@ -24,7 +24,7 @@ const body = document.querySelector("body");
const title = document.querySelector("title"); const title = document.querySelector("title");
const description = document.querySelector(`meta[name="description"]`); const description = document.querySelector(`meta[name="description"]`);
const { href: url, hostname, pathname } = window.location; const { href: url, hostname } = window.location;
// #endregion // #endregion
@ -112,8 +112,8 @@ styles.innerHTML = `
} }
:root { :root {
--foreground: #2a0a18; --foreground: #db7093;
--background: #ffb6c1bb; --background: #ffefefbb;
} }
* { * {
@ -191,8 +191,8 @@ a {
align-items: center; align-items: center;
} }
.is-dark { .is-dark {
--foreground: #ffb6c1; --foreground: #ffefef;
--background: #2a0a18bb; --background: #db7093bb;
} }
@media screen and (prefers-reduced-motion) { @media screen and (prefers-reduced-motion) {
#footer-badge-container { #footer-badge-container {
@ -314,10 +314,6 @@ analytics.setAttribute("domain", "nhcarrigan.com");
analytics.src analytics.src
// eslint-disable-next-line stylistic/max-len // eslint-disable-next-line stylistic/max-len
= "https://analytics.nhcarrigan.com/js/script.file-downloads.hash.outbound-links.pageview-props.revenue.tagged-events.js"; = "https://analytics.nhcarrigan.com/js/script.file-downloads.hash.outbound-links.pageview-props.revenue.tagged-events.js";
analytics.setAttribute("event-domain", hostname);
analytics.setAttribute("data-domain", "nhcarrigan.com");
analytics.setAttribute("event-page", title?.innerText ?? "Unknown Page");
analytics.setAttribute("event-path", pathname);
const analytics2 = document.createElement("script"); const analytics2 = document.createElement("script");
analytics2.innerHTML = ` analytics2.innerHTML = `
window.plausible = window.plausible ?? window.plausible = window.plausible ??