новый дизайн

This commit is contained in:
2026-07-25 18:36:45 +04:00
parent df7f98fe8b
commit c43a73e148
54 changed files with 4234 additions and 1110 deletions
+10 -3
View File
@@ -2,6 +2,7 @@
namespace Tests\Feature;
use Inertia\Testing\AssertableInertia as Assert;
use Tests\TestCase;
class LandingPageTest extends TestCase
@@ -11,8 +12,14 @@ class LandingPageTest extends TestCase
$response = $this->get(route('landing.index'));
$response->assertOk();
$response->assertSee('Создать игровой аккаунт');
$response->assertSee(config('moonwell.realm.server_name'));
$response->assertInertia(fn (Assert $page) => $page
->component('Landing/Main', false)
->where('realm.server_name', config('moonwell.realm.server_name'))
->where('legalUrls.published', false)
->where('legalUrls.offer', null)
->where('legalUrls.privacy', null)
->etc()
);
}
public function test_landing_page_uses_https_assets_behind_proxy(): void
@@ -26,6 +33,6 @@ class LandingPageTest extends TestCase
])->get(route('landing.index'));
$response->assertOk();
$response->assertSee('href="https://moon-well.online/site.css"', false);
$response->assertSee('href="https://moon-well.online/build/assets/', false);
}
}