diff --git a/README.md b/README.md index 89d5639..224d06e 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,2 @@ This is a task project for the inductions to SWD Nucleus Tech Team in BITS Pilani, Hyderabad. The task is to a create a vendor/user payment system where user scans a qr code and transfers money to Vendor. User and Vendor signup/login system also needs to be implemented. - -(Made using Sveltekit, Supabase) - -To do- - -1. RLS in supabase for restricting access to tables -2. Make a separate vendorsProfiles(ones who have confirmed their mail and are Vendors) table and pass data from auth.Users table to it on entry(using functions and triggers) -3. Protect vendor/user routes in hook.server.ts -4. Redo Styles -5. Add modal for showing successfull transaction diff --git a/src/app.css b/src/app.css index b5c61c9..40b37ce 100644 --- a/src/app.css +++ b/src/app.css @@ -1,3 +1,13 @@ @tailwind base; @tailwind components; @tailwind utilities; +@layer base { + body { + font-family: 'Source Code Pro', monospace; + } +} +@font-face { + font-family: 'Source Code Pro', monospace; + src: url(/static/sourcecodepro-semibold-webfont.woff) format('woff'), + url(/static/sourcecodepro-semibold-webfont.woff2) format('woff2'); +} diff --git a/src/routes/payto/[id]/+page.svelte b/src/routes/payto/[id]/+page.svelte index ff7c8b4..9178053 100644 --- a/src/routes/payto/[id]/+page.svelte +++ b/src/routes/payto/[id]/+page.svelte @@ -38,7 +38,6 @@ type="text" name="amount" id="amount" - required placeholder="Amount" class="input input-bordered w-full" /> diff --git a/src/routes/register/vendor/+page.svelte b/src/routes/register/vendor/+page.svelte index c4e0d1d..258abab 100644 --- a/src/routes/register/vendor/+page.svelte +++ b/src/routes/register/vendor/+page.svelte @@ -43,7 +43,6 @@ name="username" id="username" placeholder="Username" - required class="input input-bordered w-full" /> @@ -52,7 +51,6 @@ name="email" id="email" placeholder="Email" - required class="input input-bordered w-full" /> @@ -61,7 +59,6 @@ name="password" id="password" placeholder="Password" - required class="input input-bordered w-full max-w-xs" /> diff --git a/static/sourcecodepro-semibold-webfont.woff b/static/sourcecodepro-semibold-webfont.woff new file mode 100644 index 0000000..e87e8dc Binary files /dev/null and b/static/sourcecodepro-semibold-webfont.woff differ diff --git a/static/sourcecodepro-semibold-webfont.woff2 b/static/sourcecodepro-semibold-webfont.woff2 new file mode 100644 index 0000000..b070e60 Binary files /dev/null and b/static/sourcecodepro-semibold-webfont.woff2 differ