aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-07-21 12:48:46 -0600
committersecondl1ght <[email protected]>2022-07-21 12:48:46 -0600
commit7ad85953f44f25b8c341bff94fd939014a7dd52e (patch)
treeacf4a594c36e25c81688fe05db8835636080e51e /src/routes
parent202d4db9e3b704f8a0010cd9a68db1b5534ad6f1 (diff)
downloadcoinos-ui-7ad85953f44f25b8c341bff94fd939014a7dd52e.tar.gz
coinos-ui-7ad85953f44f25b8c341bff94fd939014a7dd52e.zip
move landing header into comp
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/index.svelte20
1 files changed, 3 insertions, 17 deletions
diff --git a/src/routes/index.svelte b/src/routes/index.svelte
index 0b32e672..f1d4e263 100644
--- a/src/routes/index.svelte
+++ b/src/routes/index.svelte
@@ -1,11 +1,10 @@
<script>
- import { scroll } from '../lib/utils';
import {
+ LandingHeader,
LandingInfoCard,
HowItWorksCard,
FaqCard,
- PrimaryButton,
- SecondaryButton
+ PrimaryButton
} from '../components';
let howItWorks;
@@ -49,20 +48,7 @@
];
</script>
-<header class="w-full lg:w-5/6 pt-10 mx-auto">
- <nav class="block xl:flex flex-wrap justify-between items-center">
- <a href="/">
- <img src="/icons/logo.svg" alt="logo" class="mx-auto mb-5 xl:mb-0" />
- </a>
- <div class="hidden space-x-10 md:flex flex-wrap justify-center items-center font-bold">
- <button on:click={() => scroll(howItWorks)}>How It Works</button>
- <button on:click={() => scroll(faq)}>FAQ</button>
- <button>About</button>
- <SecondaryButton title="Start in Seconds" />
- <PrimaryButton title="Login" />
- </div>
- </nav>
-</header>
+<LandingHeader {howItWorks} {faq} />
<main class="space-y-40 py-20 md:py-32 lg:py-40 px-5 md:px-0">
<!-- hero -->