Skip to content

Commit 4fb1c33

Browse files
scott graysonscott grayson
authored andcommitted
Match help layout background to welcome page
- Replace plain gray background with white + gradient decorations - Add blue/red gradient blur elements matching welcome page - Remove dark mode background (not used on welcome page) - Provides consistent visual experience across public pages
1 parent 92b51fd commit 4fb1c33

File tree

1 file changed

+25
-13
lines changed

1 file changed

+25
-13
lines changed

resources/views/layouts/help.blade.php

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,32 @@
3030
@endif
3131
</head>
3232

33-
<body class="font-sans text-gray-900 antialiased">
34-
<div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0 bg-gray-100 dark:bg-gray-900">
35-
<div class="mt-4 mb-4">
36-
<a href="/" class="block">
37-
@if(file_exists(public_path('logo.png')))
38-
<img src="{{ asset('logo.png') }}" alt="{{ config('app.name') }}" class="h-16 w-auto max-w-xs">
39-
@else
40-
<x-application-logo class="h-16 w-auto fill-current text-gray-500" />
41-
@endif
42-
</a>
43-
</div>
33+
<body class="font-sans antialiased">
34+
<div class="bg-white">
35+
<div class="relative isolate pt-14">
36+
<div class="absolute inset-x-0 overflow-hidden -top-40 -z-10 transform-gpu blur-3xl sm:-top-80" aria-hidden="true">
37+
<div class="relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-blue-300 to-blue-500 opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]" style="clip-path: polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"></div>
38+
</div>
39+
40+
<div class="min-h-screen flex flex-col sm:justify-center items-center py-12">
41+
<div class="mt-4 mb-4">
42+
<a href="/" class="block">
43+
@if(file_exists(public_path('logo.png')))
44+
<img src="{{ asset('logo.png') }}" alt="{{ config('app.name') }}" class="h-16 w-auto max-w-xs">
45+
@else
46+
<x-application-logo class="h-16 w-auto fill-current text-gray-500" />
47+
@endif
48+
</a>
49+
</div>
50+
51+
<div class="w-full max-w-full sm:max-w-5xl mt-6 mx-4 mb-4 px-6 py-4 bg-white shadow-md overflow-hidden sm:rounded-lg">
52+
{{ $slot }}
53+
</div>
54+
</div>
4455

45-
<div class="max-w-full sm:max-w-5xl mt-6 mx-4 mb-4 px-6 py-4 bg-white dark:bg-gray-800 shadow-md overflow-hidden sm:rounded-lg">
46-
{{ $slot }}
56+
<div class="absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]" aria-hidden="true">
57+
<div class="relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-red-500 to-red-700 opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]" style="clip-path: polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"></div>
58+
</div>
4759
</div>
4860
</div>
4961

0 commit comments

Comments
 (0)