@@ -45,77 +45,76 @@ export default function MobileMenu() {
4545 < ul
4646 className = { cn (
4747 styles . menu ,
48- 'flex flex-col absolute bg-gray-100 dark:bg-gray-900' ,
48+ 'flex flex-col fixed top-16 right-0 left-0 bg-gray-100 dark:bg-gray-900 px-6 z-50 items-center py-4 space-y-4 ' ,
4949 isMenuRendered && styles . menuRendered
5050 ) }
5151 >
5252 < li
53- className = "border-b border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 text-sm font-semibold"
53+ className = "border-b border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 text-sm font-semibold text-center w-full "
5454 style = { { transitionDelay : '150ms' } }
5555 >
5656 < Link
5757 href = "/"
58- className = "flex w-auto pb-4"
58+ className = "flex w-auto pb-4 justify-center "
5959 >
6060 Home
6161 </ Link >
6262 </ li >
6363 < li
64- className = "border-b border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 text-sm font-semibold"
64+ className = "border-b border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 text-sm font-semibold text-center w-full "
6565 style = { { transitionDelay : '175ms' } }
6666 >
6767 < Link
68- href = "/guestbook "
69- className = "flex w-auto pb-4"
68+ href = "/about "
69+ className = "flex w-auto pb-4 justify-center "
7070 >
71- Guestbook
71+ About
7272 </ Link >
7373 </ li >
7474 < li
75- className = "border-b border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 text-sm font-semibold"
75+ className = "border-b border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 text-sm font-semibold text-center w-full "
7676 style = { { transitionDelay : '200ms' } }
7777 >
78- < Link href = "/dashboard" legacyBehavior >
79- < div className = "flex w-auto pb-4" > Dashboard</ div >
80- </ Link >
81- </ li >
82- < li
83- className = "border-b border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 text-sm font-semibold"
84- style = { { transitionDelay : '250ms' } }
85- >
86- < Link href = "/blog" legacyBehavior >
87- < div className = "flex w-auto pb-4" > Blog</ div >
78+ < Link
79+ href = "/guestbook"
80+ className = "flex w-auto pb-4 justify-center"
81+ >
82+ Guestbook
8883 </ Link >
8984 </ li >
9085 < li
91- className = "border-b border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 text-sm font-semibold"
92- style = { { transitionDelay : '275ms ' } }
86+ className = "border-b border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 text-sm font-semibold text-center w-full "
87+ style = { { transitionDelay : '225ms ' } }
9388 >
94- < Link href = "/snippets" legacyBehavior >
95- < div className = "flex w-auto pb-4" > Snippets</ div >
89+ < Link
90+ href = "/dashboard"
91+ className = "flex w-auto pb-4 justify-center"
92+ >
93+ Dashboard
9694 </ Link >
9795 </ li >
9896 < li
99- className = "border-b border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 text-sm font-semibold"
100- style = { { transitionDelay : '300ms ' } }
97+ className = "border-b border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 text-sm font-semibold text-center w-full "
98+ style = { { transitionDelay : '250ms ' } }
10199 >
102- < Link href = "/newsletter" legacyBehavior >
103- < div className = "flex w-auto pb-4" > Newsletter</ div >
100+ < Link
101+ href = "/blog"
102+ className = "flex w-auto pb-4 justify-center"
103+ >
104+ Blog
104105 </ Link >
105106 </ li >
106107 < li
107- className = "border-b border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 text-sm font-semibold"
108- style = { { transitionDelay : '325ms ' } }
108+ className = "border-b border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 text-sm font-semibold text-center w-full "
109+ style = { { transitionDelay : '275ms ' } }
109110 >
110- < Link href = "/tweets" legacyBehavior >
111- < div className = "flex w-auto pb-4" > Tweets</ div >
111+ < Link
112+ href = "/snippets"
113+ className = "flex w-auto pb-4 justify-center"
114+ >
115+ Snippets
112116 </ Link >
113117 </ li >
114- < li
115- className = "border-b border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 text-sm font-semibold"
116- style = { { transitionDelay : '350ms' } }
117- >
118- </ li >
119118 </ ul >
120119 ) }
121120 </ >
0 commit comments