From 3f9649b76d076816443ca44bd94ae641a6c292ef Mon Sep 17 00:00:00 2001 From: seanseannery Date: Sat, 7 Mar 2026 01:17:19 -0800 Subject: [PATCH 1/3] fix: left-align terminal demo, 20s looping animation, reorder install tabs --- site/index.html | 20 ++++++++++---------- site/style.css | 42 +++++++++++++++++++++++++++++++----------- 2 files changed, 41 insertions(+), 21 deletions(-) diff --git a/site/index.html b/site/index.html index 6bbc61c..c7825d0 100644 --- a/site/index.html +++ b/site/index.html @@ -40,19 +40,19 @@

ops

-
+
$ ops prod tail-logs
-
+
Fetching logs from /aws/ecs/my-service-prod ...
-
+
$ ops prod check-alarms
-
+
No alarms in ALARM state. All clear.
- +
@@ -63,9 +63,13 @@

ops

Installation

+ - +
+ +
+
curl -fsSL https://raw.githubusercontent.com/seanseannery/opsfile/main/install/install.sh | bash
@@ -76,10 +80,6 @@

Installation

npm install -g github:seanseannery/opsfile
- -
-
curl -fsSL https://raw.githubusercontent.com/seanseannery/opsfile/main/install/install.sh | bash
-
diff --git a/site/style.css b/site/style.css index 9b999e5..d1f0aca 100644 --- a/site/style.css +++ b/site/style.css @@ -194,17 +194,18 @@ a:hover { font-family: monospace; font-size: 0.9rem; line-height: 1.8; + text-align: left; } -.line { - opacity: 0; - animation: appear 0.3s ease forwards; -} +/* Each line encodes its delay as a % of the 20s cycle so infinite loops work. + Line 1: appears at 0.5s (2%), Line 2: 1.5s (7%), Line 3: 2.5s (12%), Line 4: 3.5s (17%). + All lines fade out at 88–96% then reset to 0 for the next loop. */ +.line { opacity: 0; } -.line:nth-child(1) { animation-delay: 0.5s; } -.line:nth-child(2) { animation-delay: 1.5s; } -.line:nth-child(3) { animation-delay: 2.5s; } -.line:nth-child(4) { animation-delay: 3.5s; } +.line:nth-child(1) { animation: appear-1 20s ease infinite; } +.line:nth-child(2) { animation: appear-2 20s ease infinite; } +.line:nth-child(3) { animation: appear-3 20s ease infinite; } +.line:nth-child(4) { animation: appear-4 20s ease infinite; } .prompt { color: var(--green); } .cmd { color: var(--bright); } @@ -219,9 +220,28 @@ a:hover { animation: blink 1s step-end infinite; } -@keyframes appear { - from { opacity: 0; transform: translateY(4px); } - to { opacity: 1; transform: none; } +@keyframes appear-1 { + 0%, 2% { opacity: 0; transform: translateY(4px); } + 4%, 88% { opacity: 1; transform: none; } + 96%, 100% { opacity: 0; transform: none; } +} + +@keyframes appear-2 { + 0%, 7% { opacity: 0; transform: translateY(4px); } + 9%, 88% { opacity: 1; transform: none; } + 96%, 100% { opacity: 0; transform: none; } +} + +@keyframes appear-3 { + 0%, 12% { opacity: 0; transform: translateY(4px); } + 14%, 88% { opacity: 1; transform: none; } + 96%, 100% { opacity: 0; transform: none; } +} + +@keyframes appear-4 { + 0%, 17% { opacity: 0; transform: translateY(4px); } + 19%, 88% { opacity: 1; transform: none; } + 96%, 100% { opacity: 0; transform: none; } } @keyframes blink { From 8cb96c06f4ce01c7164f5d38f2e6d98d5d201545 Mon Sep 17 00:00:00 2001 From: seanseannery Date: Sat, 7 Mar 2026 01:25:48 -0800 Subject: [PATCH 2/3] feat: Opsfile branding, syntax highlighting, copy button, terminal examples --- site/index.html | 73 +++++++++++++++++++++++++++++-------------------- site/style.css | 59 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 103 insertions(+), 29 deletions(-) diff --git a/site/index.html b/site/index.html index c7825d0..532f483 100644 --- a/site/index.html +++ b/site/index.html @@ -4,7 +4,7 @@ - ops — live operations CLI + Opsfile — live operations CLI @@ -12,7 +12,7 @@