mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
bg-color
This commit is contained in:
@@ -15,6 +15,8 @@ class Header extends Component
|
|||||||
public string $c = 'de';
|
public string $c = 'de';
|
||||||
public string $l = 'de';
|
public string $l = 'de';
|
||||||
|
|
||||||
|
public $bgColor = 'bg-21gray';
|
||||||
|
|
||||||
protected $queryString = ['l'];
|
protected $queryString = ['l'];
|
||||||
|
|
||||||
public function rules()
|
public function rules()
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<div class="bg-21gray h-screen justify-between">
|
<div class="bg-black h-screen justify-between">
|
||||||
<livewire:frontend.header :country="$country"/>
|
<livewire:frontend.header :country="$country" bgColor="bg-black"/>
|
||||||
{{-- MAIN --}}
|
{{-- MAIN --}}
|
||||||
<section class="w-full mb-12">
|
<section class="w-full mb-12">
|
||||||
<div class="max-w-screen-2xl mx-auto px-2 sm:px-10">
|
<div class="max-w-screen-2xl mx-auto px-2 sm:px-10">
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<section class="w-full">
|
<section class="w-full">
|
||||||
<div class="max-w-screen-2xl mx-auto px-2 sm:px-10">
|
<div class="max-w-screen-2xl mx-auto px-2 sm:px-10">
|
||||||
<div
|
<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>
|
||||||
<div class="relative flex flex-col md:flex-row">
|
<div class="relative flex flex-col md:flex-row">
|
||||||
<a href="{{ route('welcome', ['c' => $c, 'l' => $l]) }}"
|
<a href="{{ route('welcome', ['c' => $c, 'l' => $l]) }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user