Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 모달 일러스트 제거 #126

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
import { Txt, Button } from '@sambad/sds/components';
import { colors } from '@sambad/sds/theme';

import { RectQuestion } from '@/common/asset/rectquestion';
import { Modal, ModalProps } from '@/common/components/Modal/Modal';
import { Avatar } from '@/home/common/components/Avatar/Avatar';

export const AlreadyAnsweredQuestionModal = ({ ...rest }: ModalProps) => {
return (
<Modal {...rest}>
<div>
<div css={{ display: 'flex', flexDirection: 'column', alignItems: 'center' }}>
<span css={{ marginBottom: '20px' }}>
<Avatar Icon={RectQuestion} size={80} />
</span>
<Txt as="p" typography="heading2" css={{ marginBottom: '8px' }} color={colors.black}>
이미 답변한 릴레이 질문이에요!
</Txt>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ import { Button, Txt } from '@sambad/sds/components';
import { colors } from '@sambad/sds/theme';
import Link from 'next/link';

import { RectQuestion } from '../../../../common/asset/rectquestion';
import { Modal, ModalProps } from '../../../../common/components/Modal/Modal';
import { useDialogContext } from '../../../../common/contexts/DialogProvider';
import { Avatar } from '../../../common/components/Avatar/Avatar';

interface ArrivedQuestionNotificationProps extends ModalProps {
onClickAnswerLater?: () => void;
Expand All @@ -18,9 +16,6 @@ export const ArrivedQuestionNotification = ({ onClickAnswerLater, ...rest }: Arr
<Modal {...rest} isOpen={isOpen} onClose={close}>
<div>
<div css={{ display: 'flex', flexDirection: 'column', alignItems: 'center' }}>
<span css={{ marginBottom: '20px' }}>
<Avatar Icon={RectQuestion} size={80} />
</span>
<Txt as="p" typography="heading2" css={{ marginBottom: '8px' }} color={colors.black}>
릴레이 질문이 도착했어요!
</Txt>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,13 @@ import { Txt, Button } from '@sambad/sds/components';
import { colors } from '@sambad/sds/theme';
import Link from 'next/link';

import { RectQuestion } from '@/common/asset/rectquestion';
import { Modal, ModalProps } from '@/common/components/Modal/Modal';
import { Avatar } from '@/home/common/components/Avatar/Avatar';

export const ExpiredQuestionNotification = ({ ...rest }: ModalProps) => {
return (
<Modal {...rest}>
<div>
<div css={{ display: 'flex', flexDirection: 'column', alignItems: 'center' }}>
<span css={{ marginBottom: '20px' }}>
<Avatar Icon={RectQuestion} size={80} />
</span>
<Txt as="p" typography="heading2" css={{ marginBottom: '8px' }} color={colors.black}>
마감기한이 지난 릴레이 질문이에요!
</Txt>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@ import { Button, Txt } from '@sambad/sds/components';
import { colors } from '@sambad/sds/theme';
import Link from 'next/link';

import { RectQuestion } from '../../../../common/asset/rectquestion';
import { Modal, ModalProps } from '../../../../common/components/Modal/Modal';
import { useDialogContext } from '../../../../common/contexts/DialogProvider';
import { Avatar } from '../../../common/components/Avatar/Avatar';

interface SelectedTargetMemberNotificationProps extends ModalProps {}

export const SelectedTargetMemberNotification = ({ ...rest }: SelectedTargetMemberNotificationProps) => {
Expand All @@ -16,9 +13,6 @@ export const SelectedTargetMemberNotification = ({ ...rest }: SelectedTargetMemb
<Modal {...rest} isOpen={isOpen} onClose={close}>
<div>
<div css={{ display: 'flex', flexDirection: 'column', alignItems: 'center' }}>
<span css={{ marginBottom: '20px' }}>
<Avatar Icon={RectQuestion} size={80} />
</span>
<Txt as="p" typography="heading2" css={{ marginBottom: '8px' }}>
릴레이 질문인으로 선택되었어요!
</Txt>
Expand Down