diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png index c2efef6..b617799 100644 Binary files a/public/apple-touch-icon.png and b/public/apple-touch-icon.png differ diff --git a/public/favicon.ico b/public/favicon.ico index 236fadb..a4c2836 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/favicon.svg b/public/favicon.svg index e4e710e..fa56807 100644 --- a/public/favicon.svg +++ b/public/favicon.svg @@ -1,3 +1,16 @@ - - + + + + + + + + + + + + + + + diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index 13545d0..67bec52 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -1,202 +1,267 @@ - + - - - - {{ __('Welcome') }} - {{ config('app.name', 'Laravel') }} - - - - - - @fonts - - - + @include('partials.head', ['title' => 'Fluent Chat']) - -
- @if (Route::has('login')) - - @endif -
-
-
-
-

Let's get started

-

Laravel has an incredibly rich ecosystem.
We suggest starting with the following.

- - + + + {{ __('Skip to content') }} + + +
+
+ -
- {{-- Laravel Logo --}} - - - - - - - - - - {{-- 13 --}} - - - - - - - - - - - - +
+
- - - - - - - - - - - +
+ + FC + Fluent Chat + - - - - - - - - - - - + +
- - - - - - - - - - - - -
+
+
+
+ + {{ __('Private team messaging with files built in') }} +
+ +

+ Fluent Chat +

+ +

+ A polished workspace for direct messages, group conversations, secure file sharing, and fast team context without the weight of a noisy collaboration suite. +

+ +
+ @auth + + {{ __('Open dashboard') }} + + + @else + @if (Route::has('login')) + + {{ __('Enter workspace') }} + + + @endif + + @if (Route::has('register')) + + {{ __('Create account') }} + + @endif + @endauth +
+ +
+
+
{{ __('Rooms') }}
+
{{ __('Direct + group') }}
+
+
+
{{ __('Files') }}
+
{{ __('Private storage') }}
+
+
+
{{ __('Security') }}
+
{{ __('2FA ready') }}
+
+
+
{{ __('Speed') }}
+
{{ __('Livewire powered') }}
+
+
+
-
-
+ - @if (Route::has('login')) - - @endif +
+
+
+
+
+ +
+

{{ __('Focused conversations') }}

+

+ Searchable direct and group rooms with clear unread state, smooth selection, and a layout built for daily use. +

+
+ +
+
+ +
+

{{ __('Files in context') }}

+

+ Attachments live beside the conversation and remain available from the details panel when the thread moves on. +

+
+ +
+
+ +
+

{{ __('Account protection') }}

+

+ Profile settings, password updates, and two-factor authentication are ready for a real team workspace. +

+
+
+
+
+
+ + @fluxScripts diff --git a/tests/Feature/WelcomePageTest.php b/tests/Feature/WelcomePageTest.php new file mode 100644 index 0000000..c9fdea3 --- /dev/null +++ b/tests/Feature/WelcomePageTest.php @@ -0,0 +1,37 @@ +get(route('home')) + ->assertOk() + ->assertSee('Fluent Chat') + ->assertSee('Private team messaging with files built in') + ->assertSee('Enter workspace') + ->assertSee('Files in context') + ->assertSee(route('login'), false); +}); + +test('authenticated users see the dashboard call to action', function () { + $user = User::factory()->create(); + + $this->actingAs($user) + ->get(route('home')) + ->assertOk() + ->assertSee('Open dashboard') + ->assertSee(route('dashboard'), false); +}); + +test('favicon assets are branded for fluent chat', function () { + $svg = file_get_contents(public_path('favicon.svg')); + + expect($svg) + ->toContain('Fluent Chat') + ->not->toContain('#FF2D20'); + + expect(public_path('favicon.ico')) + ->toBeFile() + ->and(filesize(public_path('favicon.ico')))->toBeGreaterThan(1000) + ->and(public_path('apple-touch-icon.png'))->toBeFile() + ->and(filesize(public_path('apple-touch-icon.png')))->toBeGreaterThan(1000); +});