mirror of
https://github.com/coracle-social/flotilla.git
synced 2025-12-10 19:07:06 +00:00
Add mobile layout
This commit is contained in:
17
src/lib/components/PageBar.svelte
Normal file
17
src/lib/components/PageBar.svelte
Normal file
@@ -0,0 +1,17 @@
|
||||
<script lang="ts">
|
||||
import Icon from '@lib/components/Icon.svelte'
|
||||
import Button from '@lib/components/Button.svelte'
|
||||
|
||||
const back = () => history.back()
|
||||
</script>
|
||||
|
||||
<div class="relative z-feature mx-2 rounded-xl pt-4">
|
||||
<div
|
||||
class="flex min-h-12 items-center justify-between gap-4 rounded-xl bg-base-100 px-4 shadow-xl">
|
||||
<div class="flex items-center gap-4">
|
||||
<slot name="icon" />
|
||||
<slot name="title" />
|
||||
</div>
|
||||
<slot name="action" />
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user