-
{title}
-
{description}
-
Learn more →
+
+ {title}
+ {description ?? "Learn more about supported features"}
+
→
diff --git a/website/src/components/light-dark-img.astro b/website/src/components/light-dark-img.astro
index 8f37b1231b0..5864839305b 100644
--- a/website/src/components/light-dark-img.astro
+++ b/website/src/components/light-dark-img.astro
@@ -23,6 +23,6 @@ const { src } = Astro.props;
}
diff --git a/website/src/components/starlight-overrides/Header.astro b/website/src/components/starlight-overrides/Header.astro
index abb7f4cd7e4..4d838b63f08 100644
--- a/website/src/components/starlight-overrides/Header.astro
+++ b/website/src/components/starlight-overrides/Header.astro
@@ -2,4 +2,4 @@
import BaseHeader from "@site/src/components/header/header.astro";
---
-
+
diff --git a/website/src/css/reset.css b/website/src/css/reset.css
index a7fdd011b58..475426647cb 100644
--- a/website/src/css/reset.css
+++ b/website/src/css/reset.css
@@ -13,3 +13,8 @@ a {
text-decoration: none;
transition: color var(--ifm-transition-fast) var(--ifm-transition-timing-default);
}
+
+/* In markdown tables starlight doesn't underline text. This ensures that only links with multiple siblings get underlined but not the whole cell being a link */
+.sl-markdown-content td a:not(:only-child) {
+ text-decoration: underline;
+}
diff --git a/website/src/pages/index.astro b/website/src/pages/index.astro
index 3b4a8568a9f..f60918dc85b 100644
--- a/website/src/pages/index.astro
+++ b/website/src/pages/index.astro
@@ -113,12 +113,14 @@ import Button from "../components/button.astro";
"Inspired by TypeScript, TypeSpec is a minimal language that helps developers describe API shapes in a familiar way.",
image: "book-pencil",
link: Links.gettingStartedOpenAPI,
+ learnMoreText: "Learn about TypeSpec for REST APIs",
},
{
title: "Easy integration with your toolchain",
description:
"Write TypeSpec, emit to various formats and integrate with their ecosystems.",
image: "document-add",
+ learnMoreText: "Learn about TypeSpec emitters",
},
{
title: "Multi-protocol support",
@@ -126,6 +128,7 @@ import Button from "../components/button.astro";
"TypeSpec's standard library includes support for OpenAPI 3.0, JSON Schema 2020-12 and Protobuf.",
image: "tasks",
link: "/multi-protocol",
+ learnMoreText: "Check out multi-protocol examples",
},
]}
/>