Skip to content

Commit c9a8dce

Browse files
refactor: ui revamp (#1)
* refactor: ui revamp * fix: linting issues * feat: teams-page * refactor: ui issues * refactor: minor ui tweaks * refactor: minor ui changes * refactor: minor ui changes * refactor: adjusted the homepage * fix: button href url --------- Co-authored-by: rahulbarmann <[email protected]>
1 parent 5353881 commit c9a8dce

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+5598
-3658
lines changed

.github/workflows/lint.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Linting and Formatting
2+
on:
3+
push:
4+
branches:
5+
- "**"
6+
pull_request:
7+
branches:
8+
- "**"
9+
jobs:
10+
Continuous-Integration:
11+
name: Performs linting, formatting on the application
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout the Repository
15+
uses: actions/checkout@v3
16+
- name: Setup pnpm
17+
run: npm install -g pnpm
18+
- name: Install Dependencies
19+
run: pnpm install
20+
- name: Run linting check
21+
run: pnpm run lint:check
22+
- name: Check formatting
23+
run: pnpm run format:check

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
.github

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"trailingComma": "all",
3+
"tabWidth": 4,
4+
"semi": true,
5+
"singleQuote": true
6+
}

components.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "new-york",
4+
"rsc": true,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "tailwind.config.ts",
8+
"css": "src/app/globals.css",
9+
"baseColor": "zinc",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"aliases": {
14+
"components": "@/components",
15+
"utils": "@/lib/utils",
16+
"ui": "@/components/ui",
17+
"lib": "@/lib",
18+
"hooks": "@/hooks"
19+
},
20+
"iconLibrary": "lucide"
21+
}

next.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import type { NextConfig } from "next";
1+
import type { NextConfig } from 'next';
22

33
const nextConfig: NextConfig = {
4-
/* config options here */
4+
/* config options here */
55
};
66

77
export default nextConfig;

package.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,29 @@
66
"dev": "next dev",
77
"build": "next build",
88
"start": "next start",
9-
"lint": "next lint",
9+
"lint:check": "next lint",
10+
"format:fix": "prettier --write \"**/*.{ts,tsx,json}\"",
11+
"format:check": "prettier --check \"**/*.{ts,tsx,json}\"",
1012
"postinstall": "prisma generate"
1113
},
1214
"dependencies": {
1315
"@prisma/client": "6.2.1",
14-
"lucide-react": "^0.471.0",
16+
"@radix-ui/react-dropdown-menu": "^2.1.6",
17+
"@radix-ui/react-slot": "^1.1.2",
18+
"class-variance-authority": "^0.7.1",
19+
"clsx": "^2.1.1",
20+
"lucide-react": "^0.471.2",
1521
"next": "15.1.4",
22+
"prettier": "^3.5.1",
23+
"prisma": "6.2.1",
1624
"react": "^19.0.0",
1725
"react-dom": "^19.0.0",
1826
"react-hot-toast": "^2.5.1",
27+
"react-icons": "^5.4.0",
28+
"tailwind-merge": "^3.0.1",
29+
"tailwindcss-animate": "^1.0.7",
1930
"treenteq": "file:",
20-
"zod": "^3.24.1",
21-
"prisma": "6.2.1"
31+
"zod": "^3.24.1"
2232
},
2333
"devDependencies": {
2434
"@eslint/eslintrc": "^3",

0 commit comments

Comments
 (0)