diff --git a/src/App.svelte b/src/App.svelte index 1e2383063..e5417b7f8 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -4,16 +4,13 @@ import { getConfig } from '@app/config'; import { session } from '@app/session'; + import Home from '@app/base/home/Home.svelte'; import Vesting from '@app/base/vesting/Vesting.svelte'; import Register from '@app/base/register/Routes.svelte'; import Orgs from '@app/base/orgs/Routes.svelte'; + import Resolve from '@app/base/resolve/Routes.svelte'; import Header from '@app/Header.svelte'; - const defaultPath = "register"; - const path = window.location.pathname; - const query = new URLSearchParams(window.location.search); - export let url = path === "/" ? defaultPath : path; - function handleKeydown(event: KeyboardEvent) { if (event.key === 'Enter') { (document.querySelector('button.primary') as HTMLElement).click(); @@ -39,12 +36,16 @@
- + + + + - + +
diff --git a/src/Header.svelte b/src/Header.svelte index abc8756de..d20d9641b 100644 --- a/src/Header.svelte +++ b/src/Header.svelte @@ -41,6 +41,8 @@ margin-right: 1.5rem; font-weight: 500; color: var(--color-foreground-6); + } + header a { border: none; } header .nav a:hover { @@ -84,7 +86,7 @@
- +