Skip to content

Commit

Permalink
added custom fonts and retrying runtime:edge as last time it caused d…
Browse files Browse the repository at this point in the history
…eployment errors, maybe due to usage of supabase webhooks(not sure)
  • Loading branch information
NamitBhutani committed May 14, 2023
1 parent 475b3b7 commit 7e706d0
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 14 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
10 changes: 10 additions & 0 deletions src/app.css
Original file line number Diff line number Diff line change
@@ -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');
}
1 change: 0 additions & 1 deletion src/routes/payto/[id]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
type="text"
name="amount"
id="amount"
required
placeholder="Amount"
class="input input-bordered w-full"
/>
Expand Down
3 changes: 0 additions & 3 deletions src/routes/register/vendor/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
name="username"
id="username"
placeholder="Username"
required
class="input input-bordered w-full"
/>

Expand All @@ -52,7 +51,6 @@
name="email"
id="email"
placeholder="Email"
required
class="input input-bordered w-full"
/>

Expand All @@ -61,7 +59,6 @@
name="password"
id="password"
placeholder="Password"
required
class="input input-bordered w-full max-w-xs"
/>

Expand Down
Binary file added static/sourcecodepro-semibold-webfont.woff
Binary file not shown.
Binary file added static/sourcecodepro-semibold-webfont.woff2
Binary file not shown.

1 comment on commit 7e706d0

@vercel
Copy link

@vercel vercel bot commented on 7e706d0 May 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

e-coupons-swd – ./

e-coupons-swd-intellomaniac.vercel.app
e-coupons-swd-git-main-intellomaniac.vercel.app
ecoupons.vercel.app

Please sign in to comment.