|
|
@@ -1,9 +1,32 @@
|
|
|
import styles from './styles.module.scss';
|
|
|
import {NavLink} from "react-router-dom";
|
|
|
import {ROUTE_PATH} from "@constants/routes";
|
|
|
+import React, {useEffect, useRef} from "react";
|
|
|
+import {stringFormat} from "@utils/helpers";
|
|
|
const i18n=global.i18n;
|
|
|
const Footer=()=>{
|
|
|
- const renderGameing=()=>{
|
|
|
+ const anjRef = useRef(null);
|
|
|
+ useEffect(()=>{
|
|
|
+ if(window.anj_75ede18c_13d5_4b2c_ae69_043e5c00f765){
|
|
|
+ window.anj_75ede18c_13d5_4b2c_ae69_043e5c00f765.init()
|
|
|
+ }
|
|
|
+ },[])
|
|
|
+ useEffect(()=>{
|
|
|
+ if (anjRef.current!=null){
|
|
|
+ let ganj=document.getElementById('anj-75ede18c-13d5-4b2c-ae69-043e5c00f765');
|
|
|
+ if (ganj!=null){
|
|
|
+ anjRef.current['innerHTML']=ganj.innerHTML;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },[anjRef.current])
|
|
|
+ const renderAnjBasic=()=>{
|
|
|
+ return (
|
|
|
+ <div ref={anjRef} id="anj-75ede18c-13d5-4b2c-ae69-043e5c00f765"
|
|
|
+ data-anj-seal-id="75ede18c-13d5-4b2c-ae69-043e5c00f765"
|
|
|
+ data-anj-image-size="60" data-anj-image-type="basic-small"></div>
|
|
|
+ )
|
|
|
+ }
|
|
|
+ const renderGameing = () => {
|
|
|
return (
|
|
|
<div className={styles.footer_block}>
|
|
|
<div className={styles.tit}>{i18n.t('footer.game_res')}</div>
|
|
|
@@ -24,19 +47,30 @@ const Footer=()=>{
|
|
|
</a>
|
|
|
</div>
|
|
|
<div className={styles.gameing_item18}>
|
|
|
- <a href="https://www.ouro777.com/protect.html" keep-scroll-position="true" rel="noopener noreferrer" className="">
|
|
|
- <img src="https://cdn.ouro777.com/img/18.png" style={{width:'40px'}} />
|
|
|
- </a>
|
|
|
+ {/*<a href="https://www.ouro777.com/protect.html" keep-scroll-position="true" rel="noopener noreferrer" className="">*/}
|
|
|
+ {/* <img src="https://cdn.ouro777.com/img/18.png" style={{width:'40px'}} />*/}
|
|
|
+ {/*</a>*/}
|
|
|
+ <NavLink to={ROUTE_PATH.PROTECT_MINORS}>
|
|
|
+ <img src="https://cdn.ouro777.com/img/18.png" style={{width: '40px'}}/>
|
|
|
+ </NavLink>
|
|
|
+ </div>
|
|
|
+ <div className={styles.gameing_item_anj}>
|
|
|
+ {renderAnjBasic()}
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
)
|
|
|
}
|
|
|
- const renderPolicy=()=>{
|
|
|
+ const renderPolicy = () => {
|
|
|
+ let domain="24680.com";
|
|
|
+ let email="cs@24680.com";
|
|
|
return (
|
|
|
<div className={styles.footer_block}>
|
|
|
+ <div className={styles.footer_copyright}>
|
|
|
+ {stringFormat(i18n.t('footer.copyright'),[domain,email])}
|
|
|
+ </div>
|
|
|
<div>
|
|
|
- <NavLink to={ROUTE_PATH.PRIVACY}>{i18n.t("footer.privacy_policy")}</NavLink>
|
|
|
+ <NavLink to={ROUTE_PATH.PRIVACY}>{i18n.t("footer.privacy_policy")}</NavLink>
|
|
|
{" | "}
|
|
|
<NavLink to={ROUTE_PATH.SERVICES}>{i18n.t("footer.terms_of_service")}</NavLink>
|
|
|
{" | "}
|