Skip to content

Commit 8b1f8d3

Browse files
authored
Merge pull request Next-Room#75 from Next-Room/feat/hint-qa
Feat/hint qa
2 parents 696c035 + 1a4b2d8 commit 8b1f8d3

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

app/admin-new/(components)/Sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default function Sidebar(props: Props) {
9090
</button>
9191
</li>
9292
</ul>
93-
{status?.includes("FREE") && (
93+
{!status?.includes("SUBSCRIPTION") && (
9494
<div className="sidebar__subscribe">
9595
<p className="sidebar__subscribe-title">
9696
구독하고 힌트에 사진을 추가해 보세요

app/admin-new/(components)/ThemeDrawer/ThemeDrawerAnswer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const ThemeDrawerAnswer = ({
7272
const answerInputRef = useRef<HTMLInputElement>(null);
7373

7474
const handleAnswerClick = (e: React.MouseEvent<HTMLButtonElement>) => {
75-
if (status?.includes("FREE")) {
75+
if (!status?.includes("SUBSCRIPTION")) {
7676
e.preventDefault();
7777
window.open(subscribeLinkURL, "_blank", "noopener,noreferrer");
7878
return;

app/admin-new/(components)/ThemeDrawer/ThemeDrawerHint.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const ThemeDrawerHint = ({
7070
const hintInputRef = useRef<HTMLInputElement>(null);
7171

7272
const handleHintClick = (e: React.MouseEvent<HTMLButtonElement>) => {
73-
if (status?.includes("FREE")) {
73+
if (!status?.includes("SUBSCRIPTION")) {
7474
e.preventDefault();
7575
window.open(subscribeLinkURL, "_blank", "noopener,noreferrer");
7676
return;

app/admin-new/(components)/ThemeDrawer/consts/themeDrawerProps.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export const rateTextFieldProps: ThemeInfoTextFieldType = {
2929
export const XImageProps = {
3030
src: "/images/svg/icon_X.svg",
3131
alt: "x_button",
32-
width: 28,
33-
height: 28,
32+
width: 24,
33+
height: 24,
3434
};
3535

3636
export const HintImageProps = {

app/admin-new/(style)/themeInfo.modules.sass

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@
233233
@include title20SB
234234
border-bottom: 1px solid $color-white12
235235
cursor: default
236+
button
237+
height: 24px
236238
&__content
237239
padding: 24px
238240
&__footer

0 commit comments

Comments
 (0)