Skip to content

Commit d2d7e15

Browse files
authored
🐛 Fix Dock
1 parent 2054f8a commit d2d7e15

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

src/components/Dock.astro

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,29 @@
11
---
22
import { Icon } from "astro-icon/components";
33
---
4-
<div class="dock fixed md:hidden">
5-
<a href="">
4+
<div class="dock bg-base-200 rounded-t fixed md:hidden">
5+
<a href="/">
66
<Icon name="gravity-ui:house" class="inline text-3xl" />
77
<span class="dock-label">Home</span>
88
</a>
99

10-
<a class="dock-active">
10+
<a href="/projets" class="dock-active">
1111
<Icon name="gravity-ui:house" class="inline text-3xl" />
12-
<span class="dock-label">Inbox</span>
12+
<span class="dock-label">Inbox</span>
1313
</a>
1414

1515
<a href="/contact">
1616
<Icon name="gravity-ui:house" class="inline text-3xl" />
17-
<span class="dock-label">Settings</span>
18-
</button>
17+
<span class="dock-label">Settings</span>
18+
</a>
19+
20+
<a href="/projets">
21+
<Icon name="gravity-ui:house" class="inline text-3xl" />
22+
<span class="dock-label">Inbox</span>
23+
</a>
24+
25+
<a href="/contact">
26+
<Icon name="gravity-ui:house" class="inline text-3xl" />
27+
<span class="dock-label">Settings</span>
28+
</a>
1929
</div>

0 commit comments

Comments
 (0)