61 lines
3 KiB
PHP
61 lines
3 KiB
PHP
<!DOCTYPE html>
|
|
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="light">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title inertia>{{ config('app.name') }}</title>
|
|
|
|
<x-uwil-common::head.robots />
|
|
<x-uwil-common::head.canonical />
|
|
<x-uwil-common::head.hreflang />
|
|
<x-uwil-common::head.og />
|
|
<x-uwil-common::head.favicon prefix="favicons-back" mask-icon-color="#0150a8" tile-color="#0150a8" theme-color="#0150a8" />
|
|
|
|
<!-- Scripts -->
|
|
@routes(nonce: $nonce ?? '')
|
|
@if (app()->hasDebugModeEnabled())
|
|
@viteReactRefresh
|
|
@endif
|
|
@vite(["resources/ts/{$page['component']}.tsx", 'resources/sass/back/app.scss'])
|
|
@inertiaHead
|
|
</head>
|
|
|
|
<body>
|
|
<noscript>
|
|
<main class="flex min-h-screen flex-col justify-center items-center px-8">
|
|
<section class="container grid grid-cols-1 gap-6 text-center mx-auto my-auto">
|
|
<a href="{{ route(config('uwil-backend.routes.name') . 'dashboard.index') }}"
|
|
class="w-full max-w-[10rem] mx-auto rounded-md ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2">
|
|
<img src={{ Vite::asset('resources/assets/images/logos/uwil-support-dark.svg') }} alt="UWIL Support logo"
|
|
class="w-auto mx-auto max-h-full" />
|
|
</a>
|
|
<h1 class="text-4xl font-extrabold text-center tracking-tight lg:text-5xl">
|
|
{{ trans('uwil-backend::back.noscript_title') }}
|
|
</h1>
|
|
<p class="text-sm md:text-base max-w-md text-center mx-auto">
|
|
{{ trans('uwil-backend::back.noscript_description') }}
|
|
</p>
|
|
@if (route(config('uwil-backend.routes.name') . 'dashboard.index') !== '/')
|
|
<div class="flex flex-col sm:flex-row items-center justify-center gap-4">
|
|
<a href="/"
|
|
class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 border border-input bg-background hover:bg-accent hover:text-accent-foreground h-10 px-4 py-2">
|
|
{{ trans('uwil-backend::back.your_website') }}
|
|
</a>
|
|
</div>
|
|
@endif
|
|
</section>
|
|
<section class="relative flex flex-col justify-center items-center w-full py-4 z-2">
|
|
<div class="shrink-0 bg-border h-[1px] w-full"></div>
|
|
<p class="text-sm text-muted-foreground pt-4">
|
|
uwil/{{ strtolower(config('app.name')) }} - UWIL © {{ date('Y') }}
|
|
</p>
|
|
</section>
|
|
</main>
|
|
</noscript>
|
|
@inertia
|
|
</body>
|
|
|
|
</html>
|