From d5c83a7a6d67a6a1d6c419f46b4ae117b02bc489 Mon Sep 17 00:00:00 2001 From: blake Date: Fri, 18 Sep 2026 16:31:16 -0500 Subject: [PATCH] Fix stress-test issues for HTTPS, 404, accessibility, and SEO. Force HTTPS/www with security headers, add a branded 404, and tighten labels, skip links, canonical/OG tags, and Web Dev step order without changing the transparent header. --- .htaccess | 25 +++ 404.html | 294 ++++++++++++++++++++++++++++ css/queries.css | 9 +- css/style.css | 40 +++- index.html | 28 ++- privacy-policy/index.html | 22 ++- services/drone/index.html | 31 ++- services/graphic-design/index.html | 31 ++- services/support/index.html | 35 +++- services/web-design/index.html | 31 ++- services/web-development/index.html | 61 ++++-- services/web-hosting/index.html | 35 +++- sitemap.xml | 16 +- 13 files changed, 596 insertions(+), 62 deletions(-) create mode 100644 .htaccess create mode 100644 404.html diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..927edba --- /dev/null +++ b/.htaccess @@ -0,0 +1,25 @@ +# Cosmically Creative — Apache / LiteSpeed +# Canonical host: https://www.cosmicallycreative.com + + + RewriteEngine On + + # 301 HTTP → HTTPS and apex → www (single hop) + RewriteCond %{HTTPS} !=on [OR] + RewriteCond %{HTTP_HOST} !^www\.cosmicallycreative\.com$ [NC] + RewriteRule ^ https://www.cosmicallycreative.com%{REQUEST_URI} [L,R=301] + + +ErrorDocument 404 /404.html + +AddType application/manifest+json .webmanifest +AddType application/xml .xml + + + Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains" + Header always set X-Frame-Options "SAMEORIGIN" + Header always set X-Content-Type-Options "nosniff" + Header always set Referrer-Policy "strict-origin-when-cross-origin" + Header always set Permissions-Policy "camera=(), microphone=(), geolocation=()" + Header always set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' https://cloud.umami.is; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data:; connect-src 'self' https://cloud.umami.is; form-action https://formbold.com; frame-ancestors 'self'; base-uri 'self'" + diff --git a/404.html b/404.html new file mode 100644 index 0000000..3da8dab --- /dev/null +++ b/404.html @@ -0,0 +1,294 @@ + + + + + + + + + + + + + + + + + + + + + + + Page Not Found | Cosmically Creative + + + +
+
+ +
+
+ + + +
+ + + diff --git a/css/queries.css b/css/queries.css index 8cd6563..a04a8a3 100644 --- a/css/queries.css +++ b/css/queries.css @@ -136,7 +136,7 @@ } .nav-links { - background: linear-gradient(rgba(11, 21, 50, 0.9)); + background: var(--color-navy); position: absolute; top: 0; right: 0; @@ -376,11 +376,16 @@ .steps-section .service-card:nth-child(4) { grid-row: 4 / 5; } + + .steps-section .service-card:nth-child(5) { + grid-row: 5 / 6; + } + .steps-section .service-card:nth-child(6) { grid-row: 5 / 6; } - .fifth-step { + .steps-section .service-card.fifth-step { grid-row: 6 / 7; } diff --git a/css/style.css b/css/style.css index 4e55476..a0b265c 100644 --- a/css/style.css +++ b/css/style.css @@ -184,6 +184,9 @@ body.page-transition-out { background: none; cursor: pointer; display: none; + min-width: 44px; + min-height: 44px; + padding: 0.8rem; } .icon-mobile-nav { @@ -1037,11 +1040,16 @@ p { .steps-section .service-card:nth-child(4) { grid-row: 3 / 5; } + +.steps-section .service-card:nth-child(5) { + grid-row: 4 / 6; +} + .steps-section .service-card:nth-child(6) { grid-row: 4 / 6; } -.fifth-step { +.steps-section .service-card.fifth-step { grid-row: 5 / 7; } @@ -1111,6 +1119,36 @@ p { color: var(--color-blue); } +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border: 0; +} + +.skip-link { + position: fixed; + left: 1.6rem; + top: -100%; + z-index: 10001; + background-color: var(--color-yellow); + color: var(--color-navy); + padding: 1.2rem 2.4rem; + text-decoration: none; + font-weight: 500; + border-radius: 0.8rem; +} + +.skip-link:focus { + top: 1.6rem; + color: var(--color-navy); +} + /* Animations */ .animate-on-scroll { diff --git a/index.html b/index.html index 42d524d..a8d8525 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,17 @@ name="description" content="Cosmically Creative is your one-stop shop for all things web design & development using the power of HTML, CSS, and JavaScript." /> + + + + + - Cosmically Creative ‐ Custom Web Design & Development with - HTML, CSS & JS + Cosmically Creative | Custom Web Design & Development +
-
+

@@ -691,34 +702,39 @@ method="POST" >
- +
- +
- +
diff --git a/privacy-policy/index.html b/privacy-policy/index.html index a4ab24b..26c60ae 100644 --- a/privacy-policy/index.html +++ b/privacy-policy/index.html @@ -7,6 +7,23 @@ name="description" content="Privacy Policy and Terms of Service for Cosmically Creative — how your information is collected and used, and the terms that apply when you use this website." /> + + + + + +
-
+