From efe13190eaf1bb7fee036dc938492ef5cb8cd830 Mon Sep 17 00:00:00 2001 From: HassanZahirnia Date: Wed, 24 Sep 2025 16:43:02 +0330 Subject: [PATCH 01/10] Add Bifrost section and button to explainer and navigation components --- .../views/components/bifrost-button.blade.php | 100 ++++++++++++++++++ .../views/components/home/explainer.blade.php | 61 +++++++++++ .../views/components/navigation-bar.blade.php | 13 ++- 3 files changed, 172 insertions(+), 2 deletions(-) create mode 100644 resources/views/components/bifrost-button.blade.php diff --git a/resources/views/components/bifrost-button.blade.php b/resources/views/components/bifrost-button.blade.php new file mode 100644 index 00000000..40fbdc53 --- /dev/null +++ b/resources/views/components/bifrost-button.blade.php @@ -0,0 +1,100 @@ +@props([ + 'small' => false, +]) + + diff --git a/resources/views/components/home/explainer.blade.php b/resources/views/components/home/explainer.blade.php index dc69f4b0..54f27b14 100644 --- a/resources/views/components/home/explainer.blade.php +++ b/resources/views/components/home/explainer.blade.php @@ -570,4 +570,65 @@ class="absolute -top-20 -right-20 -z-10 size-60 rounded-full bg-gradient-to-r fr > + + {{-- Bifrost --}} +
+
+
+

+ And when you've built your app, Ship it! +

+

+ Get it to the stores and into the hands of users as fast as + humanly possible with Bifrost" +

+
+ +
+ +
+ + {{-- Top gradient line --}} +
+ + {{-- Left blur --}} +
+
+
+ + {{-- Right blur --}} +
+
+
+
+
diff --git a/resources/views/components/navigation-bar.blade.php b/resources/views/components/navigation-bar.blade.php index 64f391c3..0e8b1e14 100644 --- a/resources/views/components/navigation-bar.blade.php +++ b/resources/views/components/navigation-bar.blade.php @@ -153,9 +153,16 @@ class="size-[3px] rotate-45 rounded-xs bg-gray-400 transition duration-200 dark: {{-- Login/Logout --}} @feature(App\Features\ShowAuthButtons::class) @auth -
+ @csrf -
@@ -185,6 +192,8 @@ class="-mr-0.5 transition-all duration-200 ease-in-out will-change-transform" aria-label="Search documentation" > + + From dbea11d658b6c1e540df771a817a47c46e40ae87 Mon Sep 17 00:00:00 2001 From: HassanZahirnia Date: Wed, 24 Sep 2025 16:52:49 +0330 Subject: [PATCH 02/10] Refactor Bifrost button text and update styles in docsearch and navigation components --- resources/css/docsearch.css | 11 ++--------- resources/views/components/bifrost-button.blade.php | 4 ++-- resources/views/components/home/explainer.blade.php | 11 +++++++++-- resources/views/components/navigation-bar.blade.php | 12 +++--------- 4 files changed, 16 insertions(+), 22 deletions(-) diff --git a/resources/css/docsearch.css b/resources/css/docsearch.css index 12587e55..d4aa9f96 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 dark:bg-black/30; + @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; } .DocSearch-Button:hover { @@ -28,15 +28,8 @@ @apply text-gray-500 dark:text-white/60; } -@media (max-width: 768px) { - .DocSearch-Button-Keys, - .DocSearch-Button-Placeholder { - display: block; - } -} - .DocSearch-Button-Placeholder { - @apply px-1 text-sm text-black/60 transition duration-300 min-[520px]:pr-10 dark:text-white/60; + @apply px-1 text-sm text-black/60 transition duration-300 xl:pr-5 dark:text-white/60; } .DocSearch-Button-Keys { diff --git a/resources/views/components/bifrost-button.blade.php b/resources/views/components/bifrost-button.blade.php index 40fbdc53..be3787d5 100644 --- a/resources/views/components/bifrost-button.blade.php +++ b/resources/views/components/bifrost-button.blade.php @@ -79,7 +79,7 @@ class="inline-grid font-medium" - Try Bifrost + Try Bifrost! - {{ $small ? 'Ship!' : 'Ship your app!' }} + {{ $small ? 'Ship' : 'Ship your app!' }} diff --git a/resources/views/components/home/explainer.blade.php b/resources/views/components/home/explainer.blade.php index 54f27b14..f6b1dccc 100644 --- a/resources/views/components/home/explainer.blade.php +++ b/resources/views/components/home/explainer.blade.php @@ -614,17 +614,24 @@ class="text-2xl font-bold text-gray-800 lg:text-3xl dark:text-white" {{-- Top gradient line --}} {{-- Left blur --}} -
+ {{-- Right blur --}} -
+