-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: 헤더 로그인 로직 분리 * feat: 랜딩 레이아웃 구현 * feat: 아이콘 컴포넌트 제작 * feat: 히어로 랜딩 구현 * refactor: 컴포넌트 구조 변경 * feat: 카드 컴포넌트 개발 * feat: 아이콘 섹션 일부 구현 * feat: 랜딩페이지 - 상세설명 레이아웃 섹션 구현 * feat: 랜딩페이지 하단 UI 레이아웃 구현 * feat: 애니메이션 적용 * feat: 랜딩 페이지 아이콘 섹션 일부 구현 * design: 아이콘 섹션 별 추가 * design: 푸터 디자인 수정 * fix: api 변경사항 적용 * fix: 누락된 페이지 복구 * fix: 아이콘 오류 해결 * fix: 아이콘 빌드 에러 수정 * chore: 도커 빌드 테스트 * fix: 아이콘 경로 수정 * fix: Feedback 0718 - 1,2,5,6,7 수정 --------- Co-authored-by: Kim Min-gyu <[email protected]> Co-authored-by: Kim Min-gyu <[email protected]>
- Loading branch information
1 parent
ad39852
commit afc6bfd
Showing
86 changed files
with
2,346 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
NEXT_PUBLIC_DOMAIN=http://localhost:3000 | ||
NEXT_PUBLIC_API_URL=https://dev-api.vook.app | ||
NEXT_PUBLIC_GOOGLE_LOGIN_URL=https://dev-api.vook.app/oauth2/authorization/google | ||
NEXT_PUBLIC_API_URL=https://dev-api.vook.app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
NEXT_PUBLIC_DOMAIN=https://vook.app | ||
NEXT_PUBLIC_API_URL=https://api.vook.app | ||
NEXT_PUBLIC_GOOGLE_LOGIN_URL=https://api.vook.app/oauth2/authorization/google | ||
NEXT_PUBLIC_GOOGLE_LOGIN_URL=https://api.vook.app/oauth2/authorization/google |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
NEXT_PUBLIC_DOMAIN=https://stag.vook.app | ||
NEXT_PUBLIC_API_URL=https://stag-api.vook.app | ||
NEXT_PUBLIC_GOOGLE_LOGIN_URL=https://stag-api.vook.app/oauth2/authorization/google | ||
NEXT_PUBLIC_GOOGLE_LOGIN_URL=https://stag-api.vook.app/oauth2/authorization/google |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import { style } from '@vanilla-extract/css' | ||
|
||
export const workspaceContainer = style({ | ||
display: 'flex', | ||
flexDirection: 'column', | ||
flex: 1, | ||
gap: 40, | ||
height: '100%', | ||
}) | ||
|
||
export const workspaceInnerContainer = style({ | ||
display: 'flex', | ||
justifyContent: 'center', | ||
alignItems: 'center', | ||
flex: 1, | ||
}) | ||
|
||
export const workspaceInnerAlignCenter = style({ | ||
display: 'flex', | ||
flexDirection: 'column', | ||
alignItems: 'center', | ||
gap: '24px', | ||
}) | ||
|
||
export const workspaceInnerAlignRow = style({ | ||
display: 'flex', | ||
alignSelf: 'start', | ||
flexWrap: 'wrap', | ||
gap: 20, | ||
}) | ||
export const workspaceHeader = style({ | ||
display: 'flex', | ||
justifyContent: 'space-between', | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import { PropsWithChildren } from 'react' | ||
import { userService, UserStatus } from '@vook-client/api' | ||
import { cookies, headers } from 'next/headers' | ||
import { redirect } from 'next/navigation' | ||
import { dehydrate, HydrationBoundary } from '@tanstack/react-query' | ||
|
||
import { getQueryClient } from '@/utils/react-query' | ||
|
||
const Layout = async ({ children }: PropsWithChildren) => { | ||
const cookieStore = cookies() | ||
const isAuthorization = headers().get('X-AuthConfirm') | ||
|
||
if (isAuthorization !== 'confirmed') { | ||
redirect('/login') | ||
} | ||
|
||
const access = cookieStore.get('access')?.value || '' | ||
const refresh = cookieStore.get('refresh')?.value || '' | ||
|
||
if (!access && !refresh) { | ||
redirect('/login') | ||
} | ||
|
||
const queryClient = getQueryClient() | ||
queryClient.setQueryData(['access'], access) | ||
queryClient.setQueryData(['refresh'], refresh) | ||
|
||
const user = await userService.userInfo(queryClient) | ||
|
||
if (user.result.status !== UserStatus.Registered) { | ||
redirect('/signup') | ||
} | ||
|
||
const dehydrateState = dehydrate(queryClient) | ||
|
||
return ( | ||
<HydrationBoundary state={dehydrateState}>{children}</HydrationBoundary> | ||
) | ||
} | ||
|
||
export default Layout |
Oops, something went wrong.