mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 06:20:24 +00:00
chore: hide footer
This commit is contained in:
parent
7ec45c5e4a
commit
59a6fbdbbc
@ -11,8 +11,8 @@ const SEO = dynamic(() => import('@components/SEO'))
|
|||||||
const DeveloperLayout = ({ children, enabled, docs, currentDoc }:DeveloperLayout):JSX.Element => {
|
const DeveloperLayout = ({ children, enabled, docs, currentDoc }:DeveloperLayout):JSX.Element => {
|
||||||
return <div className='flex min-h-screen'>
|
return <div className='flex min-h-screen'>
|
||||||
<SEO title='한디리 개발자' description='한국 디스코드봇 리스트 API를 활용하여 봇에 다양한 기능을 추가해보세요.' />
|
<SEO title='한디리 개발자' description='한국 디스코드봇 리스트 API를 활용하여 봇에 다양한 기능을 추가해보세요.' />
|
||||||
<div className='w-1/8 block lg:hidden h-screen relative'>
|
<div className='block lg:hidden h-screen relative'>
|
||||||
<div className='pt-20 px-2 h-full text-center bg-little-white dark:bg-discord-black fixed'>
|
<div className='w-16 pt-20 px-2 h-full text-center bg-little-white dark:bg-discord-black fixed'>
|
||||||
<h2 className='font-black text-koreanbots-blue pb-4'><i className='fas fa-tools'/></h2>
|
<h2 className='font-black text-koreanbots-blue pb-4'><i className='fas fa-tools'/></h2>
|
||||||
<ul className='text-gray-600 dark:text-gray-300'>
|
<ul className='text-gray-600 dark:text-gray-300'>
|
||||||
<li className={`cursor-pointer py-2 px-4 mb-2 rounded-md ${enabled === 'applications' ? 'bg-discord-blurple text-white' : 'hover:text-gray-500 dark:hover:text-white'}`}>
|
<li className={`cursor-pointer py-2 px-4 mb-2 rounded-md ${enabled === 'applications' ? 'bg-discord-blurple text-white' : 'hover:text-gray-500 dark:hover:text-white'}`}>
|
||||||
@ -72,7 +72,7 @@ const DeveloperLayout = ({ children, enabled, docs, currentDoc }:DeveloperLayout
|
|||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className='w-full py-28 lg:pl-60'>
|
<div className='w-full py-28 lg:pl-60 pl-16'>
|
||||||
<Container>
|
<Container>
|
||||||
{children}
|
{children}
|
||||||
</Container>
|
</Container>
|
||||||
|
|||||||
@ -76,7 +76,7 @@ export default function App({ Component, pageProps, err }: KoreanbotsProps): JSX
|
|||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
{
|
{
|
||||||
!['/bots/[id]'].includes(router.pathname) && <Footer theme={theme} setTheme={setTheme} />
|
!['/bots/[id]'].includes(router.pathname) || router.pathname.startsWith('/developers') && <Footer theme={theme} setTheme={setTheme} />
|
||||||
}
|
}
|
||||||
<Modal full isOpen={shortcutModal} onClose={() => setShortcutModal(false)} dark={theme === 'dark'} header='단축키 안내'>
|
<Modal full isOpen={shortcutModal} onClose={() => setShortcutModal(false)} dark={theme === 'dark'} header='단축키 안내'>
|
||||||
<div className='px-3 h-80'>
|
<div className='px-3 h-80'>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user