Skip to content

Commit 2a6bc70

Browse files
committed
feat: Always show links
1 parent bff9028 commit 2a6bc70

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

src/layout/Footer/FooterSection.svelte

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
<script lang="ts">
2-
import { slide } from 'svelte/transition';
3-
import { quintOut } from 'svelte/easing';
4-
5-
import ChevronDown from 'svelte-material-icons/ChevronDown.svelte';
6-
72
export let title: string;
8-
let expanded: boolean = false;
93
</script>
104

115
<div class="desktop-only">
@@ -16,20 +10,14 @@
1610
</div>
1711

1812
<div class="mobile-only">
19-
<!-- svelte-ignore a11y-click-events-have-key-events -->
20-
<button class="title" on:click={() => (expanded = !expanded)}>
13+
<button class="title">
2114
<span>
2215
{title}
2316
</span>
24-
<div class="arrow" style:transform={expanded ? 'rotate(180deg)' : 'rotate(0deg)'}>
25-
<ChevronDown size="24px" color="var(--surface-six)" />
26-
</div>
2717
</button>
28-
{#if expanded}
29-
<ul transition:slide={{ easing: quintOut, duration: 500 }}>
30-
<slot />
31-
</ul>
32-
{/if}
18+
<ul>
19+
<slot />
20+
</ul>
3321
</div>
3422

3523
<style lang="scss">

0 commit comments

Comments
 (0)