Compare commits
4 commits
admin-secu
...
issue-20
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5352c36b89 | ||
|
|
998f7e0a8a | ||
|
|
568ebb9f2d | ||
|
|
0468e10854 |
9 changed files with 118 additions and 336 deletions
|
|
@ -46,11 +46,3 @@ GOOGLE_RECAPTCHA_PRIVATE=6LeQxHoUAAAAAOudkLY90DerM_ZtlaFfzTlJJvIo
|
|||
GOOGLE_RECAPTCHA_VERSION=2
|
||||
# - MAPS
|
||||
GOOGLE_MAPS_KEY=
|
||||
|
||||
# ADMIN SECURE
|
||||
# - API ENDPOINT (Optional)
|
||||
LDC_WEB_API_ENDPOINT=""
|
||||
# - API KEY
|
||||
LDC_WEB_API_KEY=""
|
||||
# - LIST SEPARATED WITH ',' (Optional)
|
||||
LDC_WEB_CIDR_MANUAL_ALLOWED_LIST=""
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@
|
|||
"laravel/framework": "^10.0",
|
||||
"laravel/tinker": "^2.8",
|
||||
"laravel/ui": "^4.2",
|
||||
"ldc/web-admin-secure-laravel": "^2.0",
|
||||
"mews/purifier": "^3.4",
|
||||
"sentry/sentry-laravel": "^3.3",
|
||||
"simplesoftwareio/simple-qrcode": "~4",
|
||||
|
|
|
|||
274
composer.lock
generated
274
composer.lock
generated
|
|
@ -4,7 +4,7 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "d2b801d090c7841b2252d7f52c74695e",
|
||||
"content-hash": "f0a8cc66fa344af2f43f9225aa53c315",
|
||||
"packages": [
|
||||
{
|
||||
"name": "bacon/bacon-qr-code",
|
||||
|
|
@ -1026,103 +1026,6 @@
|
|||
],
|
||||
"time": "2022-09-10T18:51:20+00:00"
|
||||
},
|
||||
{
|
||||
"name": "dxw/cidr",
|
||||
"version": "v3.1.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/dxw/cidr.git",
|
||||
"reference": "61d699459e9bddc7222ac1eb3ffc9ffcfdc2f546"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/dxw/cidr/zipball/61d699459e9bddc7222ac1eb3ffc9ffcfdc2f546",
|
||||
"reference": "61d699459e9bddc7222ac1eb3ffc9ffcfdc2f546",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"dxw/result": "^1.0",
|
||||
"phpseclib/phpseclib": "^2.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "^2.16",
|
||||
"mockery/mockery": "^1.3",
|
||||
"peridot-php/leo": "^1.6",
|
||||
"peridot-php/peridot": "^1.19",
|
||||
"peridot-php/peridot-dot-reporter": "^1.0",
|
||||
"vimeo/psalm": "^3.2"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Dxw\\CIDR\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Mallory Adams",
|
||||
"email": "mallory@dxw.com",
|
||||
"homepage": "https://www.dxw.com"
|
||||
}
|
||||
],
|
||||
"description": "IP address matching with CIDR ranges",
|
||||
"homepage": "https://github.com/dxw/cidr",
|
||||
"support": {
|
||||
"issues": "https://github.com/dxw/cidr/issues",
|
||||
"source": "https://github.com/dxw/cidr/tree/master"
|
||||
},
|
||||
"time": "2020-05-06T16:46:43+00:00"
|
||||
},
|
||||
{
|
||||
"name": "dxw/result",
|
||||
"version": "v1.0.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/dxw/result.git",
|
||||
"reference": "eaa71abf0f9bba74cf5c832811a3a66a887e86d2"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/dxw/result/zipball/eaa71abf0f9bba74cf5c832811a3a66a887e86d2",
|
||||
"reference": "eaa71abf0f9bba74cf5c832811a3a66a887e86d2",
|
||||
"shasum": ""
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "^2.15",
|
||||
"peridot-php/leo": "^1.6",
|
||||
"peridot-php/peridot": "^1.19",
|
||||
"peridot-php/peridot-dot-reporter": "^1.0",
|
||||
"vimeo/psalm": "^3.2"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Dxw\\Result\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Mallory Adams",
|
||||
"email": "mallory@dxw.com",
|
||||
"homepage": "https://www.dxw.com/"
|
||||
}
|
||||
],
|
||||
"description": "Result values",
|
||||
"homepage": "https://github.com/dxw/result",
|
||||
"support": {
|
||||
"issues": "https://github.com/dxw/result/issues",
|
||||
"source": "https://github.com/dxw/result/tree/v1.0.3"
|
||||
},
|
||||
"time": "2019-07-18T16:52:47+00:00"
|
||||
},
|
||||
{
|
||||
"name": "egulias/email-validator",
|
||||
"version": "4.0.1",
|
||||
|
|
@ -2491,71 +2394,6 @@
|
|||
},
|
||||
"time": "2023-05-09T19:47:28+00:00"
|
||||
},
|
||||
{
|
||||
"name": "ldc/web-admin-secure-laravel",
|
||||
"version": "2.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://lab.s-web.fr/ldc-web/projets/ldc-web-admin-secure-laravel.git",
|
||||
"reference": "5f0c6b136fd967102bafeefa3048ffd47dbbc9be"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://lab.s-web.fr/api/v4/projects/20/packages/composer/archives/ldc/web-admin-secure-laravel.zip?sha=5f0c6b136fd967102bafeefa3048ffd47dbbc9be",
|
||||
"reference": "5f0c6b136fd967102bafeefa3048ffd47dbbc9be",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"dxw/cidr": "^3.1",
|
||||
"illuminate/support": "~10",
|
||||
"laravel/framework": "~10",
|
||||
"php": ">=8.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"orchestra/testbench": "^8",
|
||||
"phpunit/php-code-coverage": "^9",
|
||||
"phpunit/phpunit": "^9",
|
||||
"slevomat/coding-standard": "^7",
|
||||
"squizlabs/php_codesniffer": "^3"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"LDC\\WebAdminSecureLaravel\\AdminSecureServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"LDC\\WebAdminSecureLaravel\\": "src/"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"LDC\\WebAdminSecureLaravel\\Tests\\": "tests"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"test": [
|
||||
"vendor/bin/phpunit"
|
||||
],
|
||||
"post-autoload-dump": [
|
||||
"@php ./vendor/bin/testbench package:discover --ansi"
|
||||
]
|
||||
},
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Vincent BRIDIER",
|
||||
"email": "vincent.bridier@ldc.fr",
|
||||
"homepage": "https://www.ldc.fr"
|
||||
}
|
||||
],
|
||||
"description": "Restrict access to LDC Network"
|
||||
},
|
||||
{
|
||||
"name": "league/commonmark",
|
||||
"version": "2.4.0",
|
||||
|
|
@ -4236,116 +4074,6 @@
|
|||
],
|
||||
"time": "2023-02-25T19:38:58+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpseclib/phpseclib",
|
||||
"version": "2.0.42",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpseclib/phpseclib.git",
|
||||
"reference": "665d289f59e646a259ebf13f29be7f6f54cab24b"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/665d289f59e646a259ebf13f29be7f6f54cab24b",
|
||||
"reference": "665d289f59e646a259ebf13f29be7f6f54cab24b",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"phing/phing": "~2.7",
|
||||
"phpunit/phpunit": "^4.8.35|^5.7|^6.0|^9.4",
|
||||
"squizlabs/php_codesniffer": "~2.0"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.",
|
||||
"ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.",
|
||||
"ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.",
|
||||
"ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations.",
|
||||
"ext-xml": "Install the XML extension to load XML formatted public keys."
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"files": [
|
||||
"phpseclib/bootstrap.php"
|
||||
],
|
||||
"psr-4": {
|
||||
"phpseclib\\": "phpseclib/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Jim Wigginton",
|
||||
"email": "terrafrost@php.net",
|
||||
"role": "Lead Developer"
|
||||
},
|
||||
{
|
||||
"name": "Patrick Monnerat",
|
||||
"email": "pm@datasphere.ch",
|
||||
"role": "Developer"
|
||||
},
|
||||
{
|
||||
"name": "Andreas Fischer",
|
||||
"email": "bantu@phpbb.com",
|
||||
"role": "Developer"
|
||||
},
|
||||
{
|
||||
"name": "Hans-Jürgen Petrich",
|
||||
"email": "petrich@tronic-media.com",
|
||||
"role": "Developer"
|
||||
},
|
||||
{
|
||||
"name": "Graham Campbell",
|
||||
"email": "graham@alt-three.com",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.",
|
||||
"homepage": "http://phpseclib.sourceforge.net",
|
||||
"keywords": [
|
||||
"BigInteger",
|
||||
"aes",
|
||||
"asn.1",
|
||||
"asn1",
|
||||
"blowfish",
|
||||
"crypto",
|
||||
"cryptography",
|
||||
"encryption",
|
||||
"rsa",
|
||||
"security",
|
||||
"sftp",
|
||||
"signature",
|
||||
"signing",
|
||||
"ssh",
|
||||
"twofish",
|
||||
"x.509",
|
||||
"x509"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/phpseclib/phpseclib/issues",
|
||||
"source": "https://github.com/phpseclib/phpseclib/tree/2.0.42"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
"url": "https://github.com/terrafrost",
|
||||
"type": "github"
|
||||
},
|
||||
{
|
||||
"url": "https://www.patreon.com/phpseclib",
|
||||
"type": "patreon"
|
||||
},
|
||||
{
|
||||
"url": "https://tidelift.com/funding/github/packagist/phpseclib/phpseclib",
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-03-06T12:45:53+00:00"
|
||||
},
|
||||
{
|
||||
"name": "psr/container",
|
||||
"version": "2.0.2",
|
||||
|
|
|
|||
|
|
@ -57,7 +57,9 @@ return [
|
|||
* ]
|
||||
*
|
||||
*/
|
||||
'queryConditions' => [],
|
||||
'queryConditions' => [
|
||||
'status' => true,
|
||||
],
|
||||
|
||||
/**
|
||||
* The default route frequency to use with sitemap generator
|
||||
|
|
|
|||
37
resources/views/fo/layout-minimal.blade.php
Normal file
37
resources/views/fo/layout-minimal.blade.php
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
<!DOCTYPE html>
|
||||
<html dir="ltr" lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
|
||||
<head>
|
||||
@include('fo.layouts.head')
|
||||
<meta name="p:domain_verify" content="5f89c5d6c41555aa17ff8d26cc6661f2" />
|
||||
</head>
|
||||
|
||||
<body class="relative w-full min-h-screen font-roboto bg-hellgrau text-p lg:text-p-lg mt-[87px] scroll-smooth">
|
||||
<a name="top" id="top"></a>
|
||||
|
||||
@include('fo.layouts.header')
|
||||
|
||||
@yield('content')
|
||||
|
||||
@include('fo.layouts.footer')
|
||||
@include('fo.layouts.navigation')
|
||||
|
||||
|
||||
@include('fo.vendor.ldcweb-cookies')
|
||||
@stack('scripts-constants')
|
||||
@include('modules.script-constants')
|
||||
@stack('scripts')
|
||||
@vite(['resources/ts/fo.ts'])
|
||||
<script nonce="{{ $nonce }}">
|
||||
let mobileMenuOpen = false;
|
||||
|
||||
function toggleMobileMenuOpen() {
|
||||
mobileMenuOpen = !mobileMenuOpen;
|
||||
const navMenu = document.getElementById('navigationModule');
|
||||
navMenu.classList.toggle('hidden');
|
||||
navMenu.classList.toggle('flex');
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
@ -27,8 +27,10 @@
|
|||
</ul>
|
||||
</li>
|
||||
<li class="mr-6 mb-4 relative">
|
||||
@php $firstConcept = \App\Models\Concept::query()->firstOrFail(); @endphp
|
||||
@php $firstConcept = \App\Models\Concept::query()->first(); @endphp
|
||||
@if($firstConcept)
|
||||
<a href="{{ route('concept.show', ['concept' => $firstConcept]) }}">{{ __('Our concept') }}</a>
|
||||
@endif
|
||||
<ul class="xinvisible xgroup-hover:visible pl-8 lg:pl-0 lg:absolute lg:left-0 lg:right-auto w-max pt-2">
|
||||
@foreach ($conceptListGlobal as $concept)
|
||||
<li class="mt-2">
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
@endpush
|
||||
<a href="https://www.instagram.com/nature_and_respect/" class="hidden sm:inline-block mr-2 ml-[36px]" target="_blank"><img src="{{ Vite::asset('resources/assets/images/Icons/instagram-icon.svg') }}" alt="Instagram" class="w-8"></a>
|
||||
<a href="https://www.pinterest.de/natureandrespect" class="hidden sm:inline-block mr-0" target="_blank"><img src="{{ Vite::asset('resources/assets/images/Icons/pinterest-icon.svg') }}" alt="Pinterest" class="w-8"></a>
|
||||
<div class="ml-4 font-hobo text-p-lg">
|
||||
<div class="ml-4 font-hobo text-p-lg hidden lg:inline-block">
|
||||
@foreach (config('app.locales') as $locale)
|
||||
@if (!$loop->first)
|
||||
|
|
||||
|
|
|
|||
|
|
@ -2,53 +2,63 @@
|
|||
<nav class="main fixed top-0 left-0 z-[150] flex-col w-full h-screen font-semibold text-center bg-weiss p-0 hidden" id="navigationModule">
|
||||
<div class="relative w-full h-screen max-w-7xl mx-auto text-braun flex items-center">
|
||||
|
||||
<a id="menu-burger-link-close" class="absolute right-10 top-[16px] sm:right-[144px] sm:top-[34px] font-hobo text-p-lg cursor-pointer inline-flex items-center"><img class="w-4 mr-4" src="{{ Vite::asset('resources/assets/images/Icons/menu-close.svg') }}"> {{ __('Menu') }}</a>
|
||||
@push('scripts')
|
||||
<script nonce="{{ $nonce }}">
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
document.getElementById('menu-burger-link-close').addEventListener('click', () => toggleMobileMenuOpen());
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
<a href="">
|
||||
<img src="{{ Vite::asset('resources/assets/images/Icons/logo-nature-respect.svg') }}" alt="{{ __('Unternehmenslogo') }}" class="w-16 sm:w-[120px] absolute left-0 right-0 mx-auto top-2 sm:top-6">
|
||||
</a>
|
||||
<a id="menu-burger-link-close" class="absolute right-10 top-[16px] sm:right-[144px] sm:top-[34px] font-hobo text-p-lg cursor-pointer inline-flex items-center"><img class="w-4 mr-4" src="{{ Vite::asset('resources/assets/images/Icons/menu-close.svg') }}"> {{ __('Menu') }}</a>
|
||||
@push('scripts')
|
||||
<script nonce="{{ $nonce }}">
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
document.getElementById('menu-burger-link-close').addEventListener('click', () => toggleMobileMenuOpen());
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
<a href="">
|
||||
<img src="{{ Vite::asset('resources/assets/images/Icons/logo-nature-respect.svg') }}" alt="{{ __('Unternehmenslogo') }}" class="w-16 sm:w-[120px] absolute left-0 right-0 mx-auto top-2 sm:top-6">
|
||||
</a>
|
||||
|
||||
<ul id="frontend_menu" class="font-hobo text-left md:text-h3-md lg:text-h3-lg xl:text-h3 ml-6 md:ml-12">
|
||||
<li class="mb-2 block leading-[180%] relative">
|
||||
<a href="">{{ __('Home') }}</a>
|
||||
</li>
|
||||
<li class="mb-2 block leading-[180%] relative">
|
||||
@php $concept = \App\Models\Concept::query()->firstOrFail(); @endphp
|
||||
<a href="{{ route('concept.show', ['concept' => $concept]) }}">{{ __('Our concept') }}</a>
|
||||
<ul class="pl-8 sm:absolute sm:top-0 sm:left-full sm:pl-24 w-max">
|
||||
@foreach ($conceptListGlobal as $concept)
|
||||
<li class="mb-2 block leading-[180%]">
|
||||
<a class="block" href="{{ route('concept.show', ['concept' => $concept]) }}">{{ $concept->name }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
<li class="mb-2 block leading-[180%] relative">
|
||||
<a href="{{ route('products.index') }}">{{ __('Our products') }}</a>
|
||||
</li>
|
||||
<li class="mb-2 block leading-[180%] relative">
|
||||
<a href="{{ route('recipes.index') }}">{{ __('Our recipes') }}</a>
|
||||
</li>
|
||||
<li class="mb-2 block leading-[180%] relative">
|
||||
<a href="{{ route('storefinder.index') }}">{{ __('Store finder') }}</a>
|
||||
</li>
|
||||
<li class="mb-2 block leading-[180%] relative">
|
||||
<a href="{{ route('contact-form') }}">{{ __('Contact Us') }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul id="frontend_menu" class="font-hobo text-left md:text-h3-md lg:text-h3-lg xl:text-h3 ml-6 md:ml-12">
|
||||
<li class="mb-2 block leading-[180%] relative">
|
||||
<a href="">{{ __('Home') }}</a>
|
||||
</li>
|
||||
<li class="mb-2 block leading-[180%] relative">
|
||||
@php $concept = \App\Models\Concept::query()->first(); @endphp
|
||||
@if($concept)
|
||||
<a href="{{ route('concept.show', ['concept' => $concept]) }}">{{ __('Our concept') }}</a>
|
||||
@endif
|
||||
<ul class="pl-8 sm:absolute sm:top-0 sm:left-full sm:pl-24 w-max">
|
||||
@foreach ($conceptListGlobal as $concept)
|
||||
<li class="mb-2 block leading-[180%]">
|
||||
<a class="block" href="{{ route('concept.show', ['concept' => $concept]) }}">{{ $concept->name }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
<li class="mb-2 block leading-[180%] relative">
|
||||
<a href="{{ route('products.index') }}">{{ __('Our products') }}</a>
|
||||
</li>
|
||||
<li class="mb-2 block leading-[180%] relative">
|
||||
<a href="{{ route('recipes.index') }}">{{ __('Our recipes') }}</a>
|
||||
</li>
|
||||
<li class="mb-2 block leading-[180%] relative">
|
||||
<a href="{{ route('storefinder.index') }}">{{ __('Store finder') }}</a>
|
||||
</li>
|
||||
<li class="mb-2 block leading-[180%] relative">
|
||||
<a href="{{ route('contact-form') }}">{{ __('Contact Us') }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="absolute bottom-8 right-8 flex items-center font-hobo">
|
||||
{{ __('Follow us') }}
|
||||
<div class="absolute bottom-16 right-8 flex items-center font-hobo">
|
||||
{{ __('Follow us') }}
|
||||
|
||||
<a href="https://www.instagram.com/nature_and_respect/" class="inline-block mr-2 ml-5" target="_blank"><img src="{{ Vite::asset('resources/assets/images/Icons/instagram-icon.svg') }}" alt="Instagram" class="w-6"></a>
|
||||
<a href="https://www.pinterest.de/natureandrespect" class="inline-block mr-0" target="_blank"><img src="{{ Vite::asset('resources/assets/images/Icons/pinterest-icon.svg') }}" alt="Pinterest" class="w-6"></a>
|
||||
</div>
|
||||
<a href="https://www.instagram.com/nature_and_respect/" class="inline-block mr-2 ml-5" target="_blank"><img src="{{ Vite::asset('resources/assets/images/Icons/instagram-icon.svg') }}" alt="Instagram" class="w-6"></a>
|
||||
<a href="https://www.pinterest.de/natureandrespect" class="inline-block mr-0" target="_blank"><img src="{{ Vite::asset('resources/assets/images/Icons/pinterest-icon.svg') }}" alt="Pinterest" class="w-6"></a>
|
||||
</div>
|
||||
<div class="absolute bottom-8 right-8 font-hobo text-p-lg">
|
||||
@foreach (config('app.locales') as $locale)
|
||||
@if (!$loop->first)
|
||||
|
|
||||
@endif
|
||||
<a href="{{ route('home', [], true, $locale) }}" class="@if (app()->currentLocale() === $locale) text-hellgruen @endif">{{ Str::upper($locale) }}</a>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</nav>
|
||||
|
|
|
|||
26
resources/views/vendor/errors/404.blade.php
vendored
26
resources/views/vendor/errors/404.blade.php
vendored
|
|
@ -1,14 +1,26 @@
|
|||
@extends('fo.layout-frame')
|
||||
@php $nonce = $nonce ?? uniqid(); @endphp
|
||||
@extends('fo.layout-minimal')
|
||||
|
||||
@section('title', __('Not Found'))
|
||||
@section('description', __('Not Found'))
|
||||
@section('code', '404')
|
||||
@section('message', __('Not Found'))
|
||||
@section('submessage', __('We could not find the page'))
|
||||
|
||||
@section('image')
|
||||
<img src="{{ Vite::asset('resources/assets/images/Icons/404-grafik.svg') }}" class="inline max-w-sm w-full px-4" alt="{{ config('app.name') }}">
|
||||
@endsection
|
||||
|
||||
|
||||
@section('content')
|
||||
<div class="mx-auto max-w-7xl py-6 px-4 sm:px-8 mb-24 mt-32 text-center pt-16 pb-16">
|
||||
<img class="inline max-w-sm w-full px-4" src="{{ Vite::asset('resources/assets/images/Icons/404-grafik.svg') }}">
|
||||
<h1 class="font-scarletwood text-hellgruen text-[100px] leading-[100px] mt-8">404</h1>
|
||||
<p class="font-scarletwood text-hellgruen">{{ __('We could not find the page') }}</p>
|
||||
<a href="/" class="button brown inline-flex items-center px-4 my-2 mt-12 mr-6 text-sm text-white">
|
||||
<span>{{ __('Back to home page') }}</span>
|
||||
@yield('image')
|
||||
<h1 class="font-scarletwood text-hellgruen text-[100px] leading-[100px] mt-8">@yield('code', __('Oh no'))</h1>
|
||||
<p class="font-scarletwood text-hellgruen">@yield('message')</p>
|
||||
<p class="font-scarletwood text-hellgruen">@yield('submessage')</p>
|
||||
<a href="{{ app('router')->has('home') ? route('home') : url('/') }}" class="button brown inline-flex items-center px-4 my-2 mt-12 mr-6 text-sm text-white">
|
||||
<span>{{ __('Go to page :page', [
|
||||
'page' => __('home')
|
||||
]) }}</span>
|
||||
</a>
|
||||
</div>
|
||||
@endsection
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue