refactor: extract sidebar to component

I realised that I must not show the sidebar everywhere. So to not move
code around I extracted it into its own component. This one is not
matching the design (because of the links etc.) but is a step in the
direction.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
This commit is contained in:
André Jaenisch 2024-07-05 12:07:05 +02:00
parent fff02c459b
commit 68f86692f4
No known key found for this signature in database
GPG key ID: 5A668E771F1ED854

View file

@ -4,6 +4,7 @@ SPDX-FileCopyrightText: 2024 André Jaenisch
SPDX-License-Identifier: AGPL-3.0-or-later
-->
<script>
import { locale } from 'svelte-i18n';
import { computePosition, autoUpdate, offset, shift, flip, arrow } from '@floating-ui/dom';