Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Dec 31, 2024
1 parent 3674bee commit 9f155d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/docs/src/components/TopBanner.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ const dateFormat = {
{#if true}
<div class="bg-base-100 flex justify-center rounded-sm p-2">
<a
target="_blank"
href="https://v5.daisyui.com/docs/v5-beta/"
class="btn btn-soft group btn-sm [width:clamp(20rem,100%,30rem)] rounded-full"
class="btn group btn-sm [width:clamp(20rem,100%,30rem)] rounded-full"
>
Try daisyUI 5 beta
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/docs/src/routes/(docs)/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ $effect(async () => {
</div>
{#if daisyui5progress}
<div class="flex gap-2 grow w-full max-w-48 max-lg:my-4 sm:max-w-sm">
<a class="tooltip tooltip-accent relative flex flex-col w-full" href="https://github.com/saadeghi/daisyui/discussions/3246" target="_blank" rel="nofollow" data-tip="Try the alpha version">
<a class="tooltip tooltip-accent relative flex flex-col w-full" href="https://github.com/saadeghi/daisyui/discussions/3246" target="_blank" rel="nofollow" data-tip="Try the beta version">
<div class="text-[0.6rem] -top-4 absolute italic -translate-x-1/2 rtl:translate-x-1/2" style={`inset-inline-start:${daisyui5progress}%`}>
{daisyui5progress}%
</div>
Expand Down

0 comments on commit 9f155d2

Please sign in to comment.