diff --git a/sites/web/src/components/Footer.astro b/sites/web/src/components/Footer.astro index 6d0b460..f2747ac 100644 --- a/sites/web/src/components/Footer.astro +++ b/sites/web/src/components/Footer.astro @@ -31,6 +31,12 @@ const year = new Date().getFullYear() href="/concepts" class="transition-colors hover:text-[var(--color-fg)]">Concepts + Full reference diff --git a/sites/web/src/components/landing/Hero.tsx b/sites/web/src/components/landing/Hero.tsx index 3952c82..3aa9cf8 100644 --- a/sites/web/src/components/landing/Hero.tsx +++ b/sites/web/src/components/landing/Hero.tsx @@ -71,7 +71,7 @@ export const Hero = () => { The browser
-              {`const yes = `}
+              {`const ok = `}
               
                 {`window.confirm('Continue?')`}
               
@@ -107,7 +107,7 @@ export const Hero = () => {
               Your component
             
             
-              {`const yes = `}
+              {`const ok = `}
               
                 {`await Confirm.call(props)`}
               
diff --git a/sites/web/src/pages/index.astro b/sites/web/src/pages/index.astro
index 22da43f..fb393d7 100644
--- a/sites/web/src/pages/index.astro
+++ b/sites/web/src/pages/index.astro
@@ -43,9 +43,20 @@ const exampleCount = getAllExamples().length
           href="https://github.com/desko27/react-call"
           target="_blank"
           rel="noopener noreferrer"
-          class="text-[var(--color-fg-muted)] transition-colors hover:text-[var(--color-fg)]"
+          aria-label="Star react-call on GitHub"
+          class="inline-flex items-center gap-2 rounded-md border border-[var(--color-border-strong)] bg-[var(--color-bg)] px-4 py-2 font-medium text-[var(--color-fg)] transition-colors hover:bg-[var(--color-bg-muted)]"
         >
-          GitHub →
+          
+          Star on GitHub