Skip to content

Commit 690850e

Browse files
authored
Merge pull request #20 from enjoy-hack/fix/fsd
Fix/fsd
2 parents 762d717 + 0ebc2a0 commit 690850e

24 files changed

Lines changed: 194 additions & 177 deletions

package-lock.json

Lines changed: 98 additions & 85 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"prepare": "husky"
1515
},
1616
"dependencies": {
17-
"@tailwindcss/vite": "^4.1.10",
17+
"@tailwindcss/vite": "^4.1.12",
1818
"lucide-react": "^0.523.0",
1919
"react": "^19.1.0",
2020
"react-dom": "^19.1.0",
@@ -50,11 +50,10 @@
5050
"globals": "^16.0.0",
5151
"husky": "^9.1.7",
5252
"playwright": "^1.54.2",
53-
"postcss": "^8.5.6",
5453
"prettier": "^3.6.0",
5554
"prop-types": "^15.8.1",
5655
"storybook": "^9.1.2",
57-
"tailwindcss": "^4.1.10",
56+
"tailwindcss": "^4.1.12",
5857
"vite": "^6.3.5",
5958
"vitest": "^3.2.4"
6059
}

src/app/index.jsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ import {
55
useLocation,
66
Navigate,
77
} from 'react-router-dom';
8-
import Home from './pages/home';
9-
import TrackInfo from './pages/info';
10-
import NotFound from './pages/NotFound';
11-
import Search from './pages/Search';
12-
import Splash from './pages/splash';
13-
import Header from './widgets/navigation/Header';
14-
import Footer from './widgets/navigation/Footer';
15-
import Login from './pages/login';
16-
import MyPage from './pages/my';
17-
import UploadSection from './components/UploadSection';
8+
import Home from '../pages/home';
9+
import TrackInfo from '../pages/info';
10+
import NotFound from '../pages/NotFound';
11+
import Search from '../pages/Search';
12+
import Splash from '../pages/splash';
13+
import Header from '../widgets/navigation/Header';
14+
import Footer from '../widgets/navigation/Footer';
15+
import Login from '../pages/login';
16+
import MyPage from '../pages/my';
17+
import UploadSection from '../components/UploadSection';
1818

1919
function App() {
2020
return (
@@ -30,7 +30,7 @@ function AppContent() {
3030
const shouldHideHeaderFooter = hiddenRoutes.includes(location.pathname);
3131

3232
return (
33-
<div className="flex flex-col min-h-screen">
33+
<div className="min-h-screen bg-blue-primary">
3434
{!shouldHideHeaderFooter && <Header />}
3535
<Routes>
3636
<Route path="/" element={<Navigate to="/login" replace />} />

src/assets/background.svg

Lines changed: 5 additions & 0 deletions
Loading

src/components/Character.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ import MyTrack from '../assets/mytrack.svg?react';
44
function Character() {
55
return (
66
<div className="flex flex-col items-center gap-2">
7-
<Logo className="w-20 h-20 block" /> {/* ✅ block 추가 */}
7+
<Logo className="w-20 h-20 block" />
88
<MyTrack />
99
</div>
1010
);
11-
1211
}
1312

1413
export default Character;

src/components/CourseList.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import TrackHeader from './TrackHeader';
22
import CourseItem from './CourseItem';
3-
import useTrackStore from '../stores/useTrackStore';
3+
import useTrackStore from '../entities/course/model/useTrackStore';
44

55
// import { track1,track2,track3,track4,track5,track6,track7,track8 } from "../constants/mock";
66

src/components/MyInfo.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import InfoLabel from './InfoLabel';
22
import Chip from './Chip';
3-
import useUserStore from '../stores/useUserStore';
3+
import useUserStore from '../entities/user/model/useUserStore';
44

55
const MyInfo = () => {
66
const studentName = useUserStore((state) => state.studentName);

src/components/MySetTrack.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useState } from 'react';
2-
import useUserStore from '../stores/useUserStore';
2+
import useUserStore from '../entities/user/model/useUserStore';
33
import Button from './Button';
4-
import { postUserTrack } from '../services/userTrackService';
4+
import { postUserTrack } from '../features/track-manamgement/api/userTrackService';
55

66
const allTracks = [
77
'인공지능 시스템',

src/components/TrackIntroTop.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import TrackIcon from '../assets/logo-character.svg?react'; // 일러스트 svg
2-
import useUserStore from '../stores/useUserStore';
2+
import useUserStore from '../entities/user/model/useUserStore';
33

44
function TrackIntroTop() {
55
const studentName = useUserStore((state) => state.studentName);

src/components/UploadSection.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import TrackStatusLarge from './TrackStatusLarge';
33
import Chip from './Chip';
44
import Button from './Button';
55
import DeleteIcon from '../assets/delete.svg';
6-
import { uploadStudentExcel } from '../services/userDataService';
7-
import useTrackStore from '../stores/useTrackStore';
6+
import { uploadStudentExcel } from '../features/track-manamgement/api/userDataService';
7+
import useTrackStore from '../entities/course/model/useTrackStore';
88

99
const UploadSection = ({ onClose }) => {
1010
const fileInputRef = useRef(null);

0 commit comments

Comments
 (0)