diff options
author | Aylur <[email protected]> | 2024-09-03 20:32:41 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-09-03 20:32:41 +0200 |
commit | 6f39857dc7bf59d84c89b311690e858ce0a4724e (patch) | |
tree | 4ce9a79816a82de4778e068eadcdfb32b991df17 /docs/src/components | |
parent | b8acc3897f5c48a5fc4ba73921c77cae2e91598c (diff) |
docs: migrate to vitepress
vitepress feels a bit more polished and clean
Diffstat (limited to 'docs/src/components')
-rw-r--r-- | docs/src/components/Showcase.astro | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/docs/src/components/Showcase.astro b/docs/src/components/Showcase.astro deleted file mode 100644 index 7eea178..0000000 --- a/docs/src/components/Showcase.astro +++ /dev/null @@ -1,37 +0,0 @@ ---- -interface Props { - src: string - author: string - url: string -} - -const { src, author, url } = Astro.props ---- - -<figure> - <a href={url}> - <img src={src} alt={author}> - </a> - <figcaption> - <span>Author: {author}</span> - </figcaption> -</figure> - -<style> -img { - border-radius: calc(var(--card-radius) - 8px); -} - -figure { - padding: .8rem; - padding-bottom: 0; - border-radius: var(--card-radius); - background-color: color-mix(in srgb, var(--sl-color-black), var(--sl-color-white) 2%); - border: 1px solid var(--sl-color-gray-6); -} - -figcaption { - text-align: center; - margin: 0; -} -</style> |