Skip to content

Commit

Permalink
Merge pull request #171 from LikeLion-at-DGU/develop
Browse files Browse the repository at this point in the history
[Fix] font 이름 수정 / lineNow 링크 연결 복구
  • Loading branch information
gn00py48 authored Oct 7, 2024
2 parents f20d217 + dd4b32e commit 5791635
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<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"
Expand Down
File renamed without changes.
10 changes: 10 additions & 0 deletions src/components/common/BoothDetail/BoothDetail.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
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 @@ -42,6 +43,9 @@ export const BoothDetail = ({ onClose, booth_id, boothInfo }) => {
prevIndex === totalImages - 1 ? 0 : prevIndex + 1
);
};
const MoveonTabling = (tabling_link) => {
window.open(`${tabling_link}`, "_blank");
};

return (
<S.DetailWrapper>
Expand Down Expand Up @@ -125,6 +129,12 @@ 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>
);
};
3 changes: 3 additions & 0 deletions src/pages/booth/BoothPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,9 @@ export const BoothPage = () => {
</S.FilterWrapper>

<S.BoothList $isOpen={isBoothListOpen}>
<S.NoticeTabling>
부스 클릭 시 테이블링 예약 링크로 이동 가능합니다.
</S.NoticeTabling>
{filteredData && filteredData.length > 0 ? (
filteredData.map((booth) => (
<S.BoothItem
Expand Down

0 comments on commit 5791635

Please sign in to comment.