diff --git a/components/Advertisement.tsx b/components/Advertisement.tsx index 37071e1..3c6a960 100644 --- a/components/Advertisement.tsx +++ b/components/Advertisement.tsx @@ -1,12 +1,18 @@ -const Advertisement = ():JSX.Element => { - if(process.env.NODE_ENV === 'production') return - else return
Advertisement
+const Advertisement = (): JSX.Element => { + if (process.env.NODE_ENV === 'production') + return ( + + ) + else + return
Advertisement
} -export default Advertisement \ No newline at end of file +export default Advertisement diff --git a/components/DiscordImage.tsx b/components/DiscordImage.tsx index abc0d18..c259d07 100644 --- a/components/DiscordImage.tsx +++ b/components/DiscordImage.tsx @@ -1,7 +1,25 @@ import NextImage from 'next/image' -const DiscordImage = (props: { size?: number, userID: string, avatarHash: string, tag: number|string, className?: string }) => { - return +const DiscordImage = (props: { + size?: number + userID: string + avatarHash: string + tag: number | string + className?: string +}) => { + return ( + + ) } export default DiscordImage diff --git a/components/Divider.tsx b/components/Divider.tsx index 32f0d45..9ffcc3c 100644 --- a/components/Divider.tsx +++ b/components/Divider.tsx @@ -1,5 +1,13 @@ -const Divider = ({ className }:{ className?: string }) => { - return
+const Divider = ({ className }: { className?: string }) => { + return ( +
+ ) } -export default Divider \ No newline at end of file +export default Divider diff --git a/components/Docs.tsx b/components/Docs.tsx index a95fb63..6025184 100644 --- a/components/Docs.tsx +++ b/components/Docs.tsx @@ -1,29 +1,38 @@ import Container from './Container' import Wave from './Wave' -const Docs = ({ header, description, subheader, children }:DocsProps):JSX.Element => { - return <> -
- -

{header}

-

{description}

-

{subheader}

-
-
- - -
- {children} +const Docs = ({ header, description, subheader, children }: DocsProps): JSX.Element => { + return ( + <> +
+ +

+ {header} +

+

+ {description} +

+

+ {subheader} +

+
- - + + +
{children}
+
+ + ) } export default Docs interface DocsProps { - header: string - description?: string - subheader?: string - children: JSX.Element | JSX.Element[] -} \ No newline at end of file + header: string + description?: string + subheader?: string + children: JSX.Element | JSX.Element[] +} diff --git a/components/Footer.tsx b/components/Footer.tsx index 777e2f2..1282286 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -2,73 +2,75 @@ import Link from 'next/link' import Container from './Container' import Wave from './Wave' -const Footer = ():JSX.Element => { - return
- -
- -
-

국내봇을 한 곳에서.

- 2020 Koreanbots, All rights reserved. -
- - - +const Footer = (): JSX.Element => { + return ( +
+ + -
-

한국 디스코드봇 리스트

- -
-
-

커뮤니티

- -
-
-

약관

- -
- +
+

한국 디스코드봇 리스트

+ +
+
+

커뮤니티

+ +
+
+

약관

+ +
+ +
-
+ ) } -export default Footer \ No newline at end of file +export default Footer diff --git a/components/Navbar.tsx b/components/Navbar.tsx index a739b6b..4c41e5b 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -5,9 +5,9 @@ const Navbar = (): JSX.Element => { const [navbarOpen, setNavbarOpen] = useState(false) return ( <> -