From 9f89675f4f1ef28735c838c43e4d734b8ba07606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A3=A8=EB=B0=80LuMir?= Date: Wed, 16 Oct 2024 00:42:13 +0900 Subject: [PATCH] rename: data/markdownDocument.jsx to data/index.jsx (#104) Additionally, variable DATA to MARKDOWN_DOCUMENT_DATA_META variable DATA_TAG to MARKDOWN_DOCUMENT_DATA_TAG_META --- .../aside/Categories/Categories.jsx | 10 +++++++--- .../nav/SortContainer/SortContainer.jsx | 20 +++++++++---------- src/data/{markdownDocument.jsx => index.jsx} | 4 ++-- 3 files changed, 19 insertions(+), 15 deletions(-) rename src/data/{markdownDocument.jsx => index.jsx} (96%) diff --git a/src/components/aside/Categories/Categories.jsx b/src/components/aside/Categories/Categories.jsx index 2f48244..96cd3ca 100644 --- a/src/components/aside/Categories/Categories.jsx +++ b/src/components/aside/Categories/Categories.jsx @@ -1,7 +1,7 @@ import Link from 'next/link'; import { DOCS } from '@/constants/path'; -import { DATA_TAG } from '@/data/markdownDocument'; +import { MARKDOWN_DOCUMENT_DATA_TAG_META } from '@/data'; import { readMarkdownTagTree } from '@/utils/fs'; /* React Declaration */ @@ -11,12 +11,16 @@ export default async function Categories() { return (