Crowdfund public UI re-design (#2918)

* Patch bootstrap-vue modal close button

For Bootstrap v5 compatibility, which bootstrap-vue does not have currently.

* Crowdfund: Use common global layout head (and themes)

* Crowdfund: Display disabled alert also for simple variant

* Crowdfund: Unify non-JS/simple and JS-enabled view

* Improve fireworks animation

* Improve layout

Inspired by the Bitcoin Smiles compaign, see  #2783

* Cleanup and remove views

* Fix typo

* Fix test
This commit is contained in:
d11n
2021-09-27 04:46:56 +02:00
committed by GitHub
parent bd6c7a8c3d
commit a3afcd2a6e
13 changed files with 452 additions and 575 deletions

View File

@@ -129,7 +129,7 @@
slots = _ref.slots;
var componentData = {
staticClass: 'close',
staticClass: 'btn-close',
class: defineProperty({}, 'text-' + props.textVariant, props.textVariant),
attrs: {
type: 'button',
@@ -147,7 +147,7 @@
}
// Careful not to override the slot with innerHTML
};if (!slots().default) {
componentData.domProps = { innerHTML: '×' };
componentData.domProps = { innerHTML: '<svg role="img" class="icon icon-close"><use href="/img/icon-sprite.svg#close"></use></svg>' };
}
return h('button', mergeData(data, componentData), slots().default);
}