2022-04-16 04:17:48 +03:00
|
|
|
<script>
|
|
|
|
import { HashIcon } from "svelte-feather-icons";
|
|
|
|
</script>
|
|
|
|
|
2022-04-15 02:39:13 +03:00
|
|
|
<style>
|
|
|
|
.sidebar {
|
|
|
|
height: 100%;
|
|
|
|
width: 255px;
|
2022-04-16 04:17:48 +03:00
|
|
|
padding: var(--space-sm);
|
|
|
|
background-color: var(--background-color-1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-button {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
border: none;
|
|
|
|
background-color: var(--background-color-1);
|
|
|
|
padding: var(--space-sm);
|
|
|
|
margin-bottom: var(--space-xxs);
|
|
|
|
color: currentColor;
|
|
|
|
font: inherit;
|
|
|
|
width: 100%;
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-button span {
|
|
|
|
margin-left: var(--space-xxs);
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-button:hover {
|
|
|
|
background-color: var(--background-color-2);
|
2022-04-15 02:39:13 +03:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="sidebar">
|
2022-04-16 04:17:48 +03:00
|
|
|
<button class="sidebar-button">
|
|
|
|
<HashIcon />
|
|
|
|
<span>channel name</span>
|
|
|
|
</button>
|
|
|
|
<button class="sidebar-button">
|
|
|
|
<HashIcon />
|
|
|
|
<span>channel name</span>
|
|
|
|
</button>
|
|
|
|
<button class="sidebar-button">
|
|
|
|
<HashIcon />
|
|
|
|
<span>channel name</span>
|
|
|
|
</button>
|
2022-04-15 02:39:13 +03:00
|
|
|
</div>
|