-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[17팀 정소윤][Chapter 1-1] 프레임워크 없이 SPA 만들기 #9
Commits on Sep 22, 2024
-
feat: templates html 확장자 js로 변경
- error.html -> Error.js - login.html -> Login.js - main.html -> Home.js - profile.html -> Profile.js
Configuration menu - View commit details
-
Copy full SHA for b509516 - Browse repository at this point
Copy the full SHA b509516View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a87400 - Browse repository at this point
Copy the full SHA 5a87400View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2c7e2f - Browse repository at this point
Copy the full SHA c2c7e2fView commit details -
- navigate 파라미터 event 대신 target path로 전달받을 수 있도록 수정 - a 태그 click event 등록 시 event.preventDefault 호출
Configuration menu - View commit details
-
Copy full SHA for 4756577 - Browse repository at this point
Copy the full SHA 4756577View commit details -
Configuration menu - View commit details
-
Copy full SHA for 576194e - Browse repository at this point
Copy the full SHA 576194eView commit details -
feat: main.js protectedRoute 추가
- '/', '/profile' 접근 시 user 없으면 '/login'으로 이동
Configuration menu - View commit details
-
Copy full SHA for ac5c0a8 - Browse repository at this point
Copy the full SHA ac5c0a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b22171b - Browse repository at this point
Copy the full SHA b22171bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a6d993 - Browse repository at this point
Copy the full SHA 0a6d993View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61ec7a3 - Browse repository at this point
Copy the full SHA 61ec7a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dd5567 - Browse repository at this point
Copy the full SHA 2dd5567View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b17dbd - Browse repository at this point
Copy the full SHA 2b17dbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5561bf - Browse repository at this point
Copy the full SHA a5561bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 117b9c8 - Browse repository at this point
Copy the full SHA 117b9c8View commit details -
refactor: main.js 내 신규 생성 모듈 import
- useNavigate, useAuth, useProfile
Configuration menu - View commit details
-
Copy full SHA for b54575c - Browse repository at this point
Copy the full SHA b54575cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01fdd6e - Browse repository at this point
Copy the full SHA 01fdd6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8ef1e5 - Browse repository at this point
Copy the full SHA e8ef1e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7eb087f - Browse repository at this point
Copy the full SHA 7eb087fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4debd96 - Browse repository at this point
Copy the full SHA 4debd96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c05461 - Browse repository at this point
Copy the full SHA 0c05461View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca02e35 - Browse repository at this point
Copy the full SHA ca02e35View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3cd34e - Browse repository at this point
Copy the full SHA a3cd34eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed8e0e4 - Browse repository at this point
Copy the full SHA ed8e0e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c7f3b1 - Browse repository at this point
Copy the full SHA 9c7f3b1View commit details -
refactor: a tag eventListener addEvent 함수 안으로 위치 이동
- 기존 render 내부 => 변경 addEvent 내부
Configuration menu - View commit details
-
Copy full SHA for 92570ab - Browse repository at this point
Copy the full SHA 92570abView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac4d7b2 - Browse repository at this point
Copy the full SHA ac4d7b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f80d2c - Browse repository at this point
Copy the full SHA 5f80d2cView commit details -
refactor: Header, Footer 컴포넌트 구조로 변경
- 페이지 컴포넌트 렌더링 root -> main 기준으로 수정 - 페이지별 header/footer 조건부 렌더링 - 기존 HomePage, ProfilePage 내 Header/Footer 태그 삭제
Configuration menu - View commit details
-
Copy full SHA for e0622c4 - Browse repository at this point
Copy the full SHA e0622c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8353655 - Browse repository at this point
Copy the full SHA 8353655View commit details -
Configuration menu - View commit details
-
Copy full SHA for 435ba8c - Browse repository at this point
Copy the full SHA 435ba8cView commit details
Commits on Sep 23, 2024
-
refactor: pages render 내부 호출 함수 외부로 호출 위치 변경
- pages/Login.js, pages/Profile.js
Configuration menu - View commit details
-
Copy full SHA for 4f1d4da - Browse repository at this point
Copy the full SHA 4f1d4daView commit details -
fix: '/' 로그인 유무와 상관없이 접근 가능하도록 수정, 네비게이션 분기처리
- 기존: 로그인 시에만 접근 가능 - 변경: 비로그인도 '/' 접근 가능. 네비게이션 홈|로그인 보이도록 분기처리 추가
Configuration menu - View commit details
-
Copy full SHA for 94b36d2 - Browse repository at this point
Copy the full SHA 94b36d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8129a84 - Browse repository at this point
Copy the full SHA 8129a84View commit details -
fix: src/pages 컴포넌트명 -Page로 수정
- 기존 templates 하단 파일명 소문자로 수정 - 기존 pages 하단 파일명 -Page로 수정
Configuration menu - View commit details
-
Copy full SHA for 948cb23 - Browse repository at this point
Copy the full SHA 948cb23View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb35c60 - Browse repository at this point
Copy the full SHA eb35c60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73a00d8 - Browse repository at this point
Copy the full SHA 73a00d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8fc056 - Browse repository at this point
Copy the full SHA b8fc056View commit details
Commits on Sep 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d8d851b - Browse repository at this point
Copy the full SHA d8d851bView commit details -
refactor: Header 메뉴 return 구조 수정
- 기존: 하드코딩 - 변경: menus로 리스트 생성 후 map으로 관리
Configuration menu - View commit details
-
Copy full SHA for bd25dca - Browse repository at this point
Copy the full SHA bd25dcaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b835c2 - Browse repository at this point
Copy the full SHA 2b835c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 131412f - Browse repository at this point
Copy the full SHA 131412fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ce0458 - Browse repository at this point
Copy the full SHA 7ce0458View commit details -
Configuration menu - View commit details
-
Copy full SHA for a31d266 - Browse repository at this point
Copy the full SHA a31d266View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71d396f - Browse repository at this point
Copy the full SHA 71d396fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7aed1b0 - Browse repository at this point
Copy the full SHA 7aed1b0View commit details