Skip to content

Commit 59a4da8

Browse files
committed
Working on tags
1 parent 72b7b57 commit 59a4da8

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

src/pages/idea/index.astro

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import Layout from "@layouts/Layout.astro";
33
import Drawer from "@layouts/Drawer.astro";
44
import { getCollection } from "astro:content";
5-
import { Construction, Lightbulb } from "lucide-astro";
5+
import { Construction, LibraryBig, Lightbulb } from "lucide-astro";
66
import { Idea } from "@tool/idea";
77
88
const ideas = (await getCollection("ideas"))
@@ -17,7 +17,10 @@ const ideas = (await getCollection("ideas"))
1717
<Drawer>
1818
<div class="flex flex-col w-full h-full items-center">
1919
<div class="h-4"></div>
20-
<span class="text-6xl font-bold text-center">Ideas</span>
20+
<div class="flex flex-row gap-1">
21+
<LibraryBig class="w-10 h-10"/>
22+
<span class="text-4xl font-bold text-center">Ideas</span>
23+
</div>
2124
<div class="h-4"></div>
2225
<div class="w-full flex flex-row flex-wrap max-w-xs justify-center sm:max-w-2xl lg:max-w-5xl">
2326
{ ideas.map(idea => (

src/pages/idea/tag/[tag].astro

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ const ideas = (await getCollection("ideas"))
2626
<Drawer>
2727
<div class="flex flex-col w-full items-center">
2828
<div class="h-6"></div>
29-
<div class="w-full flex flex-row justify-center items-center">
30-
<span class="text-4xl">
31-
Ideas With
32-
</span>
29+
<div class="w-full flex flex-row justify-center items-center gap-1">
30+
<span class="text-4xl">Ideas About</span>
3331
<span class="tooltip tooltip-bottom" data-tip="More Tags">
3432
<a href="/idea/tag/" class="btn btn-circle btn-ghost btn-xl">
3533
<Hash class="w-10 h-10"/>

src/pages/idea/tag/index.astro

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,7 @@ const tags = (await getCollection("ideas"))
1919
<div class="flex flex-col w-full items-center">
2020
<div class="h-6"></div>
2121
<div class="flex flex-row justify-center items-center gap-1">
22-
<span class="text-4xl"></span>
23-
<span class="tooltip tooltip-bottom" data-tip="More Tags">
24-
<a href="/idea/tag/" class="btn btn-circle btn-ghost btn-xl">
25-
<Hash class="w-10 h-10"/>
26-
</a>
27-
</span>
22+
<Hash class="w-10 h-10"/>
2823
<span class="text-4xl font-bold">Tags</span>
2924
</div>
3025
<div class="h-4"></div>

0 commit comments

Comments
 (0)