diff --git a/public/scripts/main.js b/public/scripts/main.js new file mode 100644 index 0000000..4699a9a --- /dev/null +++ b/public/scripts/main.js @@ -0,0 +1,14 @@ +// if javascript is enabled, this script will load, enabling all site elements that use javascript, by default these are all hidden. +function jsEnabled() { + // Get JS required element ids + const lastFmWidget = document.getElementById("lastfm-widget"); + const ntfyWidgetContainer = document.getElementById("ntfyWidgetContainer"); + const sgaButton = document.getElementById("sgaButton"); + const incrementButton = document.getElementById("incrementButton"); + + // enable js required element ids + lastFmWidget.style.display = "initial"; + ntfyWidgetContainer.style.display = "initial"; + sgaButton.style.display = "initial"; + incrementButton.style.display = "initial"; +} \ No newline at end of file diff --git a/src/components/footer/mybuttons.astro b/src/components/footer/mybuttons.astro index 4fa86c0..cad4a45 100644 --- a/src/components/footer/mybuttons.astro +++ b/src/components/footer/mybuttons.astro @@ -3,7 +3,7 @@ buttons i created animation of a bunch of twinkling stars (but amber) animation of a bunch of twinkling stars (but purple) -animation of a bunch of twinkling stars +
every coin counts! diff --git a/src/components/footer/other-buttons.astro b/src/components/footer/other-buttons.astro index 8aa486e..cff0ce8 100644 --- a/src/components/footer/other-buttons.astro +++ b/src/components/footer/other-buttons.astro @@ -40,7 +40,7 @@ other buttons NOAA Get Java Now - + Windows 7 Startup Archlinux badge youtube-dl badge diff --git a/src/components/main-page/silly-widgets.astro b/src/components/main-page/silly-widgets.astro index 60f263a..6cae1b9 100644 --- a/src/components/main-page/silly-widgets.astro +++ b/src/components/main-page/silly-widgets.astro @@ -6,8 +6,5 @@ import NTFY from "./widgets/ntfy.astro";

silly widgets

-
-
-
diff --git a/src/components/main-page/widgets/lastfm.astro b/src/components/main-page/widgets/lastfm.astro index 32bdee8..82f9720 100644 --- a/src/components/main-page/widgets/lastfm.astro +++ b/src/components/main-page/widgets/lastfm.astro @@ -1,4 +1,6 @@ -
+ diff --git a/src/components/main-page/widgets/ntfy.astro b/src/components/main-page/widgets/ntfy.astro index 299686a..b61df55 100644 --- a/src/components/main-page/widgets/ntfy.astro +++ b/src/components/main-page/widgets/ntfy.astro @@ -6,13 +6,14 @@ DESTROYED ON SIGHT: slurs, flirting, lewd or sexual comments/jokes without previous explicit permission. +

- if it doesnt seem to be working, or you have javascript disabled,
you can POST to https://ntfy.ouroboros.group/beep.
+ if it doesnt seem to be working/you cant see the field, or you have javascript disabled,
you can POST to https://ntfy.ouroboros.group/beep.
\ No newline at end of file diff --git a/src/components/scripts/normal-scripts.astro b/src/components/scripts/normal-scripts.astro index fc4d060..3af2968 100644 --- a/src/components/scripts/normal-scripts.astro +++ b/src/components/scripts/normal-scripts.astro @@ -4,4 +4,8 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 6dba889..43d719b 100755 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -16,7 +16,7 @@ const { title } = Astro.props; - +

{title}

@@ -24,9 +24,7 @@ const { title } = Astro.props;