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.

This commit is contained in:
blake committed 2026-10-06 13:53:05 -05:00
1 parent 05d6d16c9c
commit 305250137c
15 files changed
+1 -55

No files matched your search

-5
View File
@@ -8,10 +8,6 @@ ErrorDocument 404 /404.html
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L,NE]
</IfModule>
<IfModule mod_setenvif.c>
SetEnvIf Host "^whispersoflhj\.cosmicallycreative\.com(?::[0-9]+)?$" whispers_staging=1
</IfModule>
<IfModule mod_alias.c>
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
</IfModule>
<IfModule mod_brotli.c>
-2
View File
@@ -23,8 +23,6 @@
<meta property="og:site_name" content="Whispers of Love, Hope, and Joy" />
<meta name="twitter:card" content="summary" />
<meta name="theme-color" content="#587f89" />
<!-- Remove this robots directive before the public launch. -->
<meta name="robots" content="noindex, nofollow, noarchive" />
<link rel="apple-touch-icon" href="../img/favicons/favicon-apple.png" />
<link rel="icon" href="../img/favicons/favicon.png" />
-17
View File
@@ -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;
}
-2
View File
@@ -23,8 +23,6 @@
<meta property="og:site_name" content="Whispers of Love, Hope, and Joy" />
<meta name="twitter:card" content="summary" />
<meta name="theme-color" content="#587f89" />
<!-- Remove this robots directive before the public launch. -->
<meta name="robots" content="noindex, nofollow, noarchive" />
<link rel="apple-touch-icon" href="../img/favicons/favicon-apple.png" />
<link rel="icon" href="../img/favicons/favicon.png" />
-2
View File
@@ -23,8 +23,6 @@
<meta property="og:site_name" content="Whispers of Love, Hope, and Joy" />
<meta name="twitter:card" content="summary" />
<meta name="theme-color" content="#587f89" />
<!-- Remove this robots directive before the public launch. -->
<meta name="robots" content="noindex, nofollow, noarchive" />
<link rel="apple-touch-icon" href="../img/favicons/favicon-apple.png" />
<link rel="icon" href="../img/favicons/favicon.png" />
-2
View File
@@ -23,8 +23,6 @@
<meta property="og:site_name" content="Whispers of Love, Hope, and Joy" />
<meta name="twitter:card" content="summary" />
<meta name="theme-color" content="#587f89" />
<!-- Remove this robots directive before the public launch. -->
<meta name="robots" content="noindex, nofollow, noarchive" />
<link rel="apple-touch-icon" href="../img/favicons/favicon-apple.png" />
<link rel="icon" href="../img/favicons/favicon.png" />
-2
View File
@@ -23,8 +23,6 @@
<meta property="og:site_name" content="Whispers of Love, Hope, and Joy" />
<meta name="twitter:card" content="summary" />
<meta name="theme-color" content="#587f89" />
<!-- Remove this robots directive before the public launch. -->
<meta name="robots" content="noindex, nofollow, noarchive" />
<link rel="apple-touch-icon" href="img/favicons/favicon-apple.png" />
<link rel="icon" href="img/favicons/favicon.png" />
-2
View File
@@ -23,8 +23,6 @@
<meta property="og:site_name" content="Whispers of Love, Hope, and Joy" />
<meta name="twitter:card" content="summary" />
<meta name="theme-color" content="#587f89" />
<!-- Remove this robots directive before the public launch. -->
<meta name="robots" content="noindex, nofollow, noarchive" />
<link rel="apple-touch-icon" href="../img/favicons/favicon-apple.png" />
<link rel="icon" href="../img/favicons/favicon.png" />
+1 -2
View File
@@ -1,3 +1,2 @@
# Staging protection. Replace this file when the public site launches.
User-agent: *
Disallow: /
Allow: /
-9
View File
@@ -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) => {
-2
View File
@@ -23,8 +23,6 @@
<meta property="og:site_name" content="Whispers of Love, Hope, and Joy" />
<meta name="twitter:card" content="summary" />
<meta name="theme-color" content="#587f89" />
<!-- Remove this robots directive before the public launch. -->
<meta name="robots" content="noindex, nofollow, noarchive" />
<link rel="apple-touch-icon" href="../img/favicons/favicon-apple.png" />
<link rel="icon" href="../img/favicons/favicon.png" />
-2
View File
@@ -23,8 +23,6 @@
<meta property="og:site_name" content="Whispers of Love, Hope, and Joy" />
<meta name="twitter:card" content="summary" />
<meta name="theme-color" content="#587f89" />
<!-- Remove this robots directive before the public launch. -->
<meta name="robots" content="noindex, nofollow, noarchive" />
<link rel="apple-touch-icon" href="../img/favicons/favicon-apple.png" />
<link rel="icon" href="../img/favicons/favicon.png" />
-2
View File
@@ -23,8 +23,6 @@
<meta property="og:site_name" content="Whispers of Love, Hope, and Joy" />
<meta name="twitter:card" content="summary" />
<meta name="theme-color" content="#587f89" />
<!-- Remove this robots directive before the public launch. -->
<meta name="robots" content="noindex, nofollow, noarchive" />
<link rel="apple-touch-icon" href="../img/favicons/favicon-apple.png" />
<link rel="icon" href="../img/favicons/favicon.png" />
-2
View File
@@ -23,8 +23,6 @@
<meta property="og:site_name" content="Whispers of Love, Hope, and Joy" />
<meta name="twitter:card" content="summary" />
<meta name="theme-color" content="#587f89" />
<!-- Remove this robots directive before the public launch. -->
<meta name="robots" content="noindex, nofollow, noarchive" />
<link rel="apple-touch-icon" href="../img/favicons/favicon-apple.png" />
<link rel="icon" href="../img/favicons/favicon.png" />
-2
View File
@@ -23,8 +23,6 @@
<meta property="og:site_name" content="Whispers of Love, Hope, and Joy" />
<meta name="twitter:card" content="summary" />
<meta name="theme-color" content="#587f89" />
<!-- Remove this robots directive before the public launch. -->
<meta name="robots" content="noindex, nofollow, noarchive" />
<link rel="apple-touch-icon" href="../img/favicons/favicon-apple.png" />
<link rel="icon" href="../img/favicons/favicon.png" />