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; -};