Skip to content
Snippets Groups Projects
Commit 85ca548d authored by Emmanuel Salomon's avatar Emmanuel Salomon :fist:
Browse files

Merge branch 'midiland/monnaie-libre-fr-fix_css_footer'

parents cd6e5a5a ff09e9bf
No related branches found
No related tags found
1 merge request!6fix css on footer and update G1Crowdfunding
Pipeline #12287 passed
<template> <template>
<div class="overflow-hidden whitespace-nowrap relative"> <div class="lg:flex-nowrap flex-wrap justify-between relative">
<slot <slot
name="stats" name="stats"
:node="node" :node="node"
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
:issuers="issuers" :issuers="issuers"
:graph="graph" :graph="graph"
> >
<div class="mr-8 pt-2 leading-5"> <div class="leading-5 px-2 lg:px-0">
<div v-if="unit === 'DU'"> <div v-if="unit === 'DU'">
<span v-if="total && dividend" class="text-xl font-bold"> <span v-if="total && dividend" class="text-xl font-bold">
{{ {{
...@@ -28,31 +28,39 @@ ...@@ -28,31 +28,39 @@
</span> </span>
{{ ' Ğ1' }} {{ ' Ğ1' }}
</div> </div>
<div class="font-extralight"> <div class="text-xl font-extralight">
{{ `Montant collecté en ${months} mois` }} {{ `Montant collecté en ${months} mois` }}
</div> </div>
</div> </div>
<div class="mr-8 pt-2 leading-5"> <div class="leading-5 px-2 lg:px-0">
<div class="text-xl font-bold">{{ issuers.length }}</div> <div class="text-xl font-bold">{{ issuers.length }}</div>
<div class="font-extralight">{{ 'Donneurs' }}</div> <div class="text-xl font-extralight">{{ 'Donneurs' }}</div>
</div> </div>
</slot> </slot>
<div class="flex items-center pt-2"> <div
<slot name="button" :on-click="onClick"> class="flex items-center w-full lg:w-max justify-center px-2 lg:px-0 pt-2 lg:pt-0"
<t-button :text="buttonText" @click="onClick" /> >
<slot
v-if="!isKeyCopied"
name="button"
class="w-full lg:w-max"
:on-click="onClick"
>
<t-button class="w-full lg:w-max" @click="onClick">
{{ buttonText }}
</t-button>
</slot> </slot>
</div> <t-button
v-else
<div class="absolute"> variant="success"
<t-alert variant="success" :show="isKeyCopied"> class="w-full lg:w-max"
<div class="flex items-center"> @click="onClick"
<div>Clé copiée :</div> >
<div class="ml-2 select-all text-xs" v-text="pubkey" /> <fa icon="check" />
</div> Clé copiée
<div>Ouvrez Césium pour faire votre don. Merci !</div> </t-button>
</t-alert>
</div> </div>
</div> </div>
</template> </template>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
class="flex" class="flex"
> >
<template #button="{ onClick }"> <template #button="{ onClick }">
<t-button @click="onClick"> <t-button @click="onClick" class="w-full lg:w-max">
<fa icon="heart"></fa><span class="ml-2">Je participe !</span> <fa icon="heart"></fa><span class="ml-2">Je participe !</span>
</t-button> </t-button>
</template> </template>
...@@ -29,7 +29,9 @@ ...@@ -29,7 +29,9 @@
</div> </div>
</div> </div>
<div class="w-full sm:w-1/2 md:w-1/2 pl-8 flex justify-between"> <div
class="w-full flex flex-col pl-0 sm:w-1/2 sm:items-start sm:pl-8 md:justify-around md:flex-row"
>
<div> <div>
<h3 class="text-3xl py-4">Sections</h3> <h3 class="text-3xl py-4">Sections</h3>
<ul> <ul>
......
...@@ -78,6 +78,7 @@ export default { ...@@ -78,6 +78,7 @@ export default {
'faHeart', 'faHeart',
'faInfoCircle', 'faInfoCircle',
'faCheckCircle', 'faCheckCircle',
'faCheck',
'faExclamationCircle', 'faExclamationCircle',
'faExclamationTriangle', 'faExclamationTriangle',
'faExternalLinkAlt', 'faExternalLinkAlt',
......
...@@ -50,6 +50,8 @@ const settings = { ...@@ -50,6 +50,8 @@ const settings = {
'block px-4 py-2 transition duration-100 ease-in-out rounded hover:shadow-sm hover:underline hover:bg-white hover:bg-opacity-50 focus:ring-2 focus:ring-blue-500 focus:outline-none focus:ring-opacity-50 disabled:opacity-50 disabled:cursor-not-allowed', 'block px-4 py-2 transition duration-100 ease-in-out rounded hover:shadow-sm hover:underline hover:bg-white hover:bg-opacity-50 focus:ring-2 focus:ring-blue-500 focus:outline-none focus:ring-opacity-50 disabled:opacity-50 disabled:cursor-not-allowed',
custom: custom:
'block px-4 py-2 text-white transition duration-100 ease-in-out border border-transparent rounded shadow-sm focus:border-blue-500 focus:ring-2 focus:ring-blue-500 focus:outline-none focus:ring-opacity-50 disabled:opacity-50 disabled:cursor-not-allowed', 'block px-4 py-2 text-white transition duration-100 ease-in-out border border-transparent rounded shadow-sm focus:border-blue-500 focus:ring-2 focus:ring-blue-500 focus:outline-none focus:ring-opacity-50 disabled:opacity-50 disabled:cursor-not-allowed',
success:
'text-white bg-green-500 border border-transparent shadow-sm rounded hover:bg-green-600 block px-4 py-2 transition duration-100 ease-in-out focus:border-green-500 focus:ring-2 focus:ring-green-500 focus:outline-none focus:ring-opacity-50 disabled:opacity-50 disabled:cursor-not-allowed',
}, },
}, },
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment