File tree Expand file tree Collapse file tree
resources/views/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -323,6 +323,22 @@ class="inline-block px-px py-1.5 transition duration-300 will-change-transform h
323323 vs Flutter
324324 </a >
325325 </li >
326+ <li >
327+ <a
328+ href =" /plugins"
329+ class =" inline-block px-px py-1.5 transition duration-300 will-change-transform hover:translate-x-1 hover:text-gray-700 dark:hover:text-gray-300"
330+ >
331+ Plugins
332+ </a >
333+ </li >
334+ <li >
335+ <a
336+ href =" {{ route (' showcase' , ' mobile' ) } }"
337+ class =" inline-block px-px py-1.5 transition duration-300 will-change-transform hover:translate-x-1 hover:text-gray-700 dark:hover:text-gray-300"
338+ >
339+ Showcase
340+ </a >
341+ </li >
326342 <li >
327343 <a
328344 href =" https://github.com/nativephp/mobile-air"
@@ -355,6 +371,14 @@ class="inline-block px-px py-1.5 transition duration-300 will-change-transform h
355371 Documentation
356372 </a >
357373 </li >
374+ <li >
375+ <a
376+ href =" {{ route (' showcase' , ' desktop' ) } }"
377+ class =" inline-block px-px py-1.5 transition duration-300 will-change-transform hover:translate-x-1 hover:text-gray-700 dark:hover:text-gray-300"
378+ >
379+ Showcase
380+ </a >
381+ </li >
358382 <li >
359383 <a
360384 href =" https://github.com/nativephp/desktop"
Original file line number Diff line number Diff line change 11<a
22 href =" /blog/nativephp-for-mobile-is-now-free"
33 onclick =" fathom.trackEvent('mobile_free_banner_click');"
4+ data-site-banner
45 class =" group relative z-30 flex flex-col items-center justify-center gap-x-3 gap-y-2.5 overflow-hidden bg-gradient-to-r from-emerald-100 via-teal-50 to-cyan-100 px-5 py-3 select-none 3xs:flex-row dark:from-emerald-950/50 dark:via-teal-950/50 dark:to-cyan-950/50"
56>
67 {{-- Label --}}
Original file line number Diff line number Diff line change 22 x-init ="
33 () => {
44 // Sync Popover ➜ Alpine
5- $refs.mobilePopover.addEventListener('toggle', () => {
5+ $refs.mobilePopover.addEventListener('toggle', (e ) => {
66 showMobileMenu = $refs.mobilePopover.matches(':popover-open')
7+
8+ // Scroll past the banner when menu opens
9+ if (e.newState === 'open') {
10+ const banner = document.querySelector('[data-site-banner]')
11+ if (banner) {
12+ const bannerBottom = banner.offsetTop + banner.offsetHeight
13+ if (window.scrollY < bannerBottom) {
14+ window.scrollTo({ top: bannerBottom, behavior: 'smooth' })
15+ }
16+ }
17+ }
718 })
819
920 // Sync Alpine ➜ Popover
Original file line number Diff line number Diff line change 11<a
22 href =" /the-vibes"
33 onclick =" fathom.trackEvent('the_vibes_banner_click');"
4+ data-site-banner
45 class =" group relative z-30 flex flex-col items-center justify-center gap-x-3 gap-y-2.5 overflow-hidden bg-gradient-to-r from-violet-100 via-indigo-50 to-violet-100 px-5 py-3 select-none 3xs:flex-row dark:from-violet-950/50 dark:via-indigo-950/50 dark:to-violet-950/50"
56>
67 {{-- Label --}}
You can’t perform that action at this time.
0 commit comments