Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
6aaa597
refactor: entities PostItem ui 분리
ljwoon1211 Apr 28, 2025
a29e9a1
refactor: shared/ui table 분리
ljwoon1211 Apr 28, 2025
9404dd5
refactor: shared/ui card 분리
ljwoon1211 Apr 28, 2025
a8849f2
refactor: shared/ui select 분리
ljwoon1211 Apr 28, 2025
313ad38
refactor: shared/ui dialog 분리
ljwoon1211 Apr 28, 2025
db28c6f
refactor: src/features/post-management/model/post-filter-store.ts 분리 …
ljwoon1211 Apr 29, 2025
e1a8b90
refactor: features/user-management/model/user-modal-store.ts 분리
ljwoon1211 Apr 29, 2025
a1ad2c8
refactor: features/post-management ui/PostList.tsx api 분리
ljwoon1211 Apr 29, 2025
d238c86
refactor: /features/post-management add edit 모달 분리
ljwoon1211 Apr 30, 2025
2acb543
refactor: postList 수정
ljwoon1211 May 1, 2025
2598b9f
fix: postList 렌더링 버그 해결
ljwoon1211 May 1, 2025
d69d74b
refactor: react-query 도입
ljwoon1211 May 1, 2025
0a6d683
refactor: features/comment-management 분리
ljwoon1211 May 1, 2025
67df223
refactor: features/comment-management add edit 분리
ljwoon1211 May 1, 2025
e934a3e
fix: 댓글 좋아요
ljwoon1211 May 1, 2025
483b8d4
refactor: features/user-management UserDeatilDailog 분리
ljwoon1211 May 1, 2025
777d594
style : 안쓰는 변수 삭
ljwoon1211 May 1, 2025
a625738
refactor: 사용안하는 변수 삭제
ljwoon1211 May 1, 2025
dba2153
fix: 댓글 업로드 시 본문 안보이는거 수정
ljwoon1211 May 1, 2025
a13c122
chore: 배포 스크립트 추가
ljwoon1211 May 1, 2025
74a39a1
refactor: fsd에 맞게 수정
ljwoon1211 May 1, 2025
935ab08
fix: user modal
ljwoon1211 May 1, 2025
3466eb6
remove은: 중복 코드 삭제
ljwoon1211 May 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<title>Single Page Apps for GitHub Pages</title>
<script type="text/javascript">
// Single Page Apps for GitHub Pages
// https://github.com/rafrex/spa-github-pages
// Copyright (c) 2016 Rafael Pedicini, licensed under the MIT License
// ---------------------------------------------- ------------------------
// This script takes the current url and converts the path and query
// string into just a query string, and then redirects the browser
// to the new url with only a query string and hash fragment,
// e.g. http://www.foo.tld/one/two?a=b& c=d#qwe, becomes
// http://www.foo.tld/?p=/one/two& q=a=b~and~c=d#qwe
// Note: this 404.html file must be at least 512 bytes for it to work
// with Internet Explorer (it is currently > 512 bytes)

// If you're creating a Project Pages site and NOT using a custom domain,
// then set segmentCount to 1 (enterprise users may need to set it to > 1).
// This way the code will only replace the route part of the path, and not
// the real directory in which the app resides, for example:
// https://username.github.io/repo-name/one/two? a=b&c=d#qwe becomes
// https://username.github.io/repo-name/? p=/one/two&q=a=b~and~c=d#qwe
// Otherwise, leave segmentCount as 0.
var segmentCount = 1;

var l = window.location;
l.replace(
l.protocol + '//' + l.hostname + (l.port ? ':' + l.port : '') +
l.pathname.split('/').slice(0, 1 + segmentCount).join('/') + '/?p=/' +
l.pathname.slice(1).split('/').slice(segmentCount).join('/').replace(/&/g, '~and~') +
(l.search ? '&q=' + l.search.slice(1).replace(/&/g, '~and~') : '') +
l.hash
);

</script>
</head>

<body>
</body>

</html>
58 changes: 46 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,48 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Chapter 2-3. 관심사 분리와 폴더구조</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>

<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Chapter 2-3. 관심사 분리와 폴더구조</title>
<script src="https://cdn.tailwindcss.com"></script>
<!-- Start Single Page Apps for GitHub Pages -->
<script type="text/javascript">
// Single Page Apps for GitHub Pages
// https://github.com/rafrex/spa-github-pages
// Copyright (c) 2016 Rafael Pedicini, licensed under the MIT License
// ----------------------------------------------------------------------
// This script checks to see if a redirect is present in the query string
// and converts it back into the correct url and adds it to the
// browser's history using window.history.replaceState(...),
// which won't cause the browser to attempt to load the new url.
// When the single page app is loaded further down in this file,
// the correct url will be waiting in the browser's history for
// the single page app to route accordingly.
(function (l) {
if (l.search) {
var q = {};
l.search.slice(1).split('&').forEach(function (v) {
var a = v.split('=');
q[a[0]] = a.slice(1).join('=').replace(/~and~/g, '&');
});
if (q.p !== undefined) {
window.history.replaceState(null, null,
l.pathname.slice(0, -1) + (q.p || '') +
(q.q ? ('?' + q.q) : '') +
l.hash
);
}
}
}(window.location))
</script>
<!-- End Single Page Apps for GitHub Pages -->
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>

</html>
14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,20 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"build": "tsc -b && vite build --mode production",
"lint": "eslint .",
"preview": "vite preview",
"test": "vitest",
"coverage": "vitest run --coverage"
"coverage": "vitest run --coverage",
"deploy": "gh-pages -d dist"
},
"dependencies": {
"@tanstack/react-query": "^5.74.11",
"@tanstack/react-query-devtools": "^5.74.11",
"gh-pages": "^6.3.0",
"react": "^19.1.0",
"react-dom": "^19.1.0"
"react-dom": "^19.1.0",
"zustand": "^5.0.3"
},
"devDependencies": {
"@eslint/js": "^9.25.1",
Expand Down Expand Up @@ -41,5 +46,6 @@
"vite": "^6.3.3",
"vitest": "^3.1.2",
"vitest-browser-react": "^0.1.1"
}
},
"homepage": "https://ljwoon1211.github.io/front_5th_chapter2-3/"
}
Loading