From 305250137c4ed5cf77605112fd499a777f7216f7 Mon Sep 17 00:00:00 2001 From: blake Date: Tue, 6 Oct 2026 13:53:05 -0500 Subject: [PATCH] Remove staging-related configurations and robots directives from multiple files in preparation for public launch. Updated .htaccess, index.html, robots.txt, and various section HTML files to enhance accessibility and SEO compliance. --- .htaccess | 5 ----- accessibility/index.html | 2 -- css/style.css | 17 ----------------- events/index.html | 2 -- get-help/index.html | 2 -- get-involved/index.html | 2 -- index.html | 2 -- privacy/index.html | 2 -- robots.txt | 3 +-- script.js | 9 --------- shop-church/index.html | 2 -- staying-safe/index.html | 2 -- talitha-koum/index.html | 2 -- what-we-do/index.html | 2 -- who-we-are/index.html | 2 -- 15 files changed, 1 insertion(+), 55 deletions(-) diff --git a/.htaccess b/.htaccess index 6a28643..01a5e16 100644 --- a/.htaccess +++ b/.htaccess @@ -8,10 +8,6 @@ ErrorDocument 404 /404.html RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L,NE] - - SetEnvIf Host "^whispersoflhj\.cosmicallycreative\.com(?::[0-9]+)?$" whispers_staging=1 - - RedirectMatch 301 ^/html/01(?:/index\.html)?/?$ /get-help/ RedirectMatch 301 ^/html/02(?:/index\.html)?/?$ /what-we-do/ @@ -29,7 +25,6 @@ ErrorDocument 404 /404.html Header always set Strict-Transport-Security "max-age=31536000" Header always set X-Content-Type-Options "nosniff" Header always set X-Frame-Options "DENY" - Header always set X-Robots-Tag "noindex, nofollow, noarchive" env=whispers_staging diff --git a/accessibility/index.html b/accessibility/index.html index a7b582f..7ddb6ca 100644 --- a/accessibility/index.html +++ b/accessibility/index.html @@ -23,8 +23,6 @@ - - diff --git a/css/style.css b/css/style.css index 9a22cca..12506b5 100644 --- a/css/style.css +++ b/css/style.css @@ -90,23 +90,6 @@ body.mobile-nav-open { transform: translateY(0); } -body.client-preview::before { - position: fixed; - right: 1.5rem; - bottom: 1.5rem; - z-index: 3000; - padding: 0.8rem 1.2rem; - color: var(--color-yellow); - background-color: var(--color-black); - border-radius: 50rem; - content: "Client Preview"; - font-family: "Karla", sans-serif; - font-size: 1.3rem; - font-weight: 700; - letter-spacing: 0.04em; - text-transform: uppercase; -} - h1, h2, h3 { font-weight: 400; } diff --git a/events/index.html b/events/index.html index 0c1f0e0..550328c 100644 --- a/events/index.html +++ b/events/index.html @@ -23,8 +23,6 @@ - - diff --git a/get-help/index.html b/get-help/index.html index e40779f..ef531f4 100644 --- a/get-help/index.html +++ b/get-help/index.html @@ -23,8 +23,6 @@ - - diff --git a/get-involved/index.html b/get-involved/index.html index 40655dc..aeefc39 100644 --- a/get-involved/index.html +++ b/get-involved/index.html @@ -23,8 +23,6 @@ - - diff --git a/index.html b/index.html index 33802ac..c0119e8 100644 --- a/index.html +++ b/index.html @@ -23,8 +23,6 @@ - - diff --git a/privacy/index.html b/privacy/index.html index 42c2009..fdabfa0 100644 --- a/privacy/index.html +++ b/privacy/index.html @@ -23,8 +23,6 @@ - - diff --git a/robots.txt b/robots.txt index 42e0cf0..c2a49f4 100644 --- a/robots.txt +++ b/robots.txt @@ -1,3 +1,2 @@ -# Staging protection. Replace this file when the public site launches. User-agent: * -Disallow: / +Allow: / diff --git a/script.js b/script.js index 074e6df..5b8058a 100644 --- a/script.js +++ b/script.js @@ -4,7 +4,6 @@ document.documentElement.classList.replace("no-js", "js"); const QUICK_EXIT_URL = "https://www.google.com/"; const QUICK_EXIT_KEY = "quick-exit"; -const STAGING_HOST = "whispersoflhj.cosmicallycreative.com"; const MOBILE_NAV_QUERY = window.matchMedia("(max-width: 88em)"); // Flip active to false when there is no event. That clears the @@ -68,10 +67,6 @@ function isEventsPage() { return /\/events\/(?:index\.html)?$/.test(window.location.pathname); } -if (window.location.hostname === STAGING_HOST) { - document.body.classList.add("client-preview"); -} - if (!eventAnnouncement.active && isEventsPage()) { document.documentElement.hidden = true; const home = "../".repeat(directoryDepth()); @@ -95,10 +90,6 @@ if (!eventAnnouncement.active && isEventsPage()) { message.replaceChildren(link); message.closest(".announcement-bar")?.classList.add("announcement-bar--active"); }); -} else if (window.location.hostname === STAGING_HOST) { - document.querySelectorAll(".announcement-message").forEach((message) => { - message.textContent = "Client Preview"; - }); } document.addEventListener("keydown", (event) => { diff --git a/shop-church/index.html b/shop-church/index.html index 0fd3486..7144384 100644 --- a/shop-church/index.html +++ b/shop-church/index.html @@ -23,8 +23,6 @@ - - diff --git a/staying-safe/index.html b/staying-safe/index.html index 4f1b1a3..b1b80c3 100644 --- a/staying-safe/index.html +++ b/staying-safe/index.html @@ -23,8 +23,6 @@ - - diff --git a/talitha-koum/index.html b/talitha-koum/index.html index d9e723c..549e624 100644 --- a/talitha-koum/index.html +++ b/talitha-koum/index.html @@ -23,8 +23,6 @@ - - diff --git a/what-we-do/index.html b/what-we-do/index.html index 91030b2..95e2cad 100644 --- a/what-we-do/index.html +++ b/what-we-do/index.html @@ -23,8 +23,6 @@ - - diff --git a/who-we-are/index.html b/who-we-are/index.html index 3c4f3e4..3c49fcf 100644 --- a/who-we-are/index.html +++ b/who-we-are/index.html @@ -23,8 +23,6 @@ - -