|
|
@ -14,15 +14,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
<section class="selector">
|
|
|
|
<section class="selector">
|
|
|
|
<div class="apac">
|
|
|
|
<div class="apac">
|
|
|
|
<span class="overlay"></span>
|
|
|
|
<span class="unoverlay"></span>
|
|
|
|
<img alt="Regional Rumble APAC Logo" src="https://cms.aplesports.com/storage/uploads/2023/09/18/65086296b79fcrr23-brand-logo-asia-white.png" />
|
|
|
|
<img alt="Regional Rumble APAC Logo" src="https://cms.aplesports.com/storage/uploads/2023/09/18/65086296b79fcrr23-brand-logo-asia-white.png" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="me">
|
|
|
|
<div class="me">
|
|
|
|
<span class="overlay"></span>
|
|
|
|
<span class="unoverlay"></span>
|
|
|
|
<img alt="Regional Rumble MENA Logo" src="https://cms.aplesports.com/storage/uploads/2023/09/18/6508629a9ba86rr23-brand-logo-mena-white.png" />
|
|
|
|
<img alt="Regional Rumble MENA Logo" src="https://cms.aplesports.com/storage/uploads/2023/09/18/6508629a9ba86rr23-brand-logo-mena-white.png" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="ssa">
|
|
|
|
<div class="ssa">
|
|
|
|
<span class="overlay"></span>
|
|
|
|
<span class="unoverlay"></span>
|
|
|
|
<img alt="Regional Rumble SSA Logo" src="https://cms.aplesports.com/storage/uploads/2023/09/18/6508629d08e60rr23-brand-logo-ssa-white.png" />
|
|
|
|
<img alt="Regional Rumble SSA Logo" src="https://cms.aplesports.com/storage/uploads/2023/09/18/6508629d08e60rr23-brand-logo-ssa-white.png" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
@ -36,6 +36,20 @@
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: 'RegionalRumble',
|
|
|
|
name: 'RegionalRumble',
|
|
|
|
mounted() {
|
|
|
|
mounted() {
|
|
|
|
|
|
|
|
const h = document.querySelector('header');
|
|
|
|
|
|
|
|
const container = document.querySelector('.rumble');
|
|
|
|
|
|
|
|
container.addEventListener('scroll', () => {
|
|
|
|
|
|
|
|
if(container.scrollTop > 128) {
|
|
|
|
|
|
|
|
if(!h.classList.contains('scroll')) {
|
|
|
|
|
|
|
|
h.classList.add('scroll')
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
if(h.classList.contains('scroll')) {
|
|
|
|
|
|
|
|
h.classList.remove('scroll')
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
const apac = document.querySelector('.apac')[0];
|
|
|
|
const apac = document.querySelector('.apac')[0];
|
|
|
|
const apac_overlay = document.querySelector('.apac span');
|
|
|
|
const apac_overlay = document.querySelector('.apac span');
|
|
|
|
const me = document.querySelector('.me')[0];
|
|
|
|
const me = document.querySelector('.me')[0];
|
|
|
|