Skip to content

Commit 1cfac75

Browse files
authored
Merge pull request #260 from FunD-StockProject/develop
�v2 배포 (키워드 제외)
2 parents bd306c0 + 29da481 commit 1cfac75

File tree

97 files changed

+2714
-1379
lines changed

Some content is hidden

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

97 files changed

+2714
-1379
lines changed

.github/workflows/static.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,21 @@ jobs:
3131
uses: actions/setup-node@v3
3232
with:
3333
node-version: '18.20.5'
34+
cache: 'npm'
3435

3536
- name: Install dependencies
3637
run: npm install
3738

3839
- name: Build the project
3940
run: npm run build
4041

41-
- name: Copy build output to public directory
42-
run: cp -a dist/. public/
43-
4442
- name: Setup Pages
4543
uses: actions/configure-pages@v5
4644

4745
- name: Upload artifact
4846
uses: actions/upload-pages-artifact@v3
4947
with:
50-
path: './public'
48+
path: './dist'
5149

5250
- name: Deploy to GitHub Pages
5351
id: deployment

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"useTabs": false,
66
"tabWidth": 2,
77
"trailingComma": "all",
8-
"printWidth": 160,
8+
"printWidth": 120,
99
"arrowParens": "always",
1010
"importOrder": [
1111
"^@ts/(.*)$",

index.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,14 @@
1010
<!-- <script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script> -->
1111

1212
<meta charset="UTF-8" />
13-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
1413
<meta name="description" content="Human Zipyo" />
15-
<meta name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width" />
14+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no" />
15+
<link
16+
rel="preload"
17+
href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css"
18+
as="style"
19+
/>
20+
<link href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css" rel="stylesheet" />
1621
<title>인간지표</title>
1722
</head>
1823
<body>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.0.0",
55
"type": "module",
66
"scripts": {
7-
"dev": "vite",
7+
"dev": "vite --host",
88
"build": "tsc -b && vite build",
99
"lint": "eslint .",
1010
"preview": "vite preview",

src/App.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
body {
2+
font-family: 'Pretendard', sans-serif;
3+
}

src/App.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
import { RouterProvider } from 'react-router-dom';
2+
import './App.css';
23
import { router } from './router';
34

5+
// App.css 파일을 import
6+
47
function App() {
5-
return <RouterProvider router={router} />;
8+
return (
9+
<>
10+
<RouterProvider router={router} />
11+
</>
12+
);
613
}
714

815
export default App;

src/assets/AddToHome.png

-3.42 KB
Binary file not shown.
-8.74 KB
Binary file not shown.

src/assets/HumanIndex.svg

Lines changed: 7 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)