2023-06-21 09:53:21 -04:00
|
|
|
import './bootstrap';
|
2023-07-29 02:05:43 -04:00
|
|
|
import.meta.glob([
|
|
|
|
'../img/**',
|
|
|
|
'../fonts/**'
|
|
|
|
]);
|
|
|
|
|
2023-12-10 16:10:32 -05:00
|
|
|
import { Livewire, Alpine } from '../../vendor/livewire/livewire/dist/livewire.esm';
|
|
|
|
//import Alpine from 'alpinejs';
|
2023-06-21 09:53:21 -04:00
|
|
|
|
|
|
|
window.Alpine = Alpine;
|
|
|
|
|
2023-12-10 16:10:32 -05:00
|
|
|
Livewire.start();
|
2023-07-29 02:05:43 -04:00
|
|
|
|
|
|
|
import './main';
|
2023-12-10 16:10:32 -05:00
|
|
|
(function ($) {
|
|
|
|
eqHeightWalletLeaderboard();
|
|
|
|
$(window).resize(function() {
|
|
|
|
eqHeightWalletLeaderboard();
|
|
|
|
});
|
|
|
|
function eqHeightWalletLeaderboard() {
|
|
|
|
let walletHeight = 0;
|
|
|
|
let leaderboardHeight = 0;
|
|
|
|
$('section.wallet-setup .card-block-style-one').each(function() {
|
|
|
|
if ($(this).outerHeight() > walletHeight) {
|
|
|
|
walletHeight = $(this).outerHeight();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
$('.top-seller-style-one').each(function() {
|
|
|
|
if ($(this).outerHeight() > leaderboardHeight) {
|
|
|
|
leaderboardHeight = $(this).outerHeight();
|
|
|
|
}
|
|
|
|
})
|
|
|
|
$('section.wallet-setup .card-block-style-one').css('min-height', walletHeight + 'px');
|
|
|
|
$('.top-seller-style-one').css('min-height', leaderboardHeight + 'px');
|
|
|
|
}
|
|
|
|
})(jQuery, window);
|