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Effect, useState } from 'react'\nimport { useTranslation } from 'react-i18next';\nimport { Link } from 'react-router-dom'\nimport Loader from './common/Loader';\nimport { faFacebook, faInstagram, faLinkedin, faTiktok, faXTwitter, faYoutube } from '@fortawesome/free-brands-svg-icons';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport headerLogo from \"../utils/images/logo.png\";\nimport orangetick from \"../utils/images/orange_tick.png\";\nimport orangeround from \"../utils/images/orange_round_tick.png\";\n\nconst Footer = () => {\n\n const [footerData, setFooterData] = useState(null);\n const [loading, setLoading] = useState(true);\n const [error, setError] = useState(null);\n const { i18n, t } = useTranslation();\n useEffect(() => {\n const fetchFooterData = async () => {\n try {\n setLoading(true);\n const response = await axios.get(process.env.REACT_APP_API_KEY + '/api/global-settings/show');\n setFooterData(response.data.data);\n setLoading(false);\n } catch (err) {\n setError('Failed to fetch footer data');\n setLoading(false);\n }\n };\n\n fetchFooterData();\n }, []);\nconsole.log('foo1terDatafoot1erDatafoot1erDatafoo1terData', footerData);\n if (loading) return ;\n if (error) return

{error}

;\n\n\n return (\n <>\n {/* */}\n \n \n )\n}\n\nexport default Footer"],"names":["Footer","footerData","setFooterData","useState","loading","setLoading","error","setError","i18n","t","useTranslation","useEffect","async","response","axios","get","process","data","err","fetchFooterData","console","log","_jsx","Loader","children","_Fragment","_jsxs","className","Link","to","src","headerLogo","instagram_link","target","rel","FontAwesomeIcon","icon","faInstagram","youtube_link","faYoutube","tiktok_link","faTiktok","facebook_link","faFacebook","twitter_link","faXTwitter","linkedin_link","faLinkedin","orangeround","alt"],"sourceRoot":""}