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cesContent":["import React,{useContext,useState,useEffect} from 'react';\r\nimport { MyContext } from '../contexts/MyContext';\r\nimport {Link} from 'react-router-dom';\r\nimport {Oval} from 'react-loader-spinner';\r\nimport { FiArrowUp } from \"react-icons/fi\";\r\nimport { WEB_URL_UPLOAD } from '../contexts/Apilinks';\r\nimport './Footer.css';\r\nimport logoblack from '../assets/img/logo.png';\r\nlet BaseURLuploads = WEB_URL_UPLOAD;\r\n\r\nfunction Footer() {\r\n const {addnewsletters} = useContext(MyContext);\r\n useEffect( () => {\r\n window.addEventListener('scroll', toggleVisibility);\r\n }, []);\r\n const getCurrentYear = () => {\r\n return new Date().getFullYear();\r\n };\r\n const [is_visible, set_visible] = useState(false);\r\n const scrollToTop =()=> {\r\n window.scrollTo({\r\n top: 0,\r\n behavior: \"smooth\"\r\n });\r\n }\r\n const toggleVisibility =()=> {\r\n if (window.pageYOffset > 700) {\r\n set_visible(true);\r\n } else {\r\n set_visible(false);\r\n }\r\n }\r\n \r\n const [loadingsss, setloadingsss] = useState(false);\r\n const [isErrorMsg, setErrorMsg] = useState(null);\r\n const [isSuccessMsg, setSuccessMsg] = useState(null);\r\n const newsletteremails = async (event) =>{\r\n try{\r\n setloadingsss(true);\r\n event.preventDefault();\r\n event.persist();\r\n const data = await addnewsletters(newsletteruserInfo);\r\n if(data.success === true){\r\n setloadingsss(false);\r\n setSuccessMsg(data.msg);\r\n setnewsletteruserInfo({\r\n ...newsletteruserInfo,\r\n firstname: '',\r\n lastname:'',\r\n email:'',\r\n myinbox:'',\r\n });\r\n }else{\r\n setloadingsss(false);\r\n setErrorMsg(data.msg);\r\n }\r\n } catch (error) { throw error;} \r\n }\r\n\r\n const [newsletteruserInfo, setnewsletteruserInfo] = useState({\r\n firstname: '',\r\n lastname:'',\r\n email:'',\r\n myinbox:'',\r\n });\r\n \r\n const onChangeValue = (e) => {\r\n setnewsletteruserInfo({\r\n ...newsletteruserInfo,\r\n [e.target.name]:e.target.value\r\n });\r\n } \r\n\r\n\r\n\r\n return (\r\n <>\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n

Newsletter

\r\n \r\n

Subscribe to our newsletter to get news book trailers/books, products, Articles, Poems and author interviews... etc.

\r\n {isErrorMsg !== null && (

<>{isErrorMsg}

)}\r\n {isSuccessMsg !== null && (

<>{isSuccessMsg}

)}\r\n
\r\n \r\n {loadingsss ? <>\r\n \r\n :\r\n \r\n } \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n
    \r\n
  • Home
  • \r\n
  • About
  • \r\n
  • Author Interview
  • \r\n
  • Books
  • \r\n
  • Book Trailers
  • \r\n
  • Publishers
  • \r\n
  • Articles
  • \r\n
  • Poems
  • \r\n \r\n
\r\n\r\n
    \r\n
  • Contact Us
  • \r\n
  • Terms Of Service
  • \r\n
  • Privacy Policy
  • \r\n
  • Cancellation & Refund Policy
  • \r\n
  • Shipping Policy
  • \r\n
\r\n\r\n\r\n
\r\n

www.authoriview(dot)com | Authoriview © All Rights Reserved - {getCurrentYear()}

\r\n
\r\n
\r\n {is_visible && ( <>\r\n \t\r\n )}\r\n
\r\n
\r\n
\r\n\r\n \r\n );\r\n}\r\n\r\nexport default Footer;\r\n","import React,{useEffect,useContext,useState} from 'react';\r\nimport { MyContext } from '../../contexts/MyContext';\r\nimport {NavLink} from 'react-router-dom';\r\nimport {FiAlignRight, FiXCircle, FiChevronDown } from \"react-icons/fi\";\r\nimport logo from '../../assets/img/logo.png';\r\nimport './Menus.css';\r\nimport { AiOutlineUser, } from \"react-icons/ai\";\r\nimport { BiSearchAlt } from \"react-icons/bi\";\r\n\r\n\r\nconst Navbarmenu = (props) => {\r\n const {rootState} = useContext(MyContext);\r\n const {isAuthPro,theUserProID} = rootState;\r\n const [isMenu, setisMenu] = useState(false);\r\n const [isResponsiveclose, setResponsiveclose] = useState(false);\r\n const toggleClass = () => {\r\n setisMenu(isMenu === false ? true : false);\r\n setResponsiveclose(isResponsiveclose === false ? true : false);\r\n };\r\n let boxClass = [\"main__menu default__menu\"];\r\n if(isMenu) {\r\n boxClass.push('responsive___menu');\r\n }else{\r\n boxClass.push('');\r\n }\r\n const [isMenuSubMenu, setMenuSubMenu] = useState(false);\r\n const toggleSubmenu = () => {\r\n setMenuSubMenu(isMenuSubMenu === false ? true : false);\r\n setMenuSubMenutwo(false);\r\n };\r\n \r\n let boxClassSubMenu = [\"sub__menus\"];\r\n if(isMenuSubMenu) {\r\n boxClassSubMenu.push('sub__menus__Active');\r\n }else {\r\n boxClassSubMenu.push('');\r\n }\r\n\r\n const [isMenuSubMenutwo, setMenuSubMenutwo] = useState(false);\r\n const toggleSubmenutwo = () => {\r\n setMenuSubMenutwo(isMenuSubMenutwo === false ? true : false);\r\n setMenuSubMenu(false);\r\n };\r\n let boxClassSubMenutwo = [\"sub__menus\"];\r\n if(isMenuSubMenutwo) {\r\n boxClassSubMenutwo.push('sub__menustwo__Active');\r\n }else {\r\n boxClassSubMenutwo.push('');\r\n }\r\n \r\n return (\r\n
\r\n
\r\n
\r\n
\r\n {/* Add Logo */}\r\n
\r\n isActive ? \"is-active\" : \"\"} to=\"/\">\r\n {props.pages === 'homes' ? \r\n \"logo\" \r\n : \r\n \"logo\" \r\n }\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n\t
\r\n \r\n
\r\n )\r\n}\r\nexport default Navbarmenu"],"names":["WEB_URL_UPLOAD","addnewsletters","useContext","MyContext","useEffect","window","addEventListener","toggleVisibility","useState","is_visible","set_visible","pageYOffset","loadingsss","setloadingsss","isErrorMsg","setErrorMsg","isSuccessMsg","setSuccessMsg","newsletteremails","event","preventDefault","persist","newsletteruserInfo","data","success","msg","setnewsletteruserInfo","firstname","lastname","email","myinbox","className","onSubmit","type","name","value","onChange","e","target","placeholder","required","color","height","width","style","float","id","to","Date","getFullYear","onClick","scrollTo","top","behavior","props","rootState","isAuthPro","theUserProID","isMenu","setisMenu","isResponsiveclose","setResponsiveclose","toggleClass","boxClass","push","isMenuSubMenu","setMenuSubMenu","boxClassSubMenu","isMenuSubMenutwo","setMenuSubMenutwo","boxClassSubMenutwo","stickysss","isActive","pages","src","logo","alt","title","display","join","class"],"sourceRoot":""}