-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
322cc67
commit 26943fd
Showing
18 changed files
with
57 additions
and
77 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
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,6 +1,7 @@ | ||
.DS_Store | ||
node_modules | ||
.env | ||
.env.* | ||
*storybook.log | ||
.next | ||
|
||
|
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 |
---|---|---|
|
@@ -9,4 +9,6 @@ RUN npm i pm2 -g | |
|
||
COPY . . | ||
|
||
RUN npm run build:prod | ||
|
||
CMD ["npm", "run", "serve"] |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,5 @@ | ||
import { PropsWithChildren, Suspense } from 'react'; | ||
|
||
export default function Layout({ children }: Readonly<PropsWithChildren>) { | ||
return <Suspense fallback={<div></div>}>{children}</Suspense>; | ||
} |
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 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 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 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 |
---|---|---|
|
@@ -27,7 +27,6 @@ type Story = StoryObj<typeof meta>; | |
export const BeforeRegister: Story = { | ||
args: { | ||
title: 'LinkedIn 채용공고 알림', | ||
email: '[email protected]', | ||
tag: '채용', | ||
ChildIcon: <LinkedInIcon width={48} disabled={true} />, | ||
type: 'subscribe', | ||
|
@@ -39,7 +38,6 @@ export const BeforeRegister: Story = { | |
export const AfterRegister: Story = { | ||
args: { | ||
title: 'LinkedIn 채용공고 알림', | ||
email: '[email protected]', | ||
tag: '채용', | ||
ChildIcon: <LinkedInIcon width={48} />, | ||
type: 'subscribe', | ||
|
@@ -51,7 +49,6 @@ export const AfterRegister: Story = { | |
export const BeforeSpam: Story = { | ||
args: { | ||
title: 'LinkedIn 채용공고 알림', | ||
email: '[email protected]', | ||
tag: '채용', | ||
ChildIcon: <LinkedInIcon width={48} disabled={true} />, | ||
type: 'spam', | ||
|
@@ -63,7 +60,6 @@ export const BeforeSpam: Story = { | |
export const AfterSpam: Story = { | ||
args: { | ||
title: 'LinkedIn 채용공고 알림', | ||
email: '[email protected]', | ||
tag: '채용', | ||
ChildIcon: <LinkedInIcon width={48} disabled={false} />, | ||
type: 'spam', | ||
|
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
export const PROD = process.env.NODE_ENV === 'production'; | ||
|
||
export const BASE_URL = PROD | ||
? `${window.location.protocol}//${process.env.NEXT_PUBLIC_API_URL}` | ||
: 'http://localhost:3000'; | ||
export const BASE_URL = PROD ? `http://${process.env.NEXT_PUBLIC_API_URL}` : 'http://localhost:3000'; | ||
|
||
export const GOOGLE_AUTH_API_URL = `https://accounts.google.com/o/oauth2/v2/auth?client_id=${process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID}&response_type=code&redirect_uri=${BASE_URL}/${process.env.NEXT_PUBLIC_GOOGLE_REDIRECT_URI}&scope=https%3A//www.googleapis.com/auth/userinfo.profile&access_type=offline`; |