Skip to content

Commit

Permalink
fix: conflict error test
Browse files Browse the repository at this point in the history
  • Loading branch information
eun-hak committed May 13, 2024
2 parents c3e3206 + 6b51e2e commit 0499e57
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/shared/MainContainer.tsx
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;
16 changes: 16 additions & 0 deletions src/components/shared/sign/SignInButton.tsx
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;
16 changes: 16 additions & 0 deletions src/components/shared/sign/SignUpButton.tsx
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;

0 comments on commit 0499e57

Please sign in to comment.