Skip to content

Commit 3fb1992

Browse files
committed
initial commit
Signed-off-by: ladianchad <qhrejddlvltm@gmail.com>
0 parents  commit 3fb1992

File tree

15 files changed

+1687
-0
lines changed

15 files changed

+1687
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main # main 브랜치에 푸시될 때마다 실행됩니다.
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
steps:
14+
- name: Checkout the repository
15+
uses: actions/checkout@v3
16+
17+
- name: Set up Node.js
18+
uses: actions/setup-node@v3
19+
with:
20+
node-version: '18' # Node.js 버전 설정
21+
22+
- name: Install yarn
23+
run: |
24+
npm install --global yarn
25+
26+
- name: Install dependencies
27+
run: |
28+
yarn install
29+
30+
- name: Build the project
31+
run: |
32+
yarn run build
33+
34+
35+
- name: Deploy to GitHub Pages
36+
uses: peaceiris/actions-gh-pages@v3
37+
with:
38+
github_token: ${{ secrets.GITHUB_TOKEN }}
39+
publish_branch: doc
40+

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.idea
2+
.vscode
3+
**/node_modules
4+
**/build
5+
**/dist

index.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<link rel="icon" type="image/x-icon" href="/favicon.ico"/>
7+
<title>modern robotics</title>
8+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DT82RSKK0Z"></script>
9+
<script>
10+
window.dataLayer = window.dataLayer || [];
11+
12+
function gtag() {
13+
dataLayer.push(arguments);
14+
}
15+
16+
gtag('js', new Date());
17+
gtag('config', 'G-DT82RSKK0Z');
18+
</script>
19+
</head>
20+
<body class="w-dvw h-dvh">
21+
<div id="root" class="w-full h-full min-w-[300px] flex flex-col overflow-y-auto relative"></div>
22+
<script type="module" src="/src/index.tsx"></script>
23+
</body>
24+
</html>

package.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"name": "ladinachad",
3+
"version": "1.0.0",
4+
"description": "robotics study pages",
5+
"main": "src/App.tsx",
6+
"repository": "git@github.com:robotics-study/moden_robotics.git",
7+
"author": "ladianchad <qhrejddlvltm@gmail.com>",
8+
"license": "MIT",
9+
"homepage": "https://ladianchad.github.io/",
10+
"scripts": {
11+
"dev": "vite",
12+
"build": "vite build",
13+
"preview": "vite preview"
14+
},
15+
"dependencies": {
16+
"@babylonjs/core": "^7.44.0",
17+
"@babylonjs/gui": "^7.44.0",
18+
"@babylonjs/loaders": "^7.44.0",
19+
"@babylonjs/materials": "^7.44.0",
20+
"@types/react": "^18.0.33",
21+
"@types/react-dom": "^18.0.11",
22+
"axios": "^1.7.9",
23+
"babylonjs-loaders": "^7.44.0",
24+
"cannon": "^0.6.2",
25+
"konva": "^9.3.18",
26+
"prop-types": "^15.8.1",
27+
"react": "^18.2.0",
28+
"react-babylonjs": "^3.2.2",
29+
"react-dom": "^18.2.0",
30+
"react-katex": "^3.0.1",
31+
"react-konva": "^18.2.10",
32+
"react-router-dom": "^6.28.1",
33+
"typescript": "^5.7.2"
34+
},
35+
"devDependencies": {
36+
"@types/cannon": "^0.1.13",
37+
"@types/react-katex": "^3.0.4",
38+
"@types/webpack-env": "^1.18.5",
39+
"autoprefixer": "^10.4.20",
40+
"clsx": "^2.1.1",
41+
"fs": "^0.0.1-security",
42+
"postcss": "^8.4.49",
43+
"tailwind-merge": "^2.5.5",
44+
"tailwindcss": "^3.4.16",
45+
"ts-node": "^10.9.2",
46+
"vite": "^6.0.3"
47+
}
48+
}

postcss.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
plugins: {
3+
tailwindcss: {},
4+
autoprefixer: {},
5+
},
6+
}

public/favicon.ico

264 KB
Binary file not shown.

src/App.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import Home from "./pages/home/Home";
2+
const App = () => {
3+
return <BrowserRouter>
4+
<Routes>
5+
<Route path={"/"} element={<Home/>}></Route>
6+
</Routes>
7+
</BrowserRouter>
8+
}
9+
10+
export default App

src/index.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;

src/index.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import React from 'react';
2+
import ReactDOM from 'react-dom/client';
3+
import App from './App';
4+
import './index.css';
5+
6+
const root = ReactDOM.createRoot(document.getElementById('root')!);
7+
root.render(<App />);

src/pages/home/Home.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const Home = () => {
2+
return <div className="divide-y">
3+
<h1>Robotics study</h1>
4+
<a href={"/modern_robotics"}>
5+
modern robotics
6+
</a>
7+
</div>
8+
}
9+
10+
11+
export default Home

0 commit comments

Comments
 (0)