-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
3 changed files
with
40 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import React, { ReactNode } from 'react'; | ||
|
||
const MainContainer = ({ children }: { children: ReactNode }) => { | ||
// | ||
return <div className=" max-w-[393px] mx-auto">{children}</div>; | ||
}; | ||
|
||
export default MainContainer; |
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,16 @@ | ||
import { useRouter } from 'next/router'; | ||
import React from 'react'; | ||
|
||
const SignInButton = () => { | ||
const router = useRouter(); | ||
// | ||
return ( | ||
<button | ||
className="w-[361px] h-12 px-3.5 rounded-lg border border-black justify-center items-center inline-flex text-black text-[15px] font-semibold font-pretendard leading-snug" | ||
onClick={() => router.push('/signin')}> | ||
로그인 | ||
</button> | ||
); | ||
}; | ||
|
||
export default SignInButton; |
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,16 @@ | ||
import { useRouter } from 'next/router'; | ||
import React from 'react'; | ||
|
||
const SignUpButton = () => { | ||
const router = useRouter(); | ||
// | ||
return ( | ||
<button | ||
className="w-[361px] h-12 px-3.5 bg-space-black rounded-lg justify-center items-center inline-flex text-white text-[15px] font-semibold font-pretendard leading-snug" | ||
onClick={() => router.push('/signup')}> | ||
회원가입 | ||
</button> | ||
); | ||
}; | ||
|
||
export default SignUpButton; |