File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -153,13 +153,13 @@ const Header = props => {
153
153
{ /* 中间菜单 */ }
154
154
< div
155
155
id = 'nav-bar-swipe'
156
- className = { `hidden lg:flex flex-grow flex-col items-center justify-center h-full relative w-full overflow-hidden ` } >
156
+ className = { `hidden lg:flex flex-grow flex-col items-center justify-center h-full relative w-full` } >
157
157
< div
158
- className = { `absolute transition-all duration-500 ${ activeIndex === 0 ? 'opacity-100 mt-0' : '-mt-24 opacity-0 invisible' } ` } >
158
+ className = { `absolute transition-all duration-700 ${ activeIndex === 0 ? 'opacity-100 mt-0' : '-mt-20 opacity-0 invisible' } ` } >
159
159
< MenuListTop { ...props } />
160
160
</ div >
161
161
< div
162
- className = { `absolute transition-all duration-500 ${ activeIndex === 1 ? 'opacity-100 mb-0' : '-mb-24 opacity-0 invisible' } ` } >
162
+ className = { `absolute transition-all duration-700 ${ activeIndex === 1 ? 'opacity-100 mb-0' : '-mb-20 opacity-0 invisible' } ` } >
163
163
< h1 className = 'font-bold text-center text-light-400 dark:text-gray-400' >
164
164
{ siteConfig ( 'AUTHOR' ) || siteConfig ( 'TITLE' ) } { ' ' }
165
165
{ siteConfig ( 'BIO' ) && < > |</ > } { siteConfig ( 'BIO' ) }
Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ export const MenuItemDrop = ({ link }) => {
36
36
{ hasSubMenu && (
37
37
< ul
38
38
style = { { backdropFilter : 'blur(3px)' } }
39
- className = { `${ show ? 'visible opacity-100 top-14' : 'invisible opacity-0 top-20' } drop-shadow-md overflow-hidden rounded-xl bg-white dark:bg-[#1e1e1e] border dark:border-gray-700 transition-all duration-300 z-20 absolute` } >
39
+ className = { `${ show ? 'visible opacity-100 top-14' : 'invisible opacity-0 top-20' } drop-shadow-md overflow-hidden rounded-xl bg-white dark:bg-[#1e1e1e] transition-all duration-300 z-20 absolute` } >
40
40
{ link . subMenus . map ( ( sLink , index ) => {
41
41
return (
42
42
< li
43
43
key = { index }
44
- className = 'cursor-pointer hover:bg-blue-600 dark:hover:bg-yellow-600 hover:text-white text-gray-900 dark:text-gray-100 tracking-widest transition-all duration-200 dark:border-gray-700 py-1 pr-6 pl-3' >
44
+ className = 'cursor-pointer hover:bg-blue-600 dark:hover:bg-yellow-600 hover:text-white text-gray-900 dark:text-gray-100 tracking-widest transition-all duration-200 py-1 pr-6 pl-3' >
45
45
< Link href = { sLink . href } target = { link ?. target } >
46
46
< span className = 'text-sm text-nowrap font-extralight' >
47
47
{ link ?. icon && < i className = { sLink ?. icon } > </ i > }
You can’t perform that action at this time.
0 commit comments