mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-02 23:16:51 +00:00
theme-game 微调
This commit is contained in:
@@ -98,24 +98,24 @@ export default function GameEmbed({ post, siteInfo }) {
|
|||||||
<Draggable stick='left'>
|
<Draggable stick='left'>
|
||||||
<div
|
<div
|
||||||
style={{ left: '0px', top: '1rem' }}
|
style={{ left: '0px', top: '1rem' }}
|
||||||
className='fixed xl:hidden group space-x-1 flex items-center z-20 pr-3 pl-1 bg-[#202030] rounded-r-2xl shadow-lg '>
|
className='text-white fixed xl:hidden group space-x-1 flex items-center z-20 pr-3 pl-1 bg-[#202030] rounded-r-2xl shadow-lg '>
|
||||||
<Link
|
<Link
|
||||||
href='/'
|
href='/'
|
||||||
className='px-1 py-3 hover:scale-125 duration-200 transition-all'
|
className='px-1 py-3 hover:scale-125 duration-200 transition-all'
|
||||||
passHref>
|
passHref>
|
||||||
<i className='fas fa-arrow-left' />
|
<i className='fas fa-chevron-left' />
|
||||||
</Link>{' '}
|
</Link>{' '}
|
||||||
<span
|
<span
|
||||||
className='text-white font-serif'
|
className='font-serif px-1'
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
document.querySelector('.game-info').scrollIntoView({
|
document.querySelector('.game-info').scrollIntoView({
|
||||||
behavior: 'smooth',
|
behavior: 'smooth',
|
||||||
block: 'end',
|
block: 'start',
|
||||||
inline: 'nearest'
|
inline: 'nearest'
|
||||||
})
|
})
|
||||||
}}>
|
}}>
|
||||||
{/* Title首字母 */}
|
{/* Title首字母 */}
|
||||||
{siteInfo?.title?.charAt(0)}
|
<i className='fas fa-info' />
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</Draggable>
|
</Draggable>
|
||||||
|
|||||||
Reference in New Issue
Block a user