mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 22:30:23 +00:00
chore: changed footer
This commit is contained in:
parent
64bb9fd347
commit
7392b17786
@ -5,18 +5,13 @@ import Wave from '@components/Wave'
|
|||||||
import Toggle from './Toggle'
|
import Toggle from './Toggle'
|
||||||
import { Theme } from '@types'
|
import { Theme } from '@types'
|
||||||
|
|
||||||
const Footer = ({ color, theme, setTheme }: FooterProps): JSX.Element => {
|
const Footer = ({ theme, setTheme }: FooterProps): JSX.Element => {
|
||||||
return (
|
return (
|
||||||
<div className='releative z-30'>
|
<div className='releative z-30'>
|
||||||
<Wave
|
<div className='bottom-0 text-white bg-discord-black py-24'>
|
||||||
color='currentColor'
|
<Container className='w-11/12 lg:flex lg:pt-0 lg:w-4/5' ignoreColor>
|
||||||
className={`${color ??
|
|
||||||
'dark:text-discord-dark text-white bg-discord-black'} hidden md:block`}
|
|
||||||
/>
|
|
||||||
<div className='bottom-0 text-white bg-discord-black'>
|
|
||||||
<Container className='pb-20 pt-10 w-11/12 lg:flex lg:pt-0 lg:w-4/5' ignoreColor>
|
|
||||||
<div className='w-full md:w-2/5'>
|
<div className='w-full md:w-2/5'>
|
||||||
<h1 className='text-koreanbots-blue text-3xl font-extrabold'>국내봇을 한 곳에서.</h1>
|
<h1 className='text-koreanbots-blue text-3xl font-bold'>국내봇을 한 곳에서.</h1>
|
||||||
<span className='text-base'>2020-2021 Koreanbots, All rights reserved.</span>
|
<span className='text-base'>2020-2021 Koreanbots, All rights reserved.</span>
|
||||||
<div className='text-2xl'>
|
<div className='text-2xl'>
|
||||||
<Link href='/discord'>
|
<Link href='/discord'>
|
||||||
@ -43,7 +38,7 @@ const Footer = ({ color, theme, setTheme }: FooterProps): JSX.Element => {
|
|||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<Link href='/api'>
|
<Link href='/api'>
|
||||||
<a className='hover:text-gray-300'>API</a>
|
<a className='hover:text-gray-300'>개발자</a>
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@ -74,10 +74,8 @@ export default function App({ Component, pageProps, err }: KoreanbotsProps): JSX
|
|||||||
<input value={betaKey} name='field_name' className='text-black border outline-none px-4 py-2 rounded-2xl' type='text' placeholder='테스터 키' onChange={(e)=> { localStorage.setItem('betaKey', e.target.value); setBetaKey(e.target.value) }} />
|
<input value={betaKey} name='field_name' className='text-black border outline-none px-4 py-2 rounded-2xl' type='text' placeholder='테스터 키' onChange={(e)=> { localStorage.setItem('betaKey', e.target.value); setBetaKey(e.target.value) }} />
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
<Footer theme={theme} setTheme={setTheme} />
|
||||||
</div>
|
</div>
|
||||||
{
|
|
||||||
!(['/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'>
|
||||||
<h3 className='text-md font-semibold'>일반</h3>
|
<h3 className='text-md font-semibold'>일반</h3>
|
||||||
|
|||||||
@ -298,8 +298,6 @@ const Bots: NextPage<BotsProps> = ({ data, date, user, theme, csrfToken, setThem
|
|||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
</Container>
|
</Container>
|
||||||
|
|
||||||
<Footer color='bg-transparent text-discord-black text-white hidden md:block transform rotate-180' theme={theme} setTheme={setTheme} />
|
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user