mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 03:01:34 +00:00
Update packages
This commit is contained in:
+6
-6
@@ -11,18 +11,18 @@
|
||||
"devDependencies": {
|
||||
"@tailwindcss/forms": "^0.5.11",
|
||||
"@tailwindcss/vite": "^4.3.3",
|
||||
"axios": "1.19.0",
|
||||
"axios": "1.20.0",
|
||||
"lodash": "^4.18.1",
|
||||
"npm-check-updates": "^23.0.2",
|
||||
"npm-check-updates": "^23.1.0",
|
||||
"prettier": "3.9.6",
|
||||
"prettier-plugin-blade": "3.2.2",
|
||||
"prettier-plugin-blade": "3.3.0",
|
||||
"prettier-plugin-tailwindcss": "^0.7.4",
|
||||
"tailwindcss": "^4.3.3",
|
||||
"vite": "^8.2",
|
||||
"vue": "^3.5.41"
|
||||
"vue": "^3.5.42"
|
||||
},
|
||||
"dependencies": {
|
||||
"@alpinejs/csp": "^3.15.12",
|
||||
"@alpinejs/csp": "^3.16.3",
|
||||
"@fortawesome/fontawesome-free": "^7.3.1",
|
||||
"@melloware/coloris": "^0.25.0",
|
||||
"@simonwep/pickr": "^1.10.1",
|
||||
@@ -31,7 +31,7 @@
|
||||
"date-fns": "^4.4.0",
|
||||
"feather-icons": "^4.29.2",
|
||||
"laravel-echo": "^2.4.0",
|
||||
"laravel-vite-plugin": "^3.1",
|
||||
"laravel-vite-plugin": "^3.2",
|
||||
"nested-sort": "^5.2.0",
|
||||
"vuedraggable": "^4.1.0"
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
{{ ucfirst($userTheme) }}
|
||||
</span>
|
||||
</button>
|
||||
<a href="{{ url('/') }}" class="touch-target inline-flex items-center gap-2 rounded-xl px-3 py-2 text-sm font-medium text-white/75 transition hover:bg-white/10 hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-400" title="Back to site" aria-label="View site">
|
||||
<a href="{{ url($site['home_link'] ?? '/') }}" class="touch-target inline-flex items-center gap-2 rounded-xl px-3 py-2 text-sm font-medium text-white/75 transition hover:bg-white/10 hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-400" title="Back to site" aria-label="View site">
|
||||
<i class="fas fa-arrow-up-right-from-square" aria-hidden="true"></i><span class="hidden lg:inline">View site</span>
|
||||
</a>
|
||||
<a href="{{ route('logout') }}"
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
@auth
|
||||
<aside id="sidebar" class="layout-sidebar fixed inset-y-0 left-0 z-50 hidden h-full w-72 shrink-0 flex-col overflow-y-auto text-white md:static md:z-auto md:flex md:w-64" aria-label="Account navigation">
|
||||
<div class="layout-sidebar__brand flex items-center justify-between gap-3 p-4">
|
||||
<a href="{{ $site['home_link'] ?? url('/') }}" class="flex min-w-0 items-center gap-3 rounded-xl focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-400">
|
||||
<a href="{{ url($site['home_link'] ?? '/') }}" class="flex min-w-0 items-center gap-3 rounded-xl focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-400">
|
||||
<span class="layout-sidebar__logo flex h-11 w-11 shrink-0 items-center justify-center rounded-xl">
|
||||
<i class="fas fa-layer-group text-lg text-primary-300" aria-hidden="true"></i>
|
||||
</span>
|
||||
|
||||
@@ -51,6 +51,15 @@ class LayoutShellMarkupTest extends TestCase
|
||||
$this->assertStringContainsString('aria-label="Dismiss notification"', $this->view('partials/toast-notifications.blade.php'));
|
||||
}
|
||||
|
||||
public function test_site_header_links_use_the_configurable_home_setting(): void
|
||||
{
|
||||
$homeLink = "url(\$site['home_link'] ?? '/')";
|
||||
|
||||
$this->assertStringContainsString($homeLink, $this->view('layouts/main.blade.php'));
|
||||
$this->assertStringContainsString($homeLink, $this->view('layouts/admin.blade.php'));
|
||||
$this->assertStringNotContainsString('href="{{ url(\'/\') }}"', $this->view('layouts/admin.blade.php'));
|
||||
}
|
||||
|
||||
private function view(string $path): string
|
||||
{
|
||||
return $this->resource("views/{$path}");
|
||||
|
||||
Reference in New Issue
Block a user