Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…p3/Team8_FE into Weekly
  • Loading branch information
Dobbymin committed Nov 15, 2024
2 parents 64963f5 + 8a3ac6c commit 5e158af
Show file tree
Hide file tree
Showing 159 changed files with 1,970 additions and 1,163 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
### ✔️ Slack
[https://join.slack.com/t/sinitto/shared_invite](https://join.slack.com/t/sinitto/shared_invite/zt-2uqws45gg-bsPq8cuH2iQV6Jk1Y3Zglw)

### ✔️ Backend Repository
[https://github.com/kakao-tech-campus-2nd-step3/Team8_BE](https://github.com/kakao-tech-campus-2nd-step3/Team8_BE)

## ✨ Local 환경 실행 방법
> project를 local 환경에 clone 합니다.
Expand Down Expand Up @@ -439,7 +442,7 @@ pnpm run dev

> **로그인**
<img width="194" alt="image-1" src="https://github.com/user-attachments/assets/a1c1c560-8ad4-4d1b-88a8-50a4dcedfc87">
<img width="194" alt="image-1" src="https://github.com/user-attachments/assets/fb221f00-c4e2-41be-a004-9297e45b1503">

’카카오톡 로그인’ 버튼을 눌러 로그인을 진행합니다. 이전에 로그인을 한 적이 있을
경우 바로 로그인이 완료되며, 처음 이용할 경우 회원가입 창으로 이동하게 됩니다.
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<link rel="preconnect" href="https://sinitto.site" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="apple-touch-icon"
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"react-datepicker": "^7.4.0",
"react-dom": "^18.3.1",
"react-hook-form": "^7.53.0",
"react-loading-skeleton": "^3.5.0",
"react-router-dom": "^6.26.1",
"swiper": "^11.1.14"
},
Expand All @@ -34,7 +35,8 @@
"@babel/preset-env": "^7.25.4",
"@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "7.24.7",
"@locator/babel-jsx": "^0.4.3",
"@prerenderer/renderer-puppeteer": "^1.2.4",
"@prerenderer/rollup-plugin": "^0.3.12",
"@testing-library/jest-dom": "6.4.8",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/jest": "29.5.12",
Expand Down
1,420 changes: 970 additions & 450 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type Props = {

const ProtectedRoute = ({ requiresAuth, sinittoOnly, guardOnly }: Props) => {
const accessToken = authStorage.accessToken.get();
const isSinitto = authStorage.isSinitto.get() === true;
const isSinitto = authStorage.isSinitto.get() === 'true';

if (requiresAuth && !accessToken) {
return <Navigate to={RouterPath.ROOT} />;
Expand Down
Loading

0 comments on commit 5e158af

Please sign in to comment.