From 1443e3052b4af7b859aff6a5b6befd761f07ece8 Mon Sep 17 00:00:00 2001 From: 0xharkirat Date: Mon, 25 May 2026 11:40:13 +1000 Subject: [PATCH 1/8] Shorten footer deployment text for portrait iPad Per Adam's request, tighten the SSW.Rules footer so it fits on iPad portrait. "This website is under CONSTANT CONTINUOUS DEPLOYMENT. Last deployed 13 minutes ago on May 23, 2026 ..." becomes "ssw.com.au <3 CONTINUOUS DEPLOYMENT. Last deployed 13 min ago 23 May 2026 ...". - "This website is under" -> "ssw.com.au" + heart icon - drop "CONSTANT" - abbreviate "minutes"/"minute" -> "min" - date format "MMM D, YYYY" -> "D MMM YYYY", drop leading "on" Co-Authored-By: Claude Opus 4.7 (1M context) --- components/layout/nav/footer.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/layout/nav/footer.tsx b/components/layout/nav/footer.tsx index a0aadba4b..685423f33 100644 --- a/components/layout/nav/footer.tsx +++ b/components/layout/nav/footer.tsx @@ -123,15 +123,15 @@ export const Footer = () => {
- This website is under{" "} + ssw.com.au {" "} - CONSTANT CONTINUOUS DEPLOYMENT + CONTINUOUS DEPLOYMENT . Last deployed {getLastDeployTime()} ago - {buildDate && on {moment(buildDate).format("MMM D, YYYY [at] HH:mm UTC")}} (Build #{" "} + {buildDate && {moment(buildDate).format("D MMM YYYY [at] HH:mm UTC")}} (Build #{" "} { var minutes = Math.floor(delta / 60) % 60; delta -= minutes * 60; - return days !== 0 ? `${days} day(s)` : hours !== 0 ? `${hours} hour(s)` : minutes > 1 ? `${minutes} minutes` : "1 minute"; + return days !== 0 ? `${days} day(s)` : hours !== 0 ? `${hours} hour(s)` : minutes > 1 ? `${minutes} min` : "1 min"; }; From a36ec4a2ef9f2ed6c31be13abe7328fe96a161c7 Mon Sep 17 00:00:00 2001 From: 0xharkirat Date: Tue, 26 May 2026 11:50:03 +1000 Subject: [PATCH 2/8] Apply Tiago feedback: tooltip date, lg breakpoint, commit hash link Footer text now: This website is under continuous deployment. Last updated X ago. Last commit YYY - Drop ssw.com.au prefix + heart (too close to existing "We open source" heart - Tiago) - Lowercase "continuous deployment" (Tiago: no reason for ALL CAPS) - "This website is under" instead of "ssw.com.au" so it doesn't look like a self-link (Tiago) - Absolute build date moved into a tooltip on "X ago" (Tiago) - Replace Build # with linkable commit hash from COMMIT_HASH env, linked to the GitHub commit - Breakpoint md -> lg on social/deployment/powered-by rows so iPad portrait stays stacked with full width (Tiago: iPad portrait still bad at md). Also lg:text-right on powered-by for consistency - Drop now-unused versionDeployed/deploymentUrl consts Co-Authored-By: Claude Opus 4.7 (1M context) --- components/layout/nav/footer.tsx | 43 ++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/components/layout/nav/footer.tsx b/components/layout/nav/footer.tsx index 685423f33..2ad4486c0 100644 --- a/components/layout/nav/footer.tsx +++ b/components/layout/nav/footer.tsx @@ -5,8 +5,6 @@ import { GitHubButtonWrapper } from "@/components/GitHubButtonWrapper"; import { pathPrefix } from "../../../site-config"; const buildTimestamp = process.env.BUILD_TIMESTAMP ? parseInt(process.env.BUILD_TIMESTAMP) : Date.now() - 1000 * 60 * 30; -const versionDeployed = process.env.VERSION_DEPLOYED || "dev"; -const deploymentUrl = process.env.DEPLOYMENT_URL || "#"; const buildDate = process.env.BUILD_DATE; const commitHash = process.env.COMMIT_HASH; @@ -35,9 +33,9 @@ export const Footer = () => {