diff --git a/src/App.svelte b/src/App.svelte index bb9ed375f..321175f62 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -44,6 +44,12 @@ height: 100%; display: flex; flex-direction: column; + background: linear-gradient( + 180deg, + var(--color-secondary-background) 0%, + transparent 30%, + transparent 100% + ); } .wrapper { display: flex; @@ -69,7 +75,7 @@
- + diff --git a/src/Header.svelte b/src/Header.svelte index fa86cc142..82ade281a 100644 --- a/src/Header.svelte +++ b/src/Header.svelte @@ -9,7 +9,8 @@ import Connect from '@app/Connect.svelte'; import type { Config } from '@app/config'; import { Profile, ProfileType } from "@app/profile"; - import Avatar from "./Avatar.svelte"; + import Avatar from '@app/Avatar.svelte'; + import Search from '@app/Search.svelte'; export let session: Session | null; export let config: Config; @@ -29,26 +30,13 @@ margin: 0; padding: 1.5rem; } - header .nav { - display: inline-block; - height: 100%; - margin-left: 1.5rem; - white-space: nowrap; - } - header .nav a { - display: inline-block; - padding: 0.5rem 0.5rem; - margin-right: 1.5rem; - font-weight: 500; - color: var(--color-foreground-6); - } - header .nav a:hover { - color: var(--color-foreground); - } header .left, header .right { display: flex; align-items: center; } + .logo { + display: flex; + } .error { text-align: center; color: var(--color-negative); @@ -63,6 +51,12 @@ .error a:hover { text-decoration: none; } + .search { + height: 42px; + width: 16rem; + margin-left: 1rem; + display: inline-block; + } .address { display: flex; flex-direction: row; @@ -124,10 +118,9 @@
- - diff --git a/src/Search.svelte b/src/Search.svelte new file mode 100644 index 000000000..6a301d9c3 --- /dev/null +++ b/src/Search.svelte @@ -0,0 +1,31 @@ + + + + + diff --git a/src/base/home/Index.svelte b/src/base/home/Index.svelte index 3bb5d7352..c65fe4a94 100644 --- a/src/base/home/Index.svelte +++ b/src/base/home/Index.svelte @@ -1,23 +1,22 @@ + + Radicle – Home -
+
- - +