diff --git a/.junie/mcp/mcp.json b/.junie/mcp/mcp.json index 7f63ff3c..0fd7d4ef 100644 --- a/.junie/mcp/mcp.json +++ b/.junie/mcp/mcp.json @@ -1,11 +1,8 @@ { "mcpServers": { "laravel-boost": { - "command": "/usr/bin/php8.4", - "args": [ - "/home/hassan/code/nativephp.com/artisan", - "boost:mcp" - ] + "command": "php", + "args": ["./artisan", "boost:mcp"] } } -} \ No newline at end of file +} diff --git a/resources/css/docsearch.css b/resources/css/docsearch.css index d4aa9f96..513bc8c3 100644 --- a/resources/css/docsearch.css +++ b/resources/css/docsearch.css @@ -11,7 +11,7 @@ } .DocSearch-Button { - @apply m-0 flex items-center rounded-full bg-gray-50/50 font-normal ring-1 ring-slate-600/30 transition duration-300 ease-out ring-inset dark:bg-black/30; + @apply m-0 flex h-10 items-center rounded-full bg-gray-50/50 font-normal ring-1 ring-slate-600/30 transition duration-300 ease-out ring-inset min-[1024px]:h-9 dark:bg-black/30; } .DocSearch-Button:hover { @@ -29,13 +29,17 @@ } .DocSearch-Button-Placeholder { - @apply px-1 text-sm text-black/60 transition duration-300 xl:pr-5 dark:text-white/60; + @apply pr-2 pl-1 text-sm text-black/60 transition duration-300 xl:pr-5 dark:text-white/60; } .DocSearch-Button-Keys { @apply mt-1 ml-1 hidden min-w-[auto] text-sm leading-none sm:flex; } +.DocSearch-Button-Placeholder { + @apply inline!; +} + .DocSearch-Button-Key { background: none; box-shadow: none; diff --git a/resources/js/app.js b/resources/js/app.js index e6d7b49a..fcd34386 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -119,6 +119,15 @@ docsearch({ apiKey: '9be495a1aaf367b47c873d30a8e7ccf5', indexName: 'nativephp', insights: true, - container: '#docsearch', + container: '#docsearch-desktop', + debug: false, +}) + +docsearch({ + appId: 'ZNII9QZ8WI', + apiKey: '9be495a1aaf367b47c873d30a8e7ccf5', + indexName: 'nativephp', + insights: true, + container: '#docsearch-mobile', debug: false, }) diff --git a/resources/views/components/navbar/mobile-menu.blade.php b/resources/views/components/navbar/mobile-menu.blade.php index 1703fb0c..274cf6dd 100644 --- a/resources/views/components/navbar/mobile-menu.blade.php +++ b/resources/views/components/navbar/mobile-menu.blade.php @@ -68,11 +68,11 @@ class="-ml-2.5 h-5 w-0.5 -rotate-45 rounded-full bg-current transition duration- role="dialog" aria-modal="true" aria-label="Site menu" - class="fixed top-21 right-3 bottom-3.5 left-3 h-auto w-auto origin-top -translate-y-2 scale-y-90 overflow-y-scroll overscroll-contain rounded-2xl bg-gray-100/50 opacity-0 ring-1 ring-gray-200/80 backdrop-blur-2xl transition transition-discrete duration-300 open:translate-y-0 open:scale-y-100 open:opacity-100 min-[500px]:right-3.5 min-[500px]:left-3.5 dark:bg-black/50 dark:text-white dark:ring-gray-700/70 starting:open:-translate-y-2 starting:open:scale-y-0 starting:open:opacity-0" + class="fixed top-20 right-3 bottom-3.5 left-3 w-auto origin-top -translate-y-2 scale-y-90 overflow-y-scroll overscroll-contain rounded-2xl bg-gray-200/50 opacity-0 ring-1 ring-gray-200/80 backdrop-blur-2xl transition transition-discrete duration-300 open:translate-y-0 open:scale-y-100 open:opacity-100 min-[500px]:right-3.5 min-[500px]:left-3.5 dark:bg-black/50 dark:text-white dark:ring-gray-700/70 starting:open:-translate-y-2 starting:open:scale-y-0 starting:open:opacity-0" > -