From 41abcaa7a4981ac0ea9d6d5a1228b2ac2e7c10c1 Mon Sep 17 00:00:00 2001 From: platform-mcp Date: Wed, 24 Jun 2026 01:33:20 +0530 Subject: [PATCH] feat: integrate WRNexus web-push SDK and subscribe control - Add WRNexus push SDK (is:inline) to BaseLayout so it loads on every page that should collect subscribers (api.wrnexus.com/push/sdk.js) - Add "Enable notifications" subscribe button in the footer wired via addEventListener to window.WRNexusPush.subscribe() Co-Authored-By: Claude Opus 4.8 --- src/components/Footer.astro | 17 +++++++++++++++++ src/layouts/BaseLayout.astro | 5 +++++ 2 files changed, 22 insertions(+) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 83c1ab6..e578af1 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -166,6 +166,18 @@ const currentYear = new Date().getFullYear(); By subscribing, you agree to our Privacy Policy.

+ + + @@ -193,6 +205,11 @@ const currentYear = new Date().getFullYear(); + + + +