Skip to content

Commit 7d4c91c

Browse files
committed
feat: add all pages to navigation
- Add FAQ and Welcome Events links to footer - Reorganize footer into About, Join, Content, Social sections - Add complete navigation to mobile drawer with all pages
1 parent 68553fd commit 7d4c91c

File tree

1 file changed

+64
-3
lines changed

1 file changed

+64
-3
lines changed

src/routes/(site)/+layout.svelte

Lines changed: 64 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,33 @@
101101
href="/about"
102102
class="text-sm text-zinc-500 transition-colors hover:text-zinc-900">About</a
103103
>
104+
<a
105+
href="/about/faq"
106+
class="text-sm text-zinc-500 transition-colors hover:text-zinc-900">FAQ</a
107+
>
104108
<a
105109
href="/activities"
106110
class="text-sm text-zinc-500 transition-colors hover:text-zinc-900">Activities</a
107111
>
112+
<a
113+
href="/donation"
114+
class="text-sm text-zinc-500 transition-colors hover:text-zinc-900">Donation</a
115+
>
116+
</div>
117+
</div>
118+
<div class="flex flex-col items-center gap-2 md:items-start">
119+
<span
120+
class="font-[JetBrains_Mono,monospace] text-xs font-medium tracking-widest text-zinc-500 uppercase"
121+
>Join</span
122+
>
123+
<div class="flex flex-col gap-2">
108124
<a
109125
href="/join"
110126
class="text-sm text-zinc-500 transition-colors hover:text-zinc-900">Join</a
111127
>
112128
<a
113-
href="/donation"
114-
class="text-sm text-zinc-500 transition-colors hover:text-zinc-900">Donation</a
129+
href="/join/welcome-events"
130+
class="text-sm text-zinc-500 transition-colors hover:text-zinc-900">Welcome Events</a
115131
>
116132
</div>
117133
</div>
@@ -177,7 +193,7 @@
177193
<Search class="h-4 w-4" />
178194
<span>検索...</span>
179195
</button>
180-
<ul class="space-y-2">
196+
<ul class="space-y-1">
181197
<li>
182198
<a
183199
href="/articles"
@@ -200,6 +216,51 @@
200216
>
201217
</li>
202218
</ul>
219+
<div class="my-4 border-t border-zinc-200"></div>
220+
<ul class="space-y-1">
221+
<li>
222+
<a
223+
href="/about"
224+
class="block rounded-lg px-4 py-2 text-sm text-zinc-600 transition-colors hover:bg-primary/5 hover:text-primary"
225+
>About</a
226+
>
227+
</li>
228+
<li>
229+
<a
230+
href="/about/faq"
231+
class="block rounded-lg px-4 py-2 text-sm text-zinc-600 transition-colors hover:bg-primary/5 hover:text-primary"
232+
>FAQ</a
233+
>
234+
</li>
235+
<li>
236+
<a
237+
href="/activities"
238+
class="block rounded-lg px-4 py-2 text-sm text-zinc-600 transition-colors hover:bg-primary/5 hover:text-primary"
239+
>Activities</a
240+
>
241+
</li>
242+
<li>
243+
<a
244+
href="/join"
245+
class="block rounded-lg px-4 py-2 text-sm text-zinc-600 transition-colors hover:bg-primary/5 hover:text-primary"
246+
>Join</a
247+
>
248+
</li>
249+
<li>
250+
<a
251+
href="/join/welcome-events"
252+
class="block rounded-lg px-4 py-2 text-sm text-zinc-600 transition-colors hover:bg-primary/5 hover:text-primary"
253+
>Welcome Events</a
254+
>
255+
</li>
256+
<li>
257+
<a
258+
href="/donation"
259+
class="block rounded-lg px-4 py-2 text-sm text-zinc-600 transition-colors hover:bg-primary/5 hover:text-primary"
260+
>Donation</a
261+
>
262+
</li>
263+
</ul>
203264
</div>
204265
</div>
205266
</div>

0 commit comments

Comments
 (0)