{"version":3,"sources":["page/Home.js","img/logo.png","page/search/SearchMenus.js","components/menu/Navbarmenu.js","components/Footer.js","components/Layout.js"],"names":["BaseURLuploads","WEB_URL_UPLOAD","Home","useContext","MyContext","rootState","Latesthomesall","Impressivehomesall","featuredhomesall","storageuserall","audiohomesall","isAuth","theUserID","useEffect","window","scrollTo","Latesthomes","Impressivehomes","featuredhomes","audiohomes","storageuserhomes","useState","isLatestall","setLatestall","ispremium","setpremium","isfeatured","setfeatured","isstorage","setstorage","setstorageuser","isaudio","setaudio","isstorageactive","setstorageactive","a","Latestsss","success","Latestall","data","ids","storagesss","storagesall","storagesuser","Impressivesss","premiumall","featuredsss","featuredall","audiohomesss","audiohomesssall","rel","href","className","length","to","audiobooks_id","audio_title","replace","src","audio_imagefront","alt","title","audio_price","audio_currency","slice","map","itempremium","index","imagefront","itemfeatured","name","format","withTitle","audio_date","dangerouslySetInnerHTML","__html","audio_description","substring","xmlns","viewBox","preserveAspectRatio","d","itembookdesc","BaseURL","WEB_URL","SearchMenus","issearchActive","setsearchActive","issearchValue","setsearchValue","isBooksAdspreview","setisBooksAdspreview","isempty","setisempty","ApiBooksAdstopmenus","searchValue","searchUrl","fetch","then","response","json","jsonData","books","onClick","type","placeholder","onChange","e","target","value","item","undefined","Navbarmenu","props","isMenu","setisMenu","isResponsiveclose","setResponsiveclose","toggleClass","boxClass","push","isMenuSubMenu","setMenuSubMenu","boxClassSubMenu","isMenuSubMenutwo","setMenuSubMenutwo","boxClassSubMenutwo","exact","activeClassName","pages","logo","style","display","join","Footer","useLocation","pathname","split","pop","addnewsletters","addEventListener","toggleVisibility","is_visible","set_visible","pageYOffset","loadingsss","setloadingsss","isErrorMsg","setErrorMsg","isSuccessMsg","setSuccessMsg","newsletteremails","event","preventDefault","persist","newsletteruserInfo","msg","reset","setnewsletteruserInfo","email","id","logoblack","onSubmit","required","color","height","width","float","Date","getFullYear","top","behavior","Layout","children"],"mappings":"4OAQIA,EAAiBC,IAuTNC,UArTf,WACE,M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AAD,CAAME,GAAG,IAAT,uBAApF,gBA9GK,IAAIkH,MAAOC,cA8GhB,mCAMJ,qBAAKrH,UAAU,aACd0F,GAAgB,qCACf,uBAAMvC,QAnHW,WACjBzF,OAAOC,SAAS,CACd2J,IAAK,EACLC,SAAU,YAgHgBvH,UAAU,UAAtC,cAAiD,cAAC,IAAD,IAAjD,OAAsE,sBAAMA,UAAU,UAAhB,SAA0B,sBAAMA,UAAU,iCC7HvGwH,IAVD,SAAC,GAAe,IAAdC,EAAa,EAAbA,SACd,OAAO,qCACL,cAAC,EAAD,IACA,qBAAKzH,UAAU,aACf,sBAAMA,UAAU,kBAAhB,SAAmCyH,IACnC,qBAAKzH,UAAU,aACf,cAAC,EAAD,S","file":"static/js/21.092ed080.chunk.js","sourcesContent":["import React,{useContext,useState,useEffect} from 'react';\r\nimport { MyContext } from '../contexts/MyContext';\r\nimport { WEB_URL_UPLOAD } from '../contexts/Apilinks';\r\nimport Layout from \"../components/Layout\";\r\nimport {Link} from \"react-router-dom\";\r\nimport { FaUser, FaCalendarAlt } from \"react-icons/fa\";\r\nimport Moment from 'react-moment';\r\nimport {Helmet} from \"react-helmet\";\r\nlet BaseURLuploads = WEB_URL_UPLOAD;\r\n\r\nfunction Home() {\r\n const {rootState,Latesthomesall,Impressivehomesall,featuredhomesall,storageuserall,audiohomesall} = useContext(MyContext);\r\n const {isAuth,theUserID} = rootState;\r\n\r\n useEffect( () => {\r\n window.scrollTo(0, 0);\r\n Latesthomes();\r\n Impressivehomes();\r\n featuredhomes();\r\n audiohomes();\r\n if(isAuth === true ){\r\n storageuserhomes(theUserID);\r\n }\r\n }, []); \r\n\r\n\r\n const [isLatestall, setLatestall] = useState([]);\r\n const [ispremium, setpremium] = useState([]);\r\n const [isfeatured, setfeatured] = useState([]);\r\n const [isstorage, setstorage] = useState([]);\r\n const [isstorageuser, setstorageuser] = useState([]);\r\n const [isaudio, setaudio] = useState([]);\r\n const [isstorageactive, setstorageactive] = useState(false);\r\n const Latesthomes = async () => {\r\n try {\r\n const Latestsss = await Latesthomesall();\r\n if(Latestsss.success === true){\r\n setLatestall(Latestsss.Latestall?.data);\r\n }\r\n } catch (error) { throw error;} \r\n } \r\n\r\n const storageuserhomes = async (ids) => {\r\n try {\r\n const storagesss = await storageuserall(ids);\r\n if(storagesss.success === true){\r\n setstorage(storagesss.storagesall);\r\n setstorageuser(storagesss.storagesuser);\r\n setstorageactive(true);\r\n }\r\n } catch (error) { throw error;} \r\n }\r\n const Impressivehomes = async () => {\r\n try {\r\n const Impressivesss = await Impressivehomesall();\r\n if(Impressivesss.success === true){\r\n setpremium(Impressivesss.premiumall?.data);\r\n }\r\n } catch (error) { throw error;} \r\n }\r\n\r\n const featuredhomes = async () => {\r\n try {\r\n const featuredsss = await featuredhomesall();\r\n if(featuredsss.success === true){\r\n setfeatured(featuredsss.featuredall?.data);\r\n }\r\n } catch (error) { throw error;} \r\n }\r\n const audiohomes = async () => {\r\n try {\r\n const audiohomesss = await audiohomesall();\r\n if(audiohomesss.success === true){\r\n setaudio(audiohomesss.audiohomesssall?.data);\r\n }\r\n } catch (error) { throw error;} \r\n }\r\n \r\n\r\n return (<>\r\n \r\n \r\n \r\n \r\n{/* premium ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */}\r\n
\r\n{ispremium?.length > 0 && \r\n
\r\n
\r\n
\r\n
\r\n

Top Children's Books

\r\n
\r\n
\r\n {isstorageactive &&\r\n
\r\n \r\n
\r\n {isstorage.audio_title}\r\n

{isstorage.audio_title}

\r\n {isstorage.audio_price !== '0.00' &&\r\n

{isstorage.audio_currency === 'USD' ? <>$ : null}\r\n {isstorage.audio_currency === 'AUD' ? <>A$ : null}\r\n {isstorage.audio_currency === 'BTC' ? <>฿ : null}\r\n {isstorage.audio_currency === 'JPY' ? <>¥ : null}\r\n {isstorage.audio_currency === 'CAD' ? <>C$ : null}\r\n {isstorage.audio_currency === 'EUR' ? <>€ : null}\r\n {isstorage.audio_currency === 'INR' ? <>₹ : null}\r\n {isstorage.audio_currency === 'GBP' ? <>£ : null} {isstorage.audio_price}

\r\n }\r\n
\r\n \r\n
\r\n\r\n }\r\n {isstorageactive && <>\r\n {ispremium.slice(0,7).map((itempremium,index)=>( \r\n
\r\n \r\n
\r\n \r\n {itempremium.audio_title}\r\n

{itempremium.audio_title}

\r\n {itempremium.audio_price !== '0.00' &&\r\n

{itempremium.audio_currency === 'USD' ? <>$ : null}\r\n {itempremium.audio_currency === 'AUD' ? <>A$ : null}\r\n {itempremium.audio_currency === 'BTC' ? <>฿ : null}\r\n {itempremium.audio_currency === 'JPY' ? <>¥ : null}\r\n {itempremium.audio_currency === 'CAD' ? <>C$ : null}\r\n {itempremium.audio_currency === 'EUR' ? <>€ : null}\r\n {itempremium.audio_currency === 'INR' ? <>₹ : null}\r\n {itempremium.audio_currency === 'GBP' ? <>£ : null} {itempremium.audio_price}

\r\n }\r\n
\r\n \r\n
\r\n ))} \r\n }\r\n {!isstorageactive && <>\r\n {ispremium.map((itempremium,index)=>( \r\n
\r\n \r\n
\r\n \r\n {itempremium.audio_title}\r\n

{itempremium.audio_title}

\r\n {itempremium.audio_price !== '0.00' &&\r\n

{itempremium.audio_currency === 'USD' ? <>$ : null}\r\n {itempremium.audio_currency === 'AUD' ? <>A$ : null}\r\n {itempremium.audio_currency === 'BTC' ? <>฿ : null}\r\n {itempremium.audio_currency === 'JPY' ? <>¥ : null}\r\n {itempremium.audio_currency === 'CAD' ? <>C$ : null}\r\n {itempremium.audio_currency === 'EUR' ? <>€ : null}\r\n {itempremium.audio_currency === 'INR' ? <>₹ : null}\r\n {itempremium.audio_currency === 'GBP' ? <>£ : null} {itempremium.audio_price}

\r\n }\r\n
\r\n \r\n
\r\n ))} \r\n }\r\n
\r\n
\r\n
\r\n
\r\n} \r\n{/* Featured ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */}\r\n
\r\n{isfeatured?.length > 0 && \r\n
\r\n
\r\n
\r\n
\r\n

Best Children's Books

\r\n
\r\n
\r\n {isfeatured.map((itemfeatured,index)=>( \r\n
\r\n
\r\n
\r\n {itemfeatured.audio_title}\r\n
\r\n
\r\n \r\n

{itemfeatured.audio_title}

\r\n
    \r\n
  • {itemfeatured.name}
  • \r\n
  • {itemfeatured.audio_date} \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{/* Audio ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */}\r\n
\r\n{isaudio?.length > 0 &&\r\n
\r\n
\r\n\t\t\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\t
\r\n
\r\n
\r\n
\r\n

Noteworthy

\r\n
\r\n
\r\n {isaudio.map((itempremium,index)=>( \r\n
\r\n
\r\n \r\n {itempremium.audio_title}\r\n \r\n

{itempremium.audio_title}

\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\t\t\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\t
\r\n
\r\n} \r\n\r\n{/* Latest ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */}\r\n\r\n\r\n
\r\n{isLatestall?.length > 0 && \r\n
\r\n
\r\n
\r\n
\r\n

Recent Children's Books

\r\n
\r\n
\r\n {isLatestall.map((itembookdesc,index)=>( \r\n
\r\n
\r\n
\r\n {itembookdesc.audio_title}

{itembookdesc.audio_title}

\r\n
\r\n {itembookdesc.audio_price !== '0.00' &&\r\n
{itembookdesc.audio_currency === 'USD' ? <>$ : null}\r\n {itembookdesc.audio_currency === 'AUD' ? <>A$ : null}\r\n {itembookdesc.audio_currency === 'BTC' ? <>฿ : null}\r\n {itembookdesc.audio_currency === 'JPY' ? <>¥ : null}\r\n {itembookdesc.audio_currency === 'CAD' ? <>C$ : null}\r\n {itembookdesc.audio_currency === 'EUR' ? <>€ : null}\r\n {itembookdesc.audio_currency === 'INR' ? <>₹ : null}\r\n {itembookdesc.audio_currency === 'GBP' ? <>£ : null} {itembookdesc.audio_price}
\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\r\n \r\n\r\n\r\n
\r\n}\r\n\r\n \r\n );\r\n}\r\n\r\nexport default Home;","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWAAAABLCAYAAABOfV0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NjRENzA2MTY0QzQwMTFFQ0FCN0NBRjA3Mzc5RTU3QzAi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DQeLa9GJIgbHWyF9wMJBssjpfzKv1gT0DAG6QsdFu00Omasm5iaEwA+rhP2gDAc+0q5wC4OAj7ykzs3pFmKpA43bcCABwkANgvAO5Yn56AvdfJjAJwhgahGLbomWgvB8D1BeE4gLonlOWIADOCvNFM0BLIsw35DZJ/pMA8Wfn3CXwj19sOVJyYk2XXBMWFgvVcUTIbBIMYfOl3KVBPy6er0t2Yxu8FwNt14OvEiQPgOoNwBAm9R+LTd0UBC59ZgzzaCVutUeAjYE0eH8aFBE+1XRHycnBiwRTgxJkgnLxqmsB0Wb3csNDd7EaUenTIIy2fDj13nphs0jvgtHrpAtiYwGjx925yEy5hivDVc3vz0IGuM0U4qUb+L8AAntzMG3sL8X4AAAAASUVORK5CYII=\"","import React,{useState} from 'react';\r\nimport { WEB_URL,WEB_URL_UPLOAD } from '../../contexts/Apilinks';\r\nimport {Link } from \"react-router-dom\"; \r\nimport { AiOutlineCloseCircle, AiOutlineSearch } from \"react-icons/ai\";\r\nimport './Search.css';\r\nlet BaseURLuploads = WEB_URL_UPLOAD;\r\nlet BaseURL = WEB_URL;\r\n\r\nconst SearchMenus = () => {\r\n const [issearchActive, setsearchActive] = useState(false);\r\n const searchActive = () => {\r\n setsearchActive(true);\r\n }\r\n const searchActivecanss = () => {\r\n setsearchActive(false);\r\n }\r\n const [issearchValue, setsearchValue] = useState({\r\n title: '',\r\n });\r\n const handleOnChange = (e) => {\r\n setsearchValue({\r\n ...issearchValue,\r\n [e.target.name]:e.target.value\r\n });\r\n if(e.target.value.length > 1){ \r\n ApiBooksAdstopmenus(issearchValue.title); \r\n }\r\n }\r\n const [isBooksAdspreview, setisBooksAdspreview] = useState([]);\r\n const [isempty, setisempty] = useState([]);\r\n const ApiBooksAdstopmenus = async (searchValue) => {\r\n try {\r\n const searchUrl = (BaseURL+`search.php?searchfilters=${searchValue}`);\r\n fetch(searchUrl)\r\n .then(response => {\r\n return response.json();\r\n })\r\n .then(jsonData => {\r\n setisBooksAdspreview(jsonData.books);\r\n setisempty(jsonData.books[0]);\r\n });\r\n } catch (error) { throw error;} \r\n }\r\n \r\nreturn (
\r\n {issearchActive === true ? <> \r\n \r\n : <>\r\n \r\n }\r\n {issearchActive === true ?
\r\n \r\n {/* -------------------------------------------------------------------------------------------------------------- Ads ------------------------------------------------------------------------------------------------------- */}\r\n {issearchValue.title.length > 1 ? <> \r\n
\r\n{/* -------------------------------------------------------------------------------------------------------------- Books Ads ------------------------------------------------------------------------------------------------------- */}\r\n{isempty === 'empty' ?\r\n

Children's Books

\r\n : <>\r\n

Children's Books

\r\n }\r\n {isempty === 'empty' ?

No results found

: <>\r\n{isBooksAdspreview.map((item, index) => ( \r\n
\r\n
\r\n {item.audio_title !== undefined &&\r\n \r\n \"books\"\r\n

{item.audio_title}

\r\n \r\n }\r\n \r\n
\r\n
\r\n))}\r\n}\r\n\r\n
\r\n : null}\r\n\r\n
: null}\r\n\r\n
\r\n )\r\n}\r\n\r\nexport default SearchMenus\r\n","import React,{useContext,useState} from 'react';\r\nimport { MyContext } from '../../contexts/MyContext';\r\nimport {NavLink, Link} from 'react-router-dom';\r\nimport {FiAlignRight,FiXCircle,FiChevronDown } from \"react-icons/fi\";\r\nimport logo from '../../img/logo.png';\r\nimport './Menus.css';\r\nimport SearchMenus from \"../../page/search/SearchMenus\";\r\n\r\nconst Navbarmenu = (props) => {\r\n const {rootState} = useContext(MyContext);\r\n const {isAuth,theUserID} = 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 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 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__menustwo\"];\r\n if(isMenuSubMenutwo) {\r\n boxClassSubMenutwo.push('sub__menustwo__Active');\r\n }else {\r\n boxClassSubMenutwo.push('');\r\n }\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n {/* Add Logo */}\r\n
\r\n \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\t
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n )\r\n}\r\nexport default Navbarmenu","import React,{useContext,useState,useEffect} from 'react';\r\nimport { MyContext } from '../contexts/MyContext';\r\nimport {Link,useLocation} from 'react-router-dom';\r\nimport Loader from 'react-loader-spinner';\r\nimport { FiArrowUp } from \"react-icons/fi\";\r\nimport { BsFillEnvelopeFill } from \"react-icons/bs\";\r\nimport './Footer.css';\r\nimport logoblack from '../img/logo.png';\r\n\r\n\r\nfunction Footer() {\r\n\r\n const location = useLocation();\r\n const { pathname } = location;\r\n const footerpathname = pathname.split('/').pop(); \r\n\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 event.target.reset();\r\n setnewsletteruserInfo({\r\n ...newsletteruserInfo,\r\n email:'',\r\n });\r\n return;\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 email:'',\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 \"logoblack\" \r\n \r\n
\r\n
\r\n
\r\n
\r\n

Subscribe Our Newsletter To Receive the Latest News

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

<>{isErrorMsg}

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

<>{isSuccessMsg}

)}\r\n
\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
  • Home
  • \r\n
  • About Us
  • \r\n
  • Top Children's Books
  • \r\n
  • Best Children's Books
  • \r\n
  • Noteworthy
  • \r\n {/*
  • Free Children's Books
  • */}\r\n \r\n
  • Contact Us
  • \r\n
\r\n\r\n\r\n\r\n\r\n
\r\n\r\n \r\n
\r\n

www.kidswrd(dot)com    |    Kidswrd - Copyright {getCurrentYear()}. All Rights Reserved.

\r\n
\r\n
\r\n\r\n\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 from 'react';\r\nimport Navbarmenu from './menu/Navbarmenu';\r\nimport Footer from './Footer';\r\n\r\nconst Layout =({children}) =>{\r\n return(<>\r\n \r\n
\r\n
{children}
\r\n
\r\n