Browse Source

fix: restore inline SVG brand mark to fix failing CI test
The "Fix image" commit replaced the self-contained inline SVG with an
external img URL, breaking the \`renderInterviewPage > renders a
self-contained brand mark\` test that asserts no external URLs are used.

Alvin Unreal 2 days ago
parent
commit
af3f545fe4
1 changed files with 33 additions and 4 deletions
  1. 33 4
      src/interview/ui.ts

+ 33 - 4
src/interview/ui.ts

@@ -249,11 +249,40 @@ export function renderInterviewPage(interviewId: string): string {
   <body>
     <div class="wrap">
       <div class="brand-header">
-        <img
+        <svg
           class="brand-mark"
-          src="https://ohmyopencodeslim.com/android-chrome-512x512.png"
-          alt="Oh My Opencode Slim"
-        />
+          viewBox="0 0 144 144"
+          role="img"
+          aria-label="Oh My Opencode Slim"
+        >
+          <rect
+            x="12"
+            y="12"
+            width="120"
+            height="120"
+            rx="32"
+            fill="rgba(255,255,255,0.08)"
+            stroke="rgba(255,255,255,0.18)"
+            stroke-width="2"
+          />
+          <path
+            d="M50 48h18c16 0 26 10 26 24s-10 24-26 24H50z"
+            fill="none"
+            stroke="white"
+            stroke-width="8"
+            stroke-linecap="round"
+            stroke-linejoin="round"
+          />
+          <path
+            d="M74 48h20c10 0 18 8 18 18v12c0 10-8 18-18 18H74"
+            fill="none"
+            stroke="white"
+            stroke-width="8"
+            stroke-linecap="round"
+            stroke-linejoin="round"
+            opacity="0.65"
+          />
+        </svg>
       </div>
       <h1 id="idea">Connecting...</h1>
       <p class="muted" id="summary">Preparing interview session</p>