push(`/community/${articleId}`, false))}>
{t(`category.${category.name}`)}
-
- {formatDistanceStrict(new Date(createdAt), currentKoreaTime, { addSuffix: true, locale })}
-
+ {formatDate(createdAt, locale)}
-
{title}
+
{title}
{content}
diff --git a/packages/web/src/app/[lng]/(main)/community/components/CommunityHeader.tsx b/packages/web/src/app/[lng]/(main)/community/components/CommunityHeader.tsx
index c46a52399..47c2a5a78 100644
--- a/packages/web/src/app/[lng]/(main)/community/components/CommunityHeader.tsx
+++ b/packages/web/src/app/[lng]/(main)/community/components/CommunityHeader.tsx
@@ -14,13 +14,13 @@ export default async function CommunityHeader({ lng }: CommunityHeaderProps) {
return (
{t('community')}
-
+ {/*
-
+ */}
);
}
diff --git a/packages/web/src/app/[lng]/(main)/community/components/ContentSection.client.tsx b/packages/web/src/app/[lng]/(main)/community/components/ContentSection.client.tsx
index 804f79ab3..8deca55ee 100644
--- a/packages/web/src/app/[lng]/(main)/community/components/ContentSection.client.tsx
+++ b/packages/web/src/app/[lng]/(main)/community/components/ContentSection.client.tsx
@@ -27,10 +27,10 @@ export default function ContentSection() {
return (
-
-
-
-
+
+
+
+
diff --git a/packages/web/src/app/[lng]/(main)/community/page.tsx b/packages/web/src/app/[lng]/(main)/community/page.tsx
index 8a8371c03..0c10da232 100644
--- a/packages/web/src/app/[lng]/(main)/community/page.tsx
+++ b/packages/web/src/app/[lng]/(main)/community/page.tsx
@@ -1,5 +1,6 @@
import CommunityHeader from './components/CommunityHeader';
import ContentSection from './components/ContentSection.client';
+import CreateArticleButton from './components/CreateArticleButton';
import { Keys, getCommunityArticles } from '@/apis/community';
import { LocalSuspenseErrorBoundary } from '@/components/ErrorBoundary';
import { HydrationProvider } from '@/components/Provider';
@@ -36,6 +37,7 @@ export default function CommunityPage({ params: { lng } }: CommunityPageProps) {
+
>
diff --git a/packages/web/src/app/i18n/locales/en/community.json b/packages/web/src/app/i18n/locales/en/community.json
index c787e6caa..502ca0c32 100644
--- a/packages/web/src/app/i18n/locales/en/community.json
+++ b/packages/web/src/app/i18n/locales/en/community.json
@@ -25,7 +25,7 @@
"content": "Do you want to submit the post?"
},
"cancel": {
- "content": "Cancel post creation"
+ "content": "Cancel post creation?"
}
},
diff --git a/packages/web/src/app/i18n/locales/ko/community.json b/packages/web/src/app/i18n/locales/ko/community.json
index 936eeb5ff..14ba8f9df 100644
--- a/packages/web/src/app/i18n/locales/ko/community.json
+++ b/packages/web/src/app/i18n/locales/ko/community.json
@@ -25,7 +25,7 @@
"content": "게시글을 등록하시겠습니까?"
},
"cancel": {
- "content": "게시글 작성을 취소하시겠습니"
+ "content": "게시글 작성을 취소하시겠습니까?"
}
},