const footerLinks = document.querySelectorAll('.footer-social-links-wrapper a'); if (footerLinks) { for (const footerLink of footerLinks) { let key = footerLink.dataset.key; if (key === 'linkedin') { footerLink.href = 'https://www.linkedin.com/company/raisemyfunds/'; } else if (key === 'instagram') { footerLink.href = 'https://www.instagram.com/raisemyfunds/'; } else if (key === 'discord') { footerLink.href = 'https://discord.com/invite/5P8ke7mTYu'; } else if (key === 'tik-tok') { footerLink.href = 'https://www.tiktok.com/@raisemyfunds'; } else if (key === 'kick') { footerLink.href = 'https://kick.com/raisemyfundsfr'; } else if (key === 'youtube') { footerLink.href = 'https://www.youtube.com/@RaiseMyFunds'; } } } // const faqSection = document.getElementById('sec-faqs-main-france'); //if (faqSection) { //faqSection.remove(); //} const currentURL = window.location.href; if (currentURL) { // FAQ Page const platformsForTrading = document.querySelector('.platforms-for-trading'); // Challenge Page const raiseMyFundsChallenge = document.querySelector('.start-raise-my-funds-challenge'); const platformsForTradingChallenge = document.querySelector('.platforms-for-trading-challenge'); // FAQ Page const raiseMyFunds = document.querySelector('.what-is-raise-my-funds'); const shouldTrustYourCompany = document.querySelector('.should-trust-your-company'); const becomeRaiseMyFundsTrader = document.querySelector('.become-raise-my-funds-trader'); const theChallenge = document.querySelector('.the-challenge'); const theConfirmation = document.querySelector('.the-confirmation'); const respectTheRule = document.querySelector('.respect-the-rule'); const tradeEconomicNews = document.querySelector('.trade-economic-news'); const strategyAllowedToUse = document.querySelector('.strategy-allowed-to-use'); const fundedAccount = document.querySelector('.funded-account'); const whereCanIPayout = document.querySelector('.where-can-i-payout'); if (currentURL == 'https://raisemyfunds.co/fr/faq/') { raiseMyFunds.setAttribute('src', 'https://www.youtube.com/embed/E1dHa5ioep0'); shouldTrustYourCompany.setAttribute('src', 'https://www.youtube.com/embed/kr8krKxeplA'); becomeRaiseMyFundsTrader.setAttribute('src', 'https://www.youtube.com/embed/i_ArFAoWTxo'); theChallenge.setAttribute('src', 'https://www.youtube.com/embed/yUV_IRmdV3s'); theConfirmation.setAttribute('src', 'https://www.youtube.com/embed/3Ohm5BUWRQc'); respectTheRule.setAttribute('src', 'https://www.youtube.com/embed/uz1-ZrbnIwM'); tradeEconomicNews.setAttribute('src', 'https://www.youtube.com/embed/YotVwUSV2Ok'); strategyAllowedToUse.setAttribute('src', 'https://www.youtube.com/embed/dV44Mn7phY4'); fundedAccount.setAttribute('src', 'https://www.youtube.com/embed/wyng2QI_Zkw'); whereCanIPayout.setAttribute('src', 'https://www.youtube.com/embed/2RDn-CEs6A4'); } else { raiseMyFunds.remove(); shouldTrustYourCompany.remove(); becomeRaiseMyFundsTrader.remove(); theChallenge.remove(); theConfirmation.remove(); respectTheRule.remove(); tradeEconomicNews.remove(); strategyAllowedToUse.remove(); fundedAccount.remove(); whereCanIPayout.remove(); } // if (currentURL == 'https://raisemyfunds.co/faq/') { // platformsForTrading.remove(); // } if (currentURL == 'https://raisemyfunds.co/the-challenge/') { raiseMyFundsChallenge.remove(); platformsForTradingChallenge.remove(); } } const popup = document.querySelector('.france-popup'); if (popup) { popup.remove(); }