chore: changed footer

This commit is contained in:
wonderlandpark 2021-03-21 22:03:08 +09:00
parent 64bb9fd347
commit 7392b17786
3 changed files with 6 additions and 15 deletions

View File

@ -5,18 +5,13 @@ import Wave from '@components/Wave'
import Toggle from './Toggle'
import { Theme } from '@types'
const Footer = ({ color, theme, setTheme }: FooterProps): JSX.Element => {
const Footer = ({ theme, setTheme }: FooterProps): JSX.Element => {
return (
<div className='releative z-30'>
<Wave
color='currentColor'
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='bottom-0 text-white bg-discord-black py-24'>
<Container className='w-11/12 lg:flex lg:pt-0 lg:w-4/5' ignoreColor>
<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>
<div className='text-2xl'>
<Link href='/discord'>
@ -43,7 +38,7 @@ const Footer = ({ color, theme, setTheme }: FooterProps): JSX.Element => {
</li>
<li>
<Link href='/api'>
<a className='hover:text-gray-300'>API</a>
<a className='hover:text-gray-300'></a>
</Link>
</li>
</ul>

View File

@ -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) }} />
</div>
}
<Footer theme={theme} setTheme={setTheme} />
</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='단축키 안내'>
<div className='px-3 h-80'>
<h3 className='text-md font-semibold'></h3>

View File

@ -298,8 +298,6 @@ const Bots: NextPage<BotsProps> = ({ data, date, user, theme, csrfToken, setThem
</>
}
</Container>
<Footer color='bg-transparent text-discord-black text-white hidden md:block transform rotate-180' theme={theme} setTheme={setTheme} />
</div>
}