From 54beb605abba0faf3950edbf8fcf6a7c67185877 Mon Sep 17 00:00:00 2001 From: HiDeoo <494699+HiDeoo@users.noreply.github.com> Date: Fri, 3 May 2024 16:08:46 +0200 Subject: [PATCH] chore: remove demo page --- docs/src/assets/landing.css | 7 - .../content/docs/reference/link-button.mdx | 396 ------------------ 2 files changed, 403 deletions(-) delete mode 100644 docs/src/content/docs/reference/link-button.mdx diff --git a/docs/src/assets/landing.css b/docs/src/assets/landing.css index 70a3dea9398..88f6c63525b 100644 --- a/docs/src/assets/landing.css +++ b/docs/src/assets/landing.css @@ -25,10 +25,3 @@ [data-has-hero] .hero > img { filter: drop-shadow(0 0 3rem var(--overlay-blurple)); } - -/* // TODO(HiDeoo) Remove these styles */ - -.sl-link-button.custom-link-button { - text-decoration: underline; - text-underline-offset: 0.25rem; -} diff --git a/docs/src/content/docs/reference/link-button.mdx b/docs/src/content/docs/reference/link-button.mdx deleted file mode 100644 index f2cf40f96e5..00000000000 --- a/docs/src/content/docs/reference/link-button.mdx +++ /dev/null @@ -1,396 +0,0 @@ ---- -title: ⚠️ Link button demo page ⚠️ ---- - -:::danger -// TODO(HiDeoo) Remove this page -::: - -import { - Card, - CardGrid, - Icon, - LinkButton, - Steps, - Tabs, - TabItem, -} from '@astrojs/starlight/components'; - -## Basics - -The following examples are basic link buttons. - - - Primary (explicit) - -Primary (implicit) - - Secondary - - - Minimal - - -And some text after the links. - -## Icons - -The following examples are link buttons with icon after the text (default). - - - Primary - - - Secondary - - - Minimal - - -The following examples are link buttons with icon before the text (using the `iconPlacement="start"`). - - - Primary - - - Secondary - - - Minimal - - -The following examples are link buttons with icon after the text (using the `iconPlacement="end"`) - - - Primary - - - Secondary - - - Minimal - - -The following examples are link buttons with only an icon and an `aria-label`. - - - - -The following example is a link button with only an icon using the `` component with a size specified by the user and an `aria-label`. - - - - - -## Custom class - -The following examples are link buttons with a custom class that changes some styles to apply some underline to the text. - - - Primary - - - Secondary - - - Minimal - - -## Long text - -The following examples is a link button with a very long text in it. - - - This is a very very very very very very very very long text - - -## Interleaved content - -The following example are 2 link buttons with a code block in between. - - - Primary - - -```js -console.log('some content in between'); -``` - - - Secondary - - -## Markdown content - -The following example is a link button with markdown content in it. - - - - _Primary in italic_ - - - -## RTL - -The following examples are link buttons in a block in RTL where the icon is before the text. - -
- - - Primary - - - Secondary - - - Minimal - - -
- -The following examples are link buttons in a block in RTL where the icon is after the text. - -
- - - Primary - - - Secondary - - - Minimal - - -
- -The following example is a link button in RTL where the icon is before the text. - - - Primary - - -The following example is a link button in RTL where the icon is after the text. - - - Primary - - -## Asides - -The following examples are asides with link buttons. - -:::note -This is the note aside content - - - Primary - - - Secondary - - - Minimal - - -::: - -:::tip -This is the tip aside content - - - Primary - - - Secondary - - - Minimal - - -::: - -:::caution -This is the caution aside content - - - Primary - - - Secondary - - - Minimal - - -::: - -:::danger -This is the danger aside content - - - Primary - - - Secondary - - - Minimal - - -::: - -## Tabs - -The following examples are tabs with link buttons. - - - - - Star 1 - - - Star 2 - - - Star 3 - - - - - Moon 1 - - - Moon 2 - - - Moon 3 - - - - -## Cards - -The following example is a card with a link button. - - - - Primary - - - -The following examples are cards in a grid with link buttons. - - - - - More stars - - - - - More moons - - - - -## Steps - -The following example is a link button in a step. - - - -1. Do something - -2. Step two has some more information with link buttons - - - Primary - - - Secondary - - - Minimal - - -3. And finally do something else - -