This commit is contained in:
HolgerHatGarKeineNode
2023-02-08 18:02:23 +01:00
parent fe73706743
commit 5996160f77
3 changed files with 5 additions and 3 deletions

View File

@@ -15,6 +15,8 @@ class Header extends Component
public string $c = 'de';
public string $l = 'de';
public $bgColor = 'bg-21gray';
protected $queryString = ['l'];
public function rules()

View File

@@ -1,5 +1,5 @@
<div class="bg-21gray h-screen justify-between">
<livewire:frontend.header :country="$country"/>
<div class="bg-black h-screen justify-between">
<livewire:frontend.header :country="$country" bgColor="bg-black"/>
{{-- MAIN --}}
<section class="w-full mb-12">
<div class="max-w-screen-2xl mx-auto px-2 sm:px-10">

View File

@@ -2,7 +2,7 @@
<section class="w-full">
<div class="max-w-screen-2xl mx-auto px-2 sm:px-10">
<div
class="relative sm:sticky sm:top-0 bg-21gray z-10 flex flex-col flex-wrap items-center justify-between py-7 mx-auto md:flex-row max-w-screen-2xl space-y-4">
class="relative sm:sticky sm:top-0 {{ $bgColor }} z-10 flex flex-col flex-wrap items-center justify-between py-7 mx-auto md:flex-row max-w-screen-2xl space-y-4">
<div>
<div class="relative flex flex-col md:flex-row">
<a href="{{ route('welcome', ['c' => $c, 'l' => $l]) }}"