From f2fa6581267c929c7b7e38f434b0f16d0a1519ba Mon Sep 17 00:00:00 2001
From: blake
Date: Tue, 17 Feb 2026 17:17:04 -0600
Subject: [PATCH] - Added smooth page transitions - Added a yellow scroll
progress bar - Added more services - Removed links from service pages to
other service pages now that the navbar has a dropdown menu
---
css/style.css | 16 ++
img/icons/computer.svg | 39 ++++
img/icons/drone.svg | 39 ++++
index.html | 63 ++++++
robots.txt | 4 +
script.js | 58 +++++
services/drone/index.html | 319 ++++++++++++++++++++++++++++
services/ecommerce/index.html | 41 ++--
services/support/index.html | 41 ++--
services/web-design/index.html | 36 ++--
services/web-development/index.html | 41 ++--
services/web-hosting/index.html | 317 +++++++++++++++++++++++++++
sitemap.xml | 38 ++++
13 files changed, 969 insertions(+), 83 deletions(-)
create mode 100644 img/icons/computer.svg
create mode 100644 img/icons/drone.svg
create mode 100644 robots.txt
create mode 100644 services/drone/index.html
create mode 100644 services/web-hosting/index.html
create mode 100644 sitemap.xml
diff --git a/css/style.css b/css/style.css
index b6c946c..c1c69e9 100644
--- a/css/style.css
+++ b/css/style.css
@@ -61,6 +61,22 @@ body {
background-color: #0b1532;
font-size: 2rem;
overflow-x: hidden;
+ opacity: 1;
+ transition: opacity 0.3s ease;
+}
+
+body.page-transition-out {
+ opacity: 0;
+}
+
+.scroll-progress {
+ position: fixed;
+ top: 0;
+ left: 0;
+ height: 4px;
+ width: 0%;
+ background: #ffe642;
+ z-index: 10000;
}
.header {
diff --git a/img/icons/computer.svg b/img/icons/computer.svg
new file mode 100644
index 0000000..c925231
--- /dev/null
+++ b/img/icons/computer.svg
@@ -0,0 +1,39 @@
+
+
+
+
+
+
diff --git a/img/icons/drone.svg b/img/icons/drone.svg
new file mode 100644
index 0000000..2d49b30
--- /dev/null
+++ b/img/icons/drone.svg
@@ -0,0 +1,39 @@
+
+
+
+
+
+
diff --git a/index.html b/index.html
index fd980ba..9c0f9ab 100644
--- a/index.html
+++ b/index.html
@@ -27,6 +27,7 @@
+
+
+
+
+ Stunning aerial photography and videography to showcase your
+ property, event, or brand from breathtaking new perspectives.
+
+
+
+
+
+ Reliable web hosting powered by Nixihost with cPanel so your
+ website has a fast, secure home on the internet.
+
+
@@ -538,6 +591,16 @@
>Ongoing Support
+
+ Drone Services
+
+
+ Web Hosting
+
diff --git a/robots.txt b/robots.txt
new file mode 100644
index 0000000..7578c9b
--- /dev/null
+++ b/robots.txt
@@ -0,0 +1,4 @@
+User-agent: *
+Allow: /
+
+Sitemap: https://www.cosmicallycreative.com/sitemap.xml
diff --git a/script.js b/script.js
index 229d7af..fcd0f47 100644
--- a/script.js
+++ b/script.js
@@ -280,3 +280,61 @@ document.addEventListener("DOMContentLoaded", () => {
);
elementsToAnimate.forEach((el) => observer.observe(el));
});
+
+// Scroll Progress Indicator
+const scrollProgress = document.querySelector(".scroll-progress");
+
+if (scrollProgress) {
+ window.addEventListener("scroll", () => {
+ const scrollTop = window.scrollY;
+ const docHeight =
+ document.documentElement.scrollHeight - window.innerHeight;
+ const scrollPercent = (scrollTop / docHeight) * 100;
+ scrollProgress.style.width = scrollPercent + "%";
+ });
+}
+
+// Page Transitions
+(function () {
+ // Fade in on page load
+ window.addEventListener("pageshow", (e) => {
+ // Handle bfcache (back/forward navigation)
+ if (e.persisted) {
+ document.body.classList.remove("page-transition-out");
+ }
+ });
+
+ // Intercept internal navigation links
+ document.addEventListener("click", (e) => {
+ const link = e.target.closest("a");
+ if (!link) return;
+
+ const href = link.getAttribute("href");
+ if (!href) return;
+
+ // Skip anchor-only links (same-page smooth scroll)
+ if (href.startsWith("#")) return;
+
+ // Skip external links, mailto, tel, javascript
+ if (
+ link.target === "_blank" ||
+ link.origin !== window.location.origin ||
+ href.startsWith("mailto:") ||
+ href.startsWith("tel:") ||
+ href.startsWith("javascript:")
+ )
+ return;
+
+ // Skip if modifier key held (open in new tab)
+ if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) return;
+
+ e.preventDefault();
+
+ // Fade out, then navigate
+ document.body.classList.add("page-transition-out");
+
+ setTimeout(() => {
+ window.location.href = link.href;
+ }, 300);
+ });
+})();
diff --git a/services/drone/index.html b/services/drone/index.html
new file mode 100644
index 0000000..c379776
--- /dev/null
+++ b/services/drone/index.html
@@ -0,0 +1,319 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Professional Drone Photography & Video ‐ Cosmically Creative
+
+
+
+
+
+
+
+
+
+
+
+
+
+ We start with a conversation to understand your vision. I'll learn
+ what you need and plan the shoot around your goals, location, and
+ timeline.
+
+
+
+
+
+
+ On shoot day, I handle all the flying and filming so you can focus
+ on what matters. I'll capture a variety of angles, elevations, and
+ movements to give you a full selection of aerial photos and video
+ to choose from.
+
+
+
+
+
+ After the shoot, I can edit your footage and deliver polished,
+ ready-to-use files. If you need them optimized for your website,
+ social media, or print, I'll make sure to format everything so
+ it's ready to go wherever you need it.
+
+
+
Let's get started!
+
+
+
+
+
+
+
+
diff --git a/services/ecommerce/index.html b/services/ecommerce/index.html
index aeec482..6c39dd3 100644
--- a/services/ecommerce/index.html
+++ b/services/ecommerce/index.html
@@ -25,10 +25,14 @@
+