Verified Commit ad5f21f4 authored by Korko's avatar Korko
Browse files

Prefer BMC as Paypal

parent f18d8f82
Pipeline #365600 passed with stages
in 4 minutes and 33 seconds
......@@ -49,7 +49,7 @@ HASHIDS_SALT_BOUNCE=
NOCAPTCHA_SITEKEY=
NOCAPTCHA_SECRET=
PAYPAL_ME=
BMC_ME=
BROADCAST_DRIVER=pusher
......
......@@ -256,4 +256,6 @@ return [
],
'bmc' => env('BMC_ME'),
];
<?php
return [
'me' => env('PAYPAL_ME'),
];
......@@ -12703,6 +12703,39 @@ footer .row {
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
@font-face {
font-family: Cookie;
src: url(/fonts/Cookie-Regular.ttf?1a26c990eb18bc85f1fe12a3416d57cf) format("truetype");
}
.bmc-button {
line-height: 36px !important;
height: 37px !important;
text-decoration: none !important;
display: inline-flex !important;
color: #ffffff !important;
background-color: #FF813F !important;
border-radius: 3px !important;
border: 1px solid transparent !important;
padding: 1px 9px !important;
font-size: 22px !important;
letter-spacing: 0.6px !important;
box-shadow: 0px 1px 2px rgba(190, 190, 190, 0.5) !important;
-webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;
margin: 0 auto !important;
font-family: "Cookie", cursive !important;
box-sizing: border-box !important;
transition: 0.3s all linear !important;
}
.bmc-button img {
width: 27px !important;
margin-bottom: 1px !important;
box-shadow: none !important;
border: none !important;
vertical-align: middle !important;
}
/**
Wasted
**/
......
......@@ -12701,6 +12701,39 @@ footer .row {
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
@font-face {
font-family: Cookie;
src: url(/fonts/Cookie-Regular.ttf?1a26c990eb18bc85f1fe12a3416d57cf) format("truetype");
}
.bmc-button {
line-height: 36px !important;
height: 37px !important;
text-decoration: none !important;
display: inline-flex !important;
color: #ffffff !important;
background-color: #FF813F !important;
border-radius: 3px !important;
border: 1px solid transparent !important;
padding: 1px 9px !important;
font-size: 22px !important;
letter-spacing: 0.6px !important;
box-shadow: 0px 1px 2px rgba(190, 190, 190, 0.5) !important;
-webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;
margin: 0 auto !important;
font-family: "Cookie", cursive !important;
box-sizing: border-box !important;
transition: 0.3s all linear !important;
}
.bmc-button img {
width: 27px !important;
margin-bottom: 1px !important;
box-shadow: none !important;
border: none !important;
vertical-align: middle !important;
}
#form form {
margin-bottom: 20px;
}
......
......@@ -12701,6 +12701,39 @@ footer .row {
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
@font-face {
font-family: Cookie;
src: url(/fonts/Cookie-Regular.ttf?1a26c990eb18bc85f1fe12a3416d57cf) format("truetype");
}
.bmc-button {
line-height: 36px !important;
height: 37px !important;
text-decoration: none !important;
display: inline-flex !important;
color: #ffffff !important;
background-color: #FF813F !important;
border-radius: 3px !important;
border: 1px solid transparent !important;
padding: 1px 9px !important;
font-size: 22px !important;
letter-spacing: 0.6px !important;
box-shadow: 0px 1px 2px rgba(190, 190, 190, 0.5) !important;
-webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;
margin: 0 auto !important;
font-family: "Cookie", cursive !important;
box-sizing: border-box !important;
transition: 0.3s all linear !important;
}
.bmc-button img {
width: 27px !important;
margin-bottom: 1px !important;
box-shadow: none !important;
border: none !important;
vertical-align: middle !important;
}
#content {
padding-top: 140px;
padding-bottom: 60px;
......
......@@ -12701,6 +12701,39 @@ footer .row {
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
@font-face {
font-family: Cookie;
src: url(/fonts/Cookie-Regular.ttf?1a26c990eb18bc85f1fe12a3416d57cf) format("truetype");
}
.bmc-button {
line-height: 36px !important;
height: 37px !important;
text-decoration: none !important;
display: inline-flex !important;
color: #ffffff !important;
background-color: #FF813F !important;
border-radius: 3px !important;
border: 1px solid transparent !important;
padding: 1px 9px !important;
font-size: 22px !important;
letter-spacing: 0.6px !important;
box-shadow: 0px 1px 2px rgba(190, 190, 190, 0.5) !important;
-webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;
margin: 0 auto !important;
font-family: "Cookie", cursive !important;
box-sizing: border-box !important;
transition: 0.3s all linear !important;
}
.bmc-button img {
width: 27px !important;
margin-bottom: 1px !important;
box-shadow: none !important;
border: none !important;
vertical-align: middle !important;
}
.table td {
vertical-align: middle !important;
}
......
......@@ -12701,6 +12701,39 @@ footer .row {
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
@font-face {
font-family: Cookie;
src: url(/fonts/Cookie-Regular.ttf?1a26c990eb18bc85f1fe12a3416d57cf) format("truetype");
}
.bmc-button {
line-height: 36px !important;
height: 37px !important;
text-decoration: none !important;
display: inline-flex !important;
color: #ffffff !important;
background-color: #FF813F !important;
border-radius: 3px !important;
border: 1px solid transparent !important;
padding: 1px 9px !important;
font-size: 22px !important;
letter-spacing: 0.6px !important;
box-shadow: 0px 1px 2px rgba(190, 190, 190, 0.5) !important;
-webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;
margin: 0 auto !important;
font-family: "Cookie", cursive !important;
box-sizing: border-box !important;
transition: 0.3s all linear !important;
}
.bmc-button img {
width: 27px !important;
margin-bottom: 1px !important;
box-shadow: none !important;
border: none !important;
vertical-align: middle !important;
}
fieldset[disabled] .multiselect {
pointer-events: none;
}
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -658,3 +658,41 @@ footer .row {
background-color: #444444;
box-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
@font-face {
font-family: Cookie;
src: url(../fonts/Cookie-Regular.ttf) format('truetype');
}
.bmc-button {
line-height: 36px !important;
height: 37px !important;
text-decoration: none !important;
display: inline-flex !important;
color: #ffffff !important;
background-color: #FF813F !important;
border-radius: 3px !important;
border: 1px solid transparent !important;
padding: 1px 9px !important;
font-size: 22px !important;
letter-spacing: 0.6px !important;
box-shadow: 0px 1px 2px rgba(190, 190, 190, 0.5) !important;
-webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;
margin: 0 auto !important;
font-family: 'Cookie', cursive !important;
-webkit-box-sizing: border-box !important;
box-sizing: border-box !important;
-o-transition: 0.3s all linear !important;
-webkit-transition: 0.3s all linear !important;
-moz-transition: 0.3s all linear !important;
-ms-transition: 0.3s all linear !important;
transition: 0.3s all linear !important;
}
.bmc-button img {
width: 27px !important;
margin-bottom: 1px !important;
box-shadow: none !important;
border: none !important;
vertical-align: middle !important;
}
\ No newline at end of file
@if (config('app.bmc'))
<a class="bmc-button" target="_blank" href="https://www.buymeacoffee.com/{{ config('app.bmc') }}" rel="noopener noreferrer">
<img src="/images/BMC Logo - Black.png" alt="Offrez moi un café"><span style="margin-left:5px">Offrez moi un café</span>
</a>
@endif
@if (config('paypal.me'))
<a href="https://www.paypal.me/{{ config('paypal.me') }}">
<img src="/images/paypal.gif">
</a>
@endif
......@@ -55,7 +55,7 @@
<div class="card w-100">
<div class="bg-light card-body">
<h6 class="card-title">@lang('form.fyi')</h6>
<p class="card-text">{!! nl2br(trans('form.section.what.notice', ['button' => str_replace("\n", '', view('partials.paypalButton'))])) !!}</p>
<p class="card-text">{!! nl2br(trans('form.section.what.notice', ['button' => str_replace("\n", '', view('partials.bmcButton'))])) !!}</p>
</div>
</div>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment