Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/routes/(default)/search/EventsComponent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@

<div class="mb-20">
{#each eventsData as event}
<div class="card variant-ghost-surface mb-5 block overflow-hidden md:p-4">
<a
class="card variant-ghost-surface mb-5 block overflow-hidden md:p-4"
href={`/events/${event.title.toLowerCase().replaceAll(' ', '-')}`}
>
<div
class="md:items-centerX flex
flex-col gap-3
Expand Down Expand Up @@ -67,7 +70,7 @@
</div>
</div>
</div>
</div>
</a>
{/each}
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/routes/(default)/search/UsersComponent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{/if}

{#each usersData as user}
<a href="/profile/{user.username}" class="card variant-ghost-surface mb-5 block p-4">
<a href="/{user.username}" class="card variant-ghost-surface mb-5 block p-4">
<div class="flex flex-col gap-1">
<div class="flex items-center gap-3">
<Avatar
Expand Down