mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-15 22:38:47 +00:00
파일 업로드가 완료된 후에 파일/디렉터리 목록이 갱신되지 않던 버그 수정 및 구현되지 않은 탭 임시 레이아웃 구현
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { goto } from "$app/navigation";
|
||||
import { page } from "$app/state";
|
||||
import { AdaptiveDiv } from "$lib/components/divs";
|
||||
|
||||
@@ -26,7 +27,10 @@
|
||||
<div class="flex w-full justify-evenly px-4 py-2">
|
||||
{#each pages as { path, label, icon: Icon }}
|
||||
{@const textColor = !page.url.pathname.startsWith(path) ? "text-gray-600" : ""}
|
||||
<button class="w-16 active:rounded-xl active:bg-gray-100 {textColor}">
|
||||
<button
|
||||
onclick={() => goto(path)}
|
||||
class="w-16 active:rounded-xl active:bg-gray-100 {textColor}"
|
||||
>
|
||||
<div class="gap-y flex flex-col items-center gap-y-1 p-1 transition active:scale-95">
|
||||
<Icon class="text-xl" fill="0" />
|
||||
<p class="text-sm">{label}</p>
|
||||
|
||||
Reference in New Issue
Block a user