diff --git a/src/components/account/SessionButtons.tsx b/src/components/account/SessionButtons.tsx
new file mode 100644
index 0000000..3039087
--- /dev/null
+++ b/src/components/account/SessionButtons.tsx
@@ -0,0 +1,33 @@
+import Link from 'next/link';
+import Button from '@/components/common/button/Button';
+import { useSession } from 'next-auth/react';
+
+const SessionButtons = () => {
+ const { data: session }: any = useSession();
+
+ if (session) {
+ return (
+ <>
+
+
+
+
+
+
+ >
+ );
+ }
+ return (
+
+
+
+ );
+};
+
+export default SessionButtons;
diff --git a/src/components/common/button/Button.tsx b/src/components/common/button/Button.tsx
index 441bb24..add0278 100644
--- a/src/components/common/button/Button.tsx
+++ b/src/components/common/button/Button.tsx
@@ -1,25 +1,12 @@
import { FC, ReactNode } from 'react';
import { css } from '@emotion/react';
-import color from '@/styles/color';
-
-type Theme = 'green' | 'white'
+import { Theme, themeTable } from '@/styles/color';
interface ButtonProps {
children: ReactNode,
theme: Theme
}
-const themeTable = {
- green: {
- backgroundColor: color.darkGreen,
- color: color.offWhite,
- },
- white: {
- backgroundColor: color.offWhite,
- color: color.greenGray,
- },
-};
-
const Button: FC = ({ children, theme }) => (