aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-07-21 22:22:30 -0600
committersecondl1ght <[email protected]>2022-07-21 22:22:30 -0600
commit15dffb3a0216c0eccc06b2fc449c423aba6811b2 (patch)
treea664d3217f40c06b81c1b73f4c1761b3961f8bc8 /src/routes
parenta124ebdfdc90aee2c8af0fffa83500055829db92 (diff)
downloadcoinos-ui-15dffb3a0216c0eccc06b2fc449c423aba6811b2.tar.gz
coinos-ui-15dffb3a0216c0eccc06b2fc449c423aba6811b2.zip
add register and login pages, DRY up more, add $comp, add new components
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/index.svelte8
-rw-r--r--src/routes/login.svelte5
-rw-r--r--src/routes/register.svelte5
3 files changed, 11 insertions, 7 deletions
diff --git a/src/routes/index.svelte b/src/routes/index.svelte
index 8912e41e..cda885a3 100644
--- a/src/routes/index.svelte
+++ b/src/routes/index.svelte
@@ -1,11 +1,5 @@
<script>
- import {
- LandingHeader,
- LandingHero,
- LandingInfoCard,
- HowItWorksCard,
- FaqCard
- } from '../components';
+ import { LandingHeader, LandingHero, LandingInfoCard, HowItWorksCard, FaqCard } from '$comp';
let howItWorks;
let faq;
diff --git a/src/routes/login.svelte b/src/routes/login.svelte
new file mode 100644
index 00000000..c61269c1
--- /dev/null
+++ b/src/routes/login.svelte
@@ -0,0 +1,5 @@
+<script>
+ import { RegisterOrLogin } from '$comp';
+</script>
+
+<RegisterOrLogin page="Sign in" />
diff --git a/src/routes/register.svelte b/src/routes/register.svelte
new file mode 100644
index 00000000..69ec5fd2
--- /dev/null
+++ b/src/routes/register.svelte
@@ -0,0 +1,5 @@
+<script>
+ import { RegisterOrLogin } from '$comp';
+</script>
+
+<RegisterOrLogin page="Register" />