generated from prokawsar/dashboard-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
67 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<script lang="ts"> | ||
import { page } from '$app/stores' | ||
import { PUBLIC_MIX_TOKEN } from '$env/static/public' | ||
import '$lib/app.css' | ||
import '@fontsource/jost' | ||
//Import Mixpanel SDK | ||
import mixpanel from 'mixpanel-browser' | ||
mixpanel.init(PUBLIC_MIX_TOKEN, { | ||
debug: false, | ||
track_pageview: true, | ||
persistence: 'localStorage' | ||
}) | ||
</script> | ||
|
||
<main class="h-[100svh] flex flex-col"> | ||
<nav> | ||
<div class="flex justify-center py-2"> | ||
<p class="text-center text-2xl text-red-600 font-semibold">Molla Printing & Packaging</p> | ||
</div> | ||
<div | ||
class="w-full max-w-6xl mx-auto bg-gradient-to-r from-transparent via-orange-800/40 to-transparent p-[1px]" | ||
/> | ||
</nav> | ||
<slot /> | ||
|
||
<div class="absolute bottom-0 w-full"> | ||
<p class="text-center text-gray-400"> | ||
💻Developed by <a href="https://github.com/prokawsar" target="_blank">ProKawsar</a | ||
>😎 | ||
</p> | ||
</div> | ||
</main> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<script lang="ts"> | ||
import { page } from '$app/stores' | ||
import Button from '$lib/elements/Button.svelte' | ||
import Input from '$lib/elements/Input.svelte' | ||
let email = '' | ||
</script> | ||
|
||
<svelte:head> | ||
<title>Login</title> | ||
</svelte:head> | ||
|
||
<section class="max-w-6xl mx-auto flex w-full max-h-[90%] flex-col gap-4 px-4 py-5"> | ||
<h1 class="text-xl text-center">Login</h1> | ||
<div class="w-full bg-gradient-to-r from-transparent via-slate-600/10 to-transparent p-[1px]" /> | ||
|
||
<div class="flex w-full flex-col gap-3 items-center"> | ||
<Input type="email" bind:value={email} classNames="!w-full" placeholder="Type your email" /> | ||
<Button text="Login with OTP" /> | ||
</div> | ||
</section> |