@@ -291,7 +389,7 @@ const SignUpChoose = () => {
diff --git a/src/pages/main/SignUpChoose.scss b/src/pages/main/SignUpChoose.scss
index cf24772..8063334 100644
--- a/src/pages/main/SignUpChoose.scss
+++ b/src/pages/main/SignUpChoose.scss
@@ -147,6 +147,12 @@
width: 100vh;
font-size: 13px;
}
+.message-succes {
+ color: #424242;
+ margin-left: 50px;
+ width: 100vh;
+ font-size: 13px;
+}
// button
.button_send {
diff --git a/src/redux-toolkit/albaModule/AlbaWaitListSlice.js b/src/redux-toolkit/albaModule/AlbaWaitListSlice.js
new file mode 100644
index 0000000..e4cf836
--- /dev/null
+++ b/src/redux-toolkit/albaModule/AlbaWaitListSlice.js
@@ -0,0 +1,32 @@
+import { createSlice } from "@reduxjs/toolkit";
+
+// 수정 필요
+let nextId = 0;
+const initialValue = [
+ {
+ alba_id: 0,
+ company_id: 1,
+ user_id: 0,
+ user_name: "김민규",
+ email: "hello123@naver.com",
+ code: "24DW4Y89",
+ state: "대기",
+ },
+ {
+ alba_id: 1,
+ company_id: 1,
+ user_id: 1,
+ user_name: "윤서영",
+ email: "seoyoung7623@naver.com",
+ code: "DE32S5DU",
+ state: "거절",
+ },
+];
+
+export const albaWaitListSlice = createSlice({
+ name: "alba_waitlist",
+ initialState: initialValue,
+ reducers: {},
+});
+
+export default albaWaitListSlice.reducer;
diff --git a/src/redux-toolkit/store.js b/src/redux-toolkit/store.js
index b74b61a..6435c8c 100644
--- a/src/redux-toolkit/store.js
+++ b/src/redux-toolkit/store.js
@@ -8,6 +8,7 @@ import { AlbaContractSlice } from "./albaModule/AlbaContractSlice";
import { AlbaRecordListSlice } from "./albaModule/AlbaRecordListSlice";
import { AlbaAttendance } from "./albaModule/AlbaAttendance";
import { AlbaReplaceSlice } from "./albaModule/AlbaReplaceSlice";
+import { albaWaitListSlice } from "./albaModule/AlbaWaitListSlice";
const store = configureStore({
reducer: {
@@ -19,6 +20,7 @@ const store = configureStore({
alba_record: AlbaRecordListSlice.reducer,
alba_attendance: AlbaAttendance.reducer,
alba_replace: AlbaReplaceSlice.reducer,
+ alba_waitlist: albaWaitListSlice.reducer,
},
});
diff --git a/src/style/company/company.scss b/src/style/company/company.scss
index 1c8fc42..199b5a4 100644
--- a/src/style/company/company.scss
+++ b/src/style/company/company.scss
@@ -363,6 +363,68 @@
}
}
}
+ .waitlist-wrapper {
+ margin: 30px;
+ .waitlist-main {
+ display: flex;
+ align-items: center;
+ }
+
+ .waitlist-set {
+ background-color: rgba(17, 26, 215, 0.05);
+ width: 900px;
+ height: 100px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin: 10px;
+ border-radius: 20px;
+ .waitlist-things {
+ display: flex;
+ .waitlist-one {
+ width: 150px;
+ font-size: 18px;
+ .value {
+ margin-right: 10px;
+ font-weight: bold;
+ }
+ }
+ .email {
+ width: 320px;
+ }
+ .inviteCode {
+ width: 200px;
+ }
+ }
+ .invite-state {
+ .state {
+ font-size: 20px;
+ padding: 3px 10px 3px 10px;
+ border-radius: 8px;
+ }
+ .wait {
+ border: 2px solid green;
+ color: green;
+ }
+ .disagee {
+ border: 2px solid #ff4343;
+ color: #ff4343;
+ }
+ }
+ }
+ .contract-wrapper {
+ button {
+ background-color: #4a52ff;
+ height: 100px;
+ padding: 10px;
+ border: none;
+ border-radius: 15px;
+ font-size: 14px;
+ width: 60px;
+ color: #ffffff;
+ }
+ }
+ }
}
// QR 조회 화면 -> 알바생 출퇴근 기록 화면