From 26d06fc75714d64de6d08cfbfd817ebe9fa3a0c1 Mon Sep 17 00:00:00 2001
From: HyerimKimm <50258232+HyerimKimm@users.noreply.github.com>
Date: Sun, 30 Jun 2024 16:35:45 +0900
Subject: [PATCH] =?UTF-8?q?toast=20=EC=82=AD=EC=A0=9C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
client/.env.development | 3 +-
client/src/App.tsx | 2 --
client/src/components/toast/Toast.tsx | 28 -------------------
.../toast/components/toast_item/ToastItem.tsx | 25 -----------------
.../src/components/toast/types/toastTypes.ts | 4 ---
5 files changed, 1 insertion(+), 61 deletions(-)
delete mode 100644 client/src/components/toast/Toast.tsx
delete mode 100644 client/src/components/toast/components/toast_item/ToastItem.tsx
delete mode 100644 client/src/components/toast/types/toastTypes.ts
diff --git a/client/.env.development b/client/.env.development
index 4aafe9c..2c4a513 100644
--- a/client/.env.development
+++ b/client/.env.development
@@ -1,2 +1 @@
-REACT_APP_DOMAIN = http://localhost
-REACT_APP_PORT = 5999
\ No newline at end of file
+REACT_APP_DOMAIN = https://hyerim-resume.com
\ No newline at end of file
diff --git a/client/src/App.tsx b/client/src/App.tsx
index 987032a..f6ee7be 100644
--- a/client/src/App.tsx
+++ b/client/src/App.tsx
@@ -11,7 +11,6 @@ import queryClient from 'queries/queryClient';
import { isDarkStore } from 'store/isDarkStore';
import ResumeDetail from 'pages/resume_detail/ResumeDetail';
-import Toast from 'components/toast/Toast';
function App() {
const isDark = isDarkStore((state) => state.isDark);
@@ -21,7 +20,6 @@ function App() {
-
}>
diff --git a/client/src/components/toast/Toast.tsx b/client/src/components/toast/Toast.tsx
deleted file mode 100644
index 2bbc8fe..0000000
--- a/client/src/components/toast/Toast.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import { FlexBox } from 'atoms/Layout.style';
-import styled from 'styled-components';
-import ToastItem from './components/toast_item/ToastItem';
-import { item } from './types/toastTypes';
-
-const Toast = () => {
- const itemList: item[] = [
- {
- status: 'error',
- message: 'Toast Error Ex',
- },
- ];
- return (
-
-
-
- );
-};
-
-const ToastWrapper = styled(FlexBox)`
- z-index: 2;
- height: 100vh;
- position: fixed;
- left: 50vw;
- padding: 4px;
-`;
-
-export default Toast;
diff --git a/client/src/components/toast/components/toast_item/ToastItem.tsx b/client/src/components/toast/components/toast_item/ToastItem.tsx
deleted file mode 100644
index 1f78d84..0000000
--- a/client/src/components/toast/components/toast_item/ToastItem.tsx
+++ /dev/null
@@ -1,25 +0,0 @@
-import React from 'react';
-import styled from 'styled-components';
-import tokens from 'styles/tokens.json';
-import { FlexBox } from 'atoms/Layout.style';
-import { item } from 'components/toast/types/toastTypes';
-
-const globalTokens = tokens.global;
-
-type toastItemProps = {
- item: item;
-};
-
-const ToastItem = ({ item }: toastItemProps) => {
- return (
-
- {item.message}
-
- );
-};
-
-const TostItemWrapper = styled(FlexBox)`
- background-color: ${globalTokens.Negative.value};
-`;
-
-export default ToastItem;
diff --git a/client/src/components/toast/types/toastTypes.ts b/client/src/components/toast/types/toastTypes.ts
deleted file mode 100644
index 00cbd74..0000000
--- a/client/src/components/toast/types/toastTypes.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export type item = {
- status: 'error' | 'success' | 'info';
- message: string;
-};