Skip to content

Commit

Permalink
Portal getting started (harness#747)
Browse files Browse the repository at this point in the history
* added getting started section and blank installation doc

* added harness favicon

* Update apps/portal/src/content/docs/getting-started/installation.md

Co-authored-by: Kevin Nagurski <[email protected]>

---------

Co-authored-by: joetaylorland <[email protected]>
Co-authored-by: Kevin Nagurski <[email protected]>
  • Loading branch information
3 people authored Jan 21, 2025
1 parent 06ee62e commit cd59477
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
7 changes: 6 additions & 1 deletion apps/portal/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down Expand Up @@ -50,6 +55,6 @@ export default defineConfig({
react(),
],
redirects: {
"/": "/components/breadcrumb", //
"/": "/components/accordion",
},
});
Binary file added apps/portal/src/assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions apps/portal/src/content/docs/getting-started/installation.md
Original file line number Diff line number Diff line change
@@ -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.
12 changes: 11 additions & 1 deletion apps/portal/src/styles.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
@apply text-foreground-3 text-base overscroll-none;
@apply text-foreground-3 text-base overscroll-none !important;
}

main {
Expand Down Expand Up @@ -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;
}

0 comments on commit cd59477

Please sign in to comment.