Skip to content

Commit

Permalink
refactor!: revert to single-page layout
Browse files Browse the repository at this point in the history
  • Loading branch information
BastiDood committed Aug 9, 2024
1 parent 71424bc commit 8f83dea
Show file tree
Hide file tree
Showing 28 changed files with 401 additions and 475 deletions.
2 changes: 1 addition & 1 deletion app/src/lib/users/Student.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
$: ({ email, given_name, family_name, avatar, student_number, labs, lab_id } = user);
</script>

<a href="mailto:{email}" class="grid w-full grid-cols-[auto_1fr] items-center gap-1 p-4">
<a href="mailto:{email}" class="grid w-full grid-cols-[auto_1fr] items-center gap-2 p-4">
<span><Avatar src={avatar} width="w-20" /></span>
<span class="flex flex-col">
{#if given_name.length > 0 && family_name.length > 0}
Expand Down
2 changes: 1 addition & 1 deletion app/src/routes/SideBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<Icon src={Users} slot="lead" class="h-8" />
<span>Users</span>
</AppRailAnchor>
<AppRailAnchor href="/dashboard/drafts/" selected={pathname.split('/').includes('drafts')}>
<AppRailAnchor href="/dashboard/drafts/" selected={pathname.startsWith('/dashboard/drafts/')}>
<Icon src={ClipboardDocumentList} slot="lead" class="h-8" />
<span>Drafts</span>
</AppRailAnchor>
Expand Down
30 changes: 0 additions & 30 deletions app/src/routes/dashboard/(admin)/drafts/(ongoing)/+layout.svelte

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8f83dea

Please sign in to comment.