Skip to content

Commit

Permalink
refactor(app): move pages
Browse files Browse the repository at this point in the history
  • Loading branch information
cor committed May 29, 2024
1 parent 12d8bb2 commit e500514
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 33 deletions.
2 changes: 1 addition & 1 deletion app/src/lib/components/header/header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { routes } from "$lib/components/navigation/index.ts"
draft
? 'hidden'
: [
'px-2 my-auto text-lg text-white no-underline decoration-transparent border-solid border-[1px] border-transparent outline outline-1 outline-transparent hover:outline-zinc-400/30 dark:hover:bg-zinc-800/70',
'px-4 py-2 my-auto title text-lg capitalize text-white no-underline decoration-transparent border-solid border-[1px] border-transparent outline outline-1 outline-transparent hover:outline-zinc-400/30 dark:hover:bg-zinc-800/70',
$page.route.id === path && 'bg-muted-foreground/10',
],
)}
Expand Down
4 changes: 2 additions & 2 deletions app/src/lib/components/navigation/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import Navigation from "./navigation.svelte"

const routes = {
home: { draft: false, path: "/" },
send: { draft: false, path: "/send" },
transfer: { draft: false, path: "/transfer" },
faucet: { draft: false, path: "/faucet" },
explorer: {draft: false, path: "/explorer" },
transfers: { draft: true, path: "/transfers" }
} as const

Expand Down
12 changes: 0 additions & 12 deletions app/src/routes/(dashboard)/components/data-table-checkbox.svelte

This file was deleted.

18 changes: 0 additions & 18 deletions app/src/routes/(dashboard)/dashboard-ibc/+page.svelte

This file was deleted.

1 change: 1 addition & 0 deletions app/src/routes/(home)/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<h1>zkgm</h1>
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e500514

Please sign in to comment.