diff --git a/apps/portal/astro.config.ts b/apps/portal/astro.config.ts index 3cca2e318f..a176e973ff 100644 --- a/apps/portal/astro.config.ts +++ b/apps/portal/astro.config.ts @@ -18,10 +18,15 @@ export default defineConfig({ src: "./src/assets/harness-design-system-logo.svg", replacesTitle: true, }, + favicon: "./src/assets/favicon.png", social: { github: "https://github.com/harness/canary", }, sidebar: [ + { + label: "Getting started", + autogenerate: { directory: "getting-started" }, + }, { label: "Foundations", autogenerate: { directory: "foundations" }, @@ -50,6 +55,6 @@ export default defineConfig({ react(), ], redirects: { - "/": "/components/breadcrumb", // + "/": "/components/accordion", }, }); diff --git a/apps/portal/src/assets/favicon.png b/apps/portal/src/assets/favicon.png new file mode 100644 index 0000000000..4fbafe0470 Binary files /dev/null and b/apps/portal/src/assets/favicon.png differ diff --git a/apps/portal/src/content/docs/getting-started/installation.md b/apps/portal/src/content/docs/getting-started/installation.md new file mode 100644 index 0000000000..36d4ef8682 --- /dev/null +++ b/apps/portal/src/content/docs/getting-started/installation.md @@ -0,0 +1,6 @@ +--- +title: Installation +description: Steps to get up and running with the Harness Canary UI components +--- + +These steps will you get up and running with the Harness Canary UI components. diff --git a/apps/portal/src/styles.css b/apps/portal/src/styles.css index 3d38c825b2..8def4e2d29 100644 --- a/apps/portal/src/styles.css +++ b/apps/portal/src/styles.css @@ -1,5 +1,5 @@ body { - @apply text-foreground-3 text-base overscroll-none; + @apply text-foreground-3 text-base overscroll-none !important; } main { @@ -113,3 +113,13 @@ ul.top-level summary svg { pre.prism-code { @apply rounded-md overflow-hidden border border-borders-4 bg-background-2 !important; } + +/* Pagination overrides */ + +.pagination-links a { + @apply border border-borders-4 rounded-md text-xs text-foreground-4; +} + +.pagination-links a .link-title { + @apply text-lg leading-tight; +}