Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 0d3f63e

Browse files
committed
fix links
1 parent 1782c1d commit 0d3f63e

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

src/components/Filter.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
willpinha
1919
</a>
2020
and
21-
<a href="https://github.com/willpinha/daisy-components/graphs/contributors" class="link link-accent link-hover">
21+
<a href="https://github.com/willpinha//graphs/contributors" class="link link-accent link-hover">
2222
contributors
2323
</a>
2424
</span>
@@ -47,7 +47,7 @@
4747
<div class="flex flex-wrap justify-center gap-2">
4848
{#each tags as tag}
4949
<a
50-
href="/{tag}"
50+
href="{tag}"
5151
class="btn btn-sm btn-outline btn-primary"
5252
class:btn-disabled={!isMatch(tag, filter)}
5353
>

src/components/Navbar.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<!-- Left side -->
99
{#if tag}
1010
<div class="flex gap-2">
11-
<a href="/daisy-components" class="btn btn-ghost px-3">
11+
<a href="" class="btn btn-ghost px-3">
1212
<i class="fa-solid fa-arrow-left-long text-2xl"></i>
1313
</a>
1414

@@ -17,7 +17,7 @@
1717
</span>
1818
</div>
1919
{:else}
20-
<a href="/daisy-components" class="btn btn-ghost flex gap-2">
20+
<a href="" class="btn btn-ghost flex gap-2">
2121
<img src="/logo.svg" class="w-4" alt="Daisy Catalog" />
2222

2323
<div class="flex font-bold text-lg">
@@ -30,7 +30,7 @@
3030
<!-- Right side -->
3131
<div class="flex gap-0 sm:gap-2">
3232
<!-- GitHub -->
33-
<a title="GitHub" target="_blank" href="https://github.com/willpinha/daisy-components" class="btn btn-ghost btn-circle btn-sm">
33+
<a title="GitHub" target="_blank" href="https://github.com/willpinha/" class="btn btn-ghost btn-circle btn-sm">
3434
<i class="fa-brands fa-github text-lg"></i>
3535
</a>
3636

src/components/Preview.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@
4444
{@html html}
4545
</div>
4646

47-
<a target="_blank" href="https://github.com/willpinha/daisy-components/blob/master/src/collection/{tag}/{example}.html" class="tab">
47+
<a target="_blank" href="https://github.com/willpinha//blob/master/src/collection/{tag}/{example}.html" class="tab">
4848
Code
4949
</a>
5050

51-
<a target="_blank" href="/playground/{tag}/{example}" class="tab">Playground</a>
51+
<a target="_blank" href="playground/{tag}/{example}" class="tab">Playground</a>
5252
</div>
5353
</div>

src/layout/Page.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
<meta charset="UTF-8">
1010
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1111
<title>Components | {title}</title>
12-
<link rel="icon" type="image/x-icon" href="/logo.svg">
12+
<base href="/daisy-components/" />
13+
<link rel="icon" type="image/x-icon" href="logo.svg">
1314
<script is:inline>
1415
/**
1516
* Prevents the FART problem (https://css-tricks.com/flash-of-inaccurate-color-theme-fart/)

0 commit comments

Comments
 (0)