Skip to content

Commit

Permalink
Merge pull request #150 from Chaem03/feature/#27
Browse files Browse the repository at this point in the history
[Fix]#27 - 라인나우 삭제
  • Loading branch information
Chaem03 authored Oct 6, 2024
2 parents 1c72255 + 8b4a232 commit 8935f89
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 21 deletions.
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/images/logo.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>

<title>2024년 동국대학교 가을축제 부스사이트</title>
</head>

Expand Down
11 changes: 0 additions & 11 deletions src/components/common/BoothDetail/BoothDetail.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as S from "./styled";
import { useState, useRef } from "react";
import tablingImg from "../../../assets/images/tabling.svg";
import CancelIcon from "../../../assets/images/X_Icon.svg";
import { Detailtitle } from "../../../constant/StarDetail/data";
import { useBoothDetailData } from "../../../hook/useBoothDetail";
Expand Down Expand Up @@ -45,10 +44,6 @@ export const BoothDetail = ({ onClose, booth_id, boothInfo }) => {
);
};

// const MoveonTabling = (tabling_link) => {
// window.open(`${tabling_link}`, "_blank");
// };

return (
<S.DetailWrapper>
<S.DetailContent>
Expand Down Expand Up @@ -130,12 +125,6 @@ export const BoothDetail = ({ onClose, booth_id, boothInfo }) => {
</S.Details>
</S.DetailInfo>
</S.DetailContent>
{boothInfo.is_reservable === true && (
<S.tabling
src={tablingImg}
onClick={() => MoveonTabling(boothDetailData.tabling_link)}
></S.tabling>
)}
</S.DetailWrapper>
);
};
2 changes: 1 addition & 1 deletion src/components/common/BoothDetail/styled.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ export const NameContainer = styled.div`
color: #000;
text-align: center;
${({ theme }) => theme.fonts.AppleSDGothicNeoB00};
font-size: 15px;
max-width: 40%;
}
`;

Expand Down
7 changes: 2 additions & 5 deletions src/pages/booth/BoothPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -575,9 +575,6 @@ export const BoothPage = () => {
</S.FilterWrapper>

<S.BoothList $isOpen={isBoothListOpen}>
<S.NoticeTabling>
부스 클릭 시 테이블링 예약 링크로 이동 가능합니다.
</S.NoticeTabling>
{filteredData && filteredData.length > 0 ? (
filteredData.map((booth) => (
<S.BoothItem
Expand All @@ -595,7 +592,7 @@ export const BoothPage = () => {
<S.BoothWrap>
<S.BoothName>{booth.name}</S.BoothName>
{booth.is_reservable && (
<S.reservabletag>예약 가능</S.reservabletag>
<S.reservabletag>Line Now</S.reservabletag>
)}
</S.BoothWrap>
<S.BoothWho>{booth.host}</S.BoothWho>
Expand Down Expand Up @@ -630,7 +627,7 @@ export const BoothPage = () => {
<S.BoothWrap>
<S.BoothName>{booth.name}</S.BoothName>
{booth.is_reservable && (
<S.reservabletag>예약 가능</S.reservabletag>
<S.reservabletag>Line Now</S.reservabletag>
)}
</S.BoothWrap>
<S.BoothWho>{booth.host}</S.BoothWho>
Expand Down
4 changes: 1 addition & 3 deletions src/pages/booth/Styled.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,7 @@ export const reservabletag = styled.div`
border-radius: 4.09px;
background: #e4ff83;
color: #1851ff;
font-size: 7px;
font-size: 9px;
font-weight: 700;
`;
export const HeartWrap = styled.div`
Expand Down

0 comments on commit 8935f89

Please sign in to comment.