text: (()=>{"use strict";var e={d:(n,t)=>{for(var l in t)e.o(t,l)&&!e.o(n,l)&&Object.defineProperty(n,l,{enumerable:!0,get:t[l]})},o:(e,n)=>Object.prototype.hasOwnProperty.call(e,n)};function n(){const e=document.createElement("ul");["home","menu","about"].forEach((n=>e.appendChild(a("li",null,null,n))));const n=document.createElement("nav");n.appendChild(e),i.appendChild(n)}function t(){const e=document.createElement("footer"),n=a("p",null,["white"],"Developed with ♥ by Taiwo Adetona");e.appendChild(n),i.appendChild(e)}e.d({},{b:()=>i,U:()=>a});const l=[{name:"Ofada rice",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque placerat, tellus sit amet",price:"20$"},{name:"White soup",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque placerat, tellus sit amet",price:"20$"},{name:"jollof mixture",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque placerat, tellus sit amet",price:"20$"}],i=document.getElementById("content");function a(e,n,t,l){const i=document.createElement(e);return n&&(i.id=n),t&&t.forEach((e=>i.classList.add(e))),l&&(i.innerText=l),i}function d(){i.innerHTML="",n(),function(){const e=document.createElement("main"),n=a("p",null,["cursive","golden"],"Tonaz Restuarant"),t=a("h1",null,["white"],"Home of Foods"),l=document.createElement("hr"),d=a("p",null,["text-center","white"],"A Place to enjoy Good food that satisfy Heart!"),o=a("button",null,null,"HERE FOR MENU");e.appendChild(n),e.appendChild(t),e.appendChild(l),e.appendChild(d),e.appendChild(o),i.appendChild(e)}(),t()}d(),document.addEventListener("click",(e=>{const o=e.target.innerText;"HOME"===o&&d(),"MENU"!==o&&"HERE FOR MENU"!==o||(i.innerHTML="",n(),function(){const e=document.createElement("main");e.classList.add("main");const n=a("p",null,["cursive","golden"],"Tonaz Restaurant"),t=a("h1",null,["gray"],"Menu"),d=document.createElement("hr");e.appendChild(n),e.appendChild(t),e.appendChild(d),l.forEach((n=>{const t=a("div",null,["menu-item"],null),l=a("h2",null,["golden"],n.name),i=a("p",null,["gray"],n.description),d=a("h2",null,["golden"],n.price),o=a("hr",null,["menu-hr"],null);t.appendChild(l),t.appendChild(i),t.appendChild(d),t.appendChild(o),e.appendChild(t)})),i.appendChild(e)}(),t()),"ABOUT"===o&&(i.innerHTML="",n(),function(){const e=document.createElement("main");e.classList.add("main");const n=a("p",null,["cursive","golden"],"Tonaz Reataurant"),t=a("h1",null,["gray"],"About page"),l=document.createElement("hr"),d=a("p",null,["menu-item"],"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque placerat, tellus sit amet ultrices porttitor, ex ex aliquet purus, pellentesque rhoncus felis ipsum nec purus. Donec id enim in risus pellentesque blandit. Proin sed nibh nec arcu mollis rhoncus in sit amet augue. Suspendisse magna nisl, eleifend non tempor et, luctus id quam. Nulla bibendum vulputate ante, non malesuada eros lobortis euismod");e.appendChild(n),e.appendChild(t),e.appendChild(l),e.appendChild(d),i.appendChild(e)}(),t())}))})();