From 2727462c7b60a626a709b6dda5e82a898e90ea99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=EA=B6=8C=EC=84=B8=EC=9B=90?=
<101105694+5ewon@users.noreply.github.com>
Date: Sat, 27 Apr 2024 23:22:48 +0900
Subject: [PATCH 01/15] =?UTF-8?q?feat(theme):=20empty=20color=20=EC=B6=94?=
=?UTF-8?q?=EA=B0=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
packages/style/src/theme.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/packages/style/src/theme.ts b/packages/style/src/theme.ts
index 1be2749..cb5fad8 100644
--- a/packages/style/src/theme.ts
+++ b/packages/style/src/theme.ts
@@ -13,6 +13,7 @@ const theme = {
insert: "#CCFFD8",
delete: "#FFD7D5",
equal: "#F6F8FA",
+ empty: "#e6e6e6",
cover: "#ececec50",
line: "#f0f0f0",
preview: "#F6FAFD",
From 31c71efe40d3a6e241255762d6c2c9476dda92cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=EA=B6=8C=EC=84=B8=EC=9B=90?=
<101105694+5ewon@users.noreply.github.com>
Date: Sat, 27 Apr 2024 23:23:23 +0900
Subject: [PATCH 02/15] =?UTF-8?q?feat(merge=20modal):=20resolver=20modal?=
=?UTF-8?q?=20=EC=B6=94=EA=B0=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
apps/wiki/components/(modal)/Merge/index.tsx | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 apps/wiki/components/(modal)/Merge/index.tsx
diff --git a/apps/wiki/components/(modal)/Merge/index.tsx b/apps/wiki/components/(modal)/Merge/index.tsx
new file mode 100644
index 0000000..08f6ff5
--- /dev/null
+++ b/apps/wiki/components/(modal)/Merge/index.tsx
@@ -0,0 +1,12 @@
+import ResolverContainer from "@/components/Resolver";
+import * as styles from "../style.css";
+
+const Merge = ({ title, contents }: { title: string; contents: string }) => {
+ return (
+
+
+
+ );
+};
+
+export default Merge;
From bf2f1c47981688055bb76f5013a7b4ef4fcd7b71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=EA=B6=8C=EC=84=B8=EC=9B=90?=
<101105694+5ewon@users.noreply.github.com>
Date: Sat, 27 Apr 2024 23:24:41 +0900
Subject: [PATCH 03/15] =?UTF-8?q?fix(container):=20=EC=86=8D=EC=84=B1?=
=?UTF-8?q?=EB=AA=85=20=EB=B3=80=EA=B2=BD=20=EC=A0=81=EC=9A=A9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
apps/wiki/components/Container/index.tsx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/apps/wiki/components/Container/index.tsx b/apps/wiki/components/Container/index.tsx
index f83f9e2..afbf97e 100644
--- a/apps/wiki/components/Container/index.tsx
+++ b/apps/wiki/components/Container/index.tsx
@@ -16,11 +16,11 @@ interface Props extends PropsWithChildren {
title: string;
docsType: string;
lastModifiedAt?: Date;
- docsDetail?: boolean;
+ isDocsDetail?: boolean;
id?: number;
}
-const Container = ({ docsType, title, lastModifiedAt, docsDetail, id, children }: Props) => {
+const Container = ({ docsType, title, lastModifiedAt, isDocsDetail, id, children }: Props) => {
const { mutate } = useDeleteDocsMutation();
const { formatDate } = useDate();
const { isAdmin, user, isLoggedIn } = useUser();
@@ -59,11 +59,11 @@ const Container = ({ docsType, title, lastModifiedAt, docsDetail, id, children }
부마위키:{title}
- {docsDetail && lastModifiedAt && (
+ {isDocsDetail && lastModifiedAt && (
최근 편집 · {formatDate(lastModifiedAt)}
)}
- {docsDetail && (
+ {isDocsDetail && (