Skip to content

Commit 8a4cbd4

Browse files
committed
chore: improve readability
1 parent 0c16431 commit 8a4cbd4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/Hero.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ const Hero: React.FC<HeroProps> = ({ type = 'all', header, description }) => {
2727
<div className='mb-8 bg-discord-blurple text-gray-100 dark:bg-discord-black md:p-0'>
2828
<Container className='pb-16 pt-24 md:pb-20' ignoreColor>
2929
<h1 className='hidden text-left text-3xl font-bold md:block'>
30-
{header && `${header} - `} {{ bots: '봇 | ', servers: '서버 | ' }[type]}한국 디스코드
31-
리스트
30+
{header && `${header} - `} {{ bots: '봇 | ', servers: '서버 | ' }[type] || ''}
31+
한국 디스코드 리스트
3232
</h1>
3333
<h1 className='text-center text-3xl font-semibold md:hidden'>
3434
{header && (
@@ -37,7 +37,7 @@ const Hero: React.FC<HeroProps> = ({ type = 'all', header, description }) => {
3737
<br />
3838
</span>
3939
)}
40-
{{ bots: '봇 | ', servers: '서버 | ' }[type]}한국 디스코드 리스트
40+
{{ bots: '봇 | ', servers: '서버 | ' }[type] || ''}한국 디스코드 리스트
4141
</h1>
4242
<p className='font-base mt-2 text-center text-xl sm:text-left'>
4343
{description ||

0 commit comments

Comments
 (0)