Skip to content

Commit 2d96f32

Browse files
committed
feat: add initial project setup with Tailwind CSS, Next.js, and custom components
1 parent a0ae9d9 commit 2d96f32

24 files changed

+432
-100
lines changed

apps/manager/.gitignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
12+
13+
# testing
14+
/coverage
15+
16+
# next.js
17+
/.next/
18+
/out/
19+
20+
# production
21+
/build
22+
23+
# misc
24+
.DS_Store
25+
*.pem
26+
27+
# debug
28+
npm-debug.log*
29+
yarn-debug.log*
30+
yarn-error.log*
31+
.pnpm-debug.log*
32+
33+
# env files (can opt-in for committing if needed)
34+
.env*
35+
36+
# vercel
37+
.vercel
38+
39+
# typescript
40+
*.tsbuildinfo
41+
next-env.d.ts

apps/manager/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## `@hcc/manager`

apps/manager/next.config.ts

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import type { NextConfig } from 'next';
2+
3+
const nextConfig: NextConfig = {
4+
images: {
5+
formats: ['image/avif', 'image/webp'],
6+
remotePatterns: [
7+
{
8+
protocol: 'https',
9+
hostname: 'hufscheer-server.s3.ap-northeast-2.amazonaws.com',
10+
},
11+
{
12+
protocol: 'https',
13+
hostname: 'hufscheer-images.s3.ap-northeast-2.amazonaws.com',
14+
},
15+
{
16+
protocol: 'https',
17+
hostname: 'images.hufscheer.com',
18+
},
19+
],
20+
},
21+
async rewrites() {
22+
return [
23+
{
24+
source: '/api/:path*',
25+
destination: 'https://api.hufscheer.com/:path*',
26+
},
27+
];
28+
},
29+
};
30+
31+
export default nextConfig;

apps/manager/package.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"name": "manager",
3+
"version": "0.0.1",
4+
"private": true,
5+
"scripts": {
6+
"dev": "next dev --turbopack --port 11113 --hostname 0.0.0.0",
7+
"build": "next build",
8+
"start": "next start",
9+
"lint": "biome lint .",
10+
"format": "biome format --write ."
11+
},
12+
"lint-staged": {
13+
"*.{js,jsx,ts,tsx}": [
14+
"biome lint --fix",
15+
"biome format --write"
16+
]
17+
},
18+
"dependencies": {
19+
"@bprogress/next": "^3.2.12",
20+
"@hcc/api-base": "workspace:*",
21+
"@hcc/icons": "workspace:*",
22+
"@vercel/analytics": "^1.5.0",
23+
"next": "^15.4.6",
24+
"react": "^19.1.1",
25+
"react-dom": "^19.1.1"
26+
},
27+
"devDependencies": {
28+
"@hcc/typescript-config": "workspace:*",
29+
"@tailwindcss/postcss": "^4.1.11",
30+
"@types/node": "^22.17.0",
31+
"@types/react": "^19.1.9",
32+
"@types/react-dom": "^19.1.7",
33+
"tailwindcss": "^4.1.11",
34+
"typescript": "^5.9.2"
35+
}
36+
}

apps/manager/postcss.config.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const config = {
2+
plugins: ["@tailwindcss/postcss"],
3+
};
4+
5+
export default config;
Binary file not shown.

apps/manager/src/app/_fonts/index.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import localFont from 'next/font/local';
2+
3+
export const Pretendard = localFont({
4+
src: './PretendardVariable.woff2',
5+
display: 'swap',
6+
weight: '45 920',
7+
preload: true,
8+
});

apps/manager/src/app/apple-icon.png

53.2 KB
Loading

apps/manager/src/app/favicon.ico

263 KB
Binary file not shown.

apps/manager/src/app/icon.png

53.2 KB
Loading

0 commit comments

Comments
 (0)