diff --git a/frontend/src/components/Header.tsx b/frontend/src/components/Header.tsx index 13d595e..5e10e4c 100644 --- a/frontend/src/components/Header.tsx +++ b/frontend/src/components/Header.tsx @@ -58,7 +58,7 @@ export default function Header() { function logout() { axios.get(`${baseURL}/api/auth/logout`).then((res) => { - console.log(res); + // console.log(res); if (res.data.statusCode === 200) { localStorage.clear(); setLogin(false); diff --git a/frontend/src/components/atoms/buttons/LargeButton.tsx b/frontend/src/components/atoms/buttons/LargeButton.tsx index 60272aa..ccf685c 100644 --- a/frontend/src/components/atoms/buttons/LargeButton.tsx +++ b/frontend/src/components/atoms/buttons/LargeButton.tsx @@ -2,8 +2,27 @@ import styled from "@emotion/styled"; interface Props { label: string; + type?: string; + onClick: () => void; } +const Div = styled.div` + .half { + width: 47vw; + } + + .red { + background-color: #ef7474; + width: 47vw; + &:hover { + background-color: #cc6e6e; + } + } + + .full { + } +`; + const Button = styled.button` margin-top: 10px; font-family: "DungGeunMo"; @@ -26,5 +45,11 @@ const Button = styled.button` * @returns */ export default function LargeButton(props: Props) { - return ; + return ( +
+ +
+ ); } diff --git a/frontend/src/components/atoms/etc/Multiple.tsx b/frontend/src/components/atoms/etc/Multiple.tsx index 5539328..5745a0d 100644 --- a/frontend/src/components/atoms/etc/Multiple.tsx +++ b/frontend/src/components/atoms/etc/Multiple.tsx @@ -1,9 +1,18 @@ import styled from "@emotion/styled"; interface Props { - num: number; + num: string; + selected: string; func: (e: React.MouseEvent) => void; } + +const Div = styled.div` + .selected { + background-color: #d6e7e2; + color: #5bb8a1; + } +`; + const Button = styled.button` font-family: "Press Start 2P"; border-radius: 10px; @@ -14,10 +23,7 @@ const Button = styled.button` border: none; color: white; margin: 5px 10px 5px 0px; - &:focus { - background-color: #d6e7e2; - color: #5bb8a1; - } + &:hover { cursor: pointer; background-color: #25b097; @@ -31,8 +37,14 @@ const Button = styled.button` */ export default function Multiple(props: Props) { return ( - +
+ +
); } diff --git a/frontend/src/components/atoms/inputs/LargeInput.tsx b/frontend/src/components/atoms/inputs/LargeInput.tsx index f4b26c0..bd2b310 100644 --- a/frontend/src/components/atoms/inputs/LargeInput.tsx +++ b/frontend/src/components/atoms/inputs/LargeInput.tsx @@ -1,4 +1,11 @@ import styled from "@emotion/styled"; +import { ChangeEvent } from "react"; + +interface Props { + value: string; + onChange: any; + // onChange: (event: ChangeEvent) => void; +} const Textarea = styled.textarea` border-radius: 10px; @@ -18,6 +25,6 @@ const Textarea = styled.textarea` } `; -export default function LargeInput() { - return