Sfoglia il codice sorgente

ignore: lander use h1 tags for main headings on landing and zen pages

Jay V 3 mesi fa
parent
commit
9885c716f3

+ 1 - 1
packages/console/app/src/routes/index.css

@@ -479,7 +479,7 @@ body {
       border-bottom: 1px solid var(--color-border-weak);
     }
 
-    strong {
+    h1 {
       font-size: 28px;
       color: var(--color-text-strong);
       font-weight: 500;

+ 1 - 1
packages/console/app/src/routes/index.tsx

@@ -63,7 +63,7 @@ export default function Home() {
               >
                 What’s new in {release()?.name ?? "the latest release"}
               </a>
-              <strong>The AI coding agent built for the terminal</strong>
+              <h1>The AI coding agent built for the terminal</h1>
               <p>
                 OpenCode is fully open source, giving you control and freedom to use any provider,
                 any model, and any editor.

+ 1 - 1
packages/console/app/src/routes/zen/index.css

@@ -277,7 +277,7 @@ body {
       margin-bottom: 24px;
     }
 
-    strong {
+    h1 {
       font-size: 28px;
       color: var(--color-text-strong);
       font-weight: 500;

+ 1 - 1
packages/console/app/src/routes/zen/index.tsx

@@ -45,7 +45,7 @@ export default function Home() {
             <div data-slot="hero-copy">
               <img data-slot="zen logo light" src={zenLogoLight} alt="zen logo light" />
               <img data-slot="zen logo dark" src={zenLogoDark} alt="zen logo dark" />
-              <strong>Reliable optimized models for coding agents</strong>
+              <h1>Reliable optimized models for coding agents</h1>
               <p>
                 Zen gives you access to a curated set of AI models that OpenCode has tested and
                 benchmarked specifically for coding agents. No need to worry about inconsistent