From fb9f8184643cdc11830089921a71ce76004ab02a Mon Sep 17 00:00:00 2001 From: darkdulgi Date: Thu, 1 Aug 2024 10:09:48 +0900 Subject: [PATCH] =?UTF-8?q?[chore]=20=EC=84=B8=EB=AF=B8=EC=BD=9C=EB=A1=A0?= =?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 --- src/simpleInformation/contentSection.jsx | 6 ++++-- src/simpleInformation/index.jsx | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/simpleInformation/contentSection.jsx b/src/simpleInformation/contentSection.jsx index 69a1f303..916cc805 100644 --- a/src/simpleInformation/contentSection.jsx +++ b/src/simpleInformation/contentSection.jsx @@ -56,9 +56,11 @@ export default function ContentSection({ content }) { + className={`${index % 2 ? style.highlightAnim : "text-neutral-800"} text-title-m whitespace-pre-wrap`} + > {str} - ))} + + ))} diff --git a/src/simpleInformation/index.jsx b/src/simpleInformation/index.jsx index 60648094..a7105311 100644 --- a/src/simpleInformation/index.jsx +++ b/src/simpleInformation/index.jsx @@ -2,8 +2,8 @@ import JSONData from "./contentList.json"; import ContentSection from "./contentSection"; export default function SimpleInformation() { - const contentList = JSONData.content - + const contentList = JSONData.content; + return (