Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the admin page #7

Merged
merged 17 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
2a2b3de
Refactor: grouped send and verify mail route into verification
joywin2003 Sep 13, 2024
5167c4a
Fix: added prisma to ensure atomicity in verify email
joywin2003 Sep 13, 2024
d4f9d82
added middleware for admin page
joywin2003 Sep 13, 2024
2302581
Merge branch 'main' of github.com:TEDx-SJEC/website into newform
joywin2003 Sep 13, 2024
972360a
Feat: add function to save coupon code in database
Vyshnav001 Sep 13, 2024
4e9fd66
ui lib
Vyshnav001 Sep 13, 2024
772018d
Feat: create admin page with session validation and coupon component
Vyshnav001 Sep 13, 2024
60452c5
Feat: add coupon code generation and storage component
Vyshnav001 Sep 13, 2024
8be0dc1
Feat: integrate React Query with session provider for improved data f…
Vyshnav001 Sep 13, 2024
13657f7
Feat: add reusable button component with variant and size options
Vyshnav001 Sep 13, 2024
eb90f9e
Feat: add reusable card component with header, footer, and content se…
Vyshnav001 Sep 13, 2024
696d997
Feat: add reusable input component with customizable props and styling
Vyshnav001 Sep 13, 2024
03302f6
Feat: add reusable label component with customizable variants and sty…
Vyshnav001 Sep 13, 2024
1c9102e
Feat: add reusable tabs component with customizable triggers and content
Vyshnav001 Sep 13, 2024
0c53025
Feat: add helper functions to generate and create coupon codes
Vyshnav001 Sep 13, 2024
d6c7372
Feat: add utility function for merging class names with Tailwind CSS
Vyshnav001 Sep 13, 2024
6fc8c6f
Merge branch 'newform' of https://github.com/TEDx-SJEC/website into a…
Vyshnav001 Sep 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "src/app/globals.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
}
}
Loading
Loading