diff options
| author | secondl1ght <[email protected]> | 2022-07-21 22:22:30 -0600 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-07-21 22:22:30 -0600 |
| commit | f42fd791172d8b2c0e507399e5081cc906474cb2 (patch) | |
| tree | cb537d8b2c4868a4f61dd0a123f0b5e08d05884c /src/routes | |
| parent | 83052d94f734e8618260c0655cd7b7a23b06d836 (diff) | |
| download | coinos-ui-f42fd791172d8b2c0e507399e5081cc906474cb2.tar.gz coinos-ui-f42fd791172d8b2c0e507399e5081cc906474cb2.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.svelte | 8 | ||||
| -rw-r--r-- | src/routes/login.svelte | 5 | ||||
| -rw-r--r-- | src/routes/register.svelte | 5 |
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" /> |
