Skip to content

Commit b92ac67

Browse files
authored
Merge pull request #4 from CS3219-AY2526Sem1/template-ui
Create UI templates from Figma
2 parents 22d145f + cb2999c commit b92ac67

27 files changed

+1654
-117
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
jobs:
88
check-lint:
99
runs-on: ubuntu-latest
10+
11+
defaults:
12+
run:
13+
working-directory: frontend
14+
1015
steps:
1116
- uses: actions/checkout@v4
1217

frontend/components.json

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

frontend/next.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import type { NextConfig } from "next";
22

33
const nextConfig: NextConfig = {
44
/* config options here */
5+
turbopack: {
6+
root: __dirname,
7+
},
58
};
69

710
export default nextConfig;

0 commit comments

Comments
 (0)