fix 🐛 : last fix for display or hide button
This commit is contained in:
parent
0ffaaaa425
commit
7fa8a1151d
8 changed files with 27 additions and 14 deletions
|
|
@ -57,7 +57,7 @@
|
|||
justify-content: center;
|
||||
padding: 18px 76px 18px 1px;
|
||||
background: #fff;
|
||||
clip-path: polygon(-1px 4.17%, 38.25% 11px, 70.5% -0.66%, 100% 0, 100.00% 91.67%, 0 94.17%);
|
||||
clip-path: polygon(-1px 4.17%, 38.25% 11px, 70.5% -0.66%, 100% 0, 103.50% 105.84%, 0 94.17%);
|
||||
color: $color-hex-gc-brown;
|
||||
}
|
||||
|
||||
|
|
@ -83,10 +83,9 @@
|
|||
height: 42px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-width: 5px;
|
||||
border-style: solid;
|
||||
|
||||
/* stylelint-disable-next-line declaration-property-value-no-unknown */
|
||||
border-color: transparent $color-hex-gc-yellow transparent transparent;
|
||||
border: 5px solid $color-hex-gc-brown;
|
||||
border-radius: 4px;
|
||||
color: transparent;
|
||||
font-size: 28px;
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@
|
|||
|
||||
.gc-info-deco--left {
|
||||
top: 75%;
|
||||
left: -27%;
|
||||
left: -19%;
|
||||
width: 230px;
|
||||
height: 150px;
|
||||
}
|
||||
|
|
@ -91,7 +91,7 @@
|
|||
|
||||
.gc-info-deco--right {
|
||||
top: 21.21%;
|
||||
right:-30%;
|
||||
right:-22%;
|
||||
width: 280px;
|
||||
height: 190px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@
|
|||
<i class="fa-solid fa-check"></i>
|
||||
</span>
|
||||
<span>
|
||||
J’ai lu et j’accepte <a href="#" target="_blank">le règlement du jeu*</a>
|
||||
J’ai lu et j’accepte <a href="{{ route('fo.rules.show') }}" target="_blank">le règlement du jeu*</a>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -32,9 +32,11 @@
|
|||
</div>
|
||||
|
||||
<div class="idea-wave mx-auto mb-4 mb-md-5"></div>
|
||||
<a href="{{ $startVote ? route('club.golden-crush') : "#" }}" class="idea-btn">
|
||||
JE PARTICIPE <i class="fa-solid fa-arrow-right"></i>
|
||||
</a>
|
||||
@if ($startVote)
|
||||
<a href="{{ route('club.golden-crush') }}" class="idea-btn">
|
||||
JE PARTICIPE <i class="fa-solid fa-arrow-right"></i>
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
'logoImage' => null,
|
||||
'buttonLabel' => 'je participe',
|
||||
'buttonHref' => '#',
|
||||
'showButton' => false,
|
||||
])
|
||||
|
||||
<section class="hero-section hero-bg position-relative overflow-hidden" id="hero">
|
||||
|
|
@ -23,7 +24,7 @@
|
|||
@endif
|
||||
</div>
|
||||
|
||||
@if($buttonHref)
|
||||
@if($showButton)
|
||||
<div class="row pt-2 pt-md-3">
|
||||
<div class="col-12 d-flex justify-content-center">
|
||||
<a href="{{ $buttonHref }}" class="btn-participe">
|
||||
|
|
|
|||
|
|
@ -8,7 +8,12 @@
|
|||
@section('content')
|
||||
<div class="gldc">
|
||||
|
||||
<x-fo.page-golden-crush.hero :product-image="Vite::asset('resources/assets/images/golden-crush/dotation_ninja.png')" :logo-image="Vite::asset('resources/assets/images/golden-crush/ninja_noir.svg')" button-label="accéder au club" :button-href="route('club.golden-crush')">
|
||||
<x-fo.page-golden-crush.hero
|
||||
:product-image="Vite::asset('resources/assets/images/golden-crush/dotation_ninja.png')"
|
||||
:logo-image="Vite::asset('resources/assets/images/golden-crush/ninja_noir.svg')"
|
||||
button-label="accéder au club"
|
||||
button-href="{{ route('club.golden-crush') }}"
|
||||
:show-button="true">
|
||||
<x-fo.page-golden-crush.paper-card class="hero-card mx-auto"
|
||||
content-class="text-center px-3 px-sm-5 px-lg-5 py-5 py-lg-5">
|
||||
<h2 class="gc-hero-paper-title">
|
||||
|
|
|
|||
|
|
@ -8,7 +8,12 @@
|
|||
@section('content')
|
||||
<div class="gldc">
|
||||
|
||||
<x-fo.page-golden-crush.hero :product-image="Vite::asset('resources/assets/images/golden-crush/dotation_ninja.png')" :logo-image="Vite::asset('resources/assets/images/golden-crush/ninja_noir.svg')" button-label="accéder au club" :button-href="route('club.golden-crush')">
|
||||
<x-fo.page-golden-crush.hero
|
||||
:product-image="Vite::asset('resources/assets/images/golden-crush/dotation_ninja.png')"
|
||||
:logo-image="Vite::asset('resources/assets/images/golden-crush/ninja_noir.svg')"
|
||||
button-label="accéder au club"
|
||||
button-href="{{ route('club.golden-crush') }}"
|
||||
:show-button="true">
|
||||
<x-fo.page-golden-crush.paper-card class="hero-card mx-auto"
|
||||
content-class="text-center px-3 px-sm-5 px-lg-5 py-5 py-lg-5">
|
||||
<h2 class="gc-hero-paper-title">
|
||||
|
|
|
|||
|
|
@ -11,7 +11,8 @@
|
|||
:product-image="Vite::asset('resources/assets/images/golden-crush/dotation_ninja.png')"
|
||||
:logo-image="Vite::asset('resources/assets/images/golden-crush/ninja_noir.svg')"
|
||||
button-label="je participe"
|
||||
:button-href="$startVote ? route('club.golden-crush') : null"
|
||||
button-href="{{ route('club.golden-crush') }}"
|
||||
:show-button="$startVote"
|
||||
>
|
||||
<x-fo.page-golden-crush.paper-card
|
||||
class="hero-card mx-auto"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue