제목(미정)
{user ? (
-
+
{user}
-
-
+
+
) : (
- 로그인
- 회원가입
+
+
)}
diff --git a/src/components/introduce/ApplyStatusButton.jsx b/src/components/introduce/ApplyStatusButton.jsx
index e9741ef..3c71593 100644
--- a/src/components/introduce/ApplyStatusButton.jsx
+++ b/src/components/introduce/ApplyStatusButton.jsx
@@ -2,7 +2,46 @@ import React from 'react';
import styled from '@emotion/styled';
-const ApplyStatusButtonWrapper = styled.button``;
+import palette from '../../styles/palette';
+
+const ApplyStatusButtonWrapper = styled.button`
+ display: inline-flex;
+ align-items: center;
+ margin: .5rem 0 .5rem 0;
+ padding: 0.25rem 5rem;
+ font-size: 1.5em;
+ line-height: 0;
+ font-family: 'Gamja Flower', cursive;
+ border-radius: 0.4rem;
+ border: none;
+ outline: none;
+
+ &.deadline {
+ cursor: not-allowed;
+ background: ${palette.gray[3]};
+ color: ${palette.gray[5]};
+ }
+
+ &.apply-complete {
+ background: ${palette.gray[1]};
+ border: 2px solid #a5d8ff;
+ color: #74c0fc;
+ }
+
+ &.apply {
+ color: white;
+ cursor: pointer;
+ background: ${palette.teal[5]};
+ &:hover{
+ background: ${palette.teal[4]};
+ }
+ }
+
+ &.no-login{
+ cursor: not-allowed;
+ color: ${palette.gray[5]};
+ }
+`;
const ApplyStatusButton = ({
timeStatus, onApply, user, applyStatus,
@@ -11,7 +50,7 @@ const ApplyStatusButton = ({
return (