Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 

2 rader
16 KiB

  1. import{g as w}from"./api-2fe5baa7.js";import{j as B,z as V,k as i,l as R,J as z,r as A,c as o,y as k,F as d,a,u as $,t as l,A as L,i as f,d as u,p as F,q as O,o as s,b as C,w as D,K as P,_ as W}from"./index-5dca7a6a.js";const n=g=>(F("data-v-e2088098"),g=g(),O(),g),q={key:0,class:"loader",id:"loader-fade"},E=n(()=>a("div",{class:"loader-container"},[a("div",{class:"circle"})],-1)),G=[E],J={class:"navigation-bar"},K={class:"navbar navbar-expand-lg fixed-top navbar-fixed-top"},Q={class:"navbar-brand scroll",href:"index-celebrity.html#home"},X=["src"],Y={class:"collapse navbar-collapse",id:"navbarSupportedContent"},Z={class:"navbar-nav ml-auto"},aa={class:"nav-item"},ea={class:"side-menu hidden"},sa={class:"inner-wrapper"},ta={class:"sidemenu-image"},ia={class:"scroll",href:"index-celebrity.html#home"},oa=["src"],la=u('<span class="btn-close" id="btn_sideNavClose" data-v-e2088098><i data-v-e2088098></i><i data-v-e2088098></i></span><nav class="side-nav w-100" data-v-e2088098><ul class="navbar-nav" data-v-e2088098><li class="nav-item" data-v-e2088098><a class="nav-link font scroll" href="index-celebrity.html#home" data-v-e2088098>home</a></li><li class="nav-item" data-v-e2088098><a class="nav-link font scroll" href="index-celebrity.html#about" data-v-e2088098>about</a></li><li class="nav-item" data-v-e2088098><a class="nav-link font scroll" href="index-celebrity.html#projects" data-v-e2088098>my projects</a></li><li class="nav-item" data-v-e2088098><a class="nav-link font scroll" href="index-celebrity.html#press-release" data-v-e2088098>press release</a></li><li class="nav-item" data-v-e2088098><a class="nav-link font scroll" href="index-celebrity.html#contact" data-v-e2088098>contact</a></li></ul></nav><div class="side-menu-footer" data-v-e2088098><div class="banner-icons" data-v-e2088098><ul data-v-e2088098><li data-v-e2088098><a href="index-celebrity.html#" class="hover" data-v-e2088098><i class="fab fa-facebook-f" data-v-e2088098></i></a></li><li data-v-e2088098><a href="index-celebrity.html#" class="hover" data-v-e2088098><i class="fab fa-twitter" data-v-e2088098></i></a></li><li data-v-e2088098><a href="index-celebrity.html#" class="hover" data-v-e2088098><i class="fab fa-linkedin-in" data-v-e2088098></i></a></li><li data-v-e2088098><a href="index-celebrity.html#" class="hover" data-v-e2088098><i class="fab fa-instagram" data-v-e2088098></i></a></li></ul></div><p class="copywrite text-left" data-v-e2088098> © 2023 MegaOne. <br data-v-e2088098>Made With Love by Themesindustry. </p></div>',3),na=n(()=>a("a",{id:"close_side_menu",href:"javascript:void(0);"},null,-1)),ca={class:"container"},da={class:"rectangle wow slideInDown","data-wow-delay":"1500ms"},va={class:"text font"},ra=u('<div class="social-icons" data-v-e2088098><ul class="social-icons-simple" data-v-e2088098><li data-v-e2088098><a class="icon-hovr wow fadeInDown" data-wow-delay="2000ms" href="javascript:void(0)" data-v-e2088098><i class="fab fa-facebook-f" data-v-e2088098></i></a></li><li data-v-e2088098><a class="icon-hovr wow fadeInUp" data-wow-delay="2000ms" href="javascript:void(0)" data-v-e2088098><i class="fab fa-twitter" data-v-e2088098></i></a></li><li data-v-e2088098><a class="icon-hovr wow fadeInDown" data-wow-delay="2000ms" href="javascript:void(0)" data-v-e2088098><i class="fab fa-youtube" data-v-e2088098></i></a></li><li data-v-e2088098><a class="icon-hovr wow fadeInUp" data-wow-delay="2000ms" href="javascript:void(0)" data-v-e2088098><i class="fab fa-instagram" data-v-e2088098></i></a></li></ul></div>',1),_a={class:"about-section",id:"about"},ha={class:"container"},fa={class:"row no-gutters"},ua={class:"col-lg-12 col-md-12 col-sm-12 wow fadeInDown","data-wow-delay":"300ms"},ma={class:"heading font"},pa={class:"row no-gutters"},wa={class:"col-lg-6 col-md-12 col-sm-12 text-section wow fadeInLeft","data-wow-delay":"300ms"},ga=["innerHTML"],ba={class:"col-lg-6 col-md-12 col-sm-12 img-section"},ya=["src"],ka=n(()=>a("div",{class:"rectangle"},null,-1)),xa={class:"p-half bg-white"},ja={class:"container"},Ia={class:"row"},$a={class:"col-md-12 col-sm-12 text-center"},La=u('<ul class="footer-icons mb-4" data-v-e2088098><li data-v-e2088098><a href="javascript:void(0)" class="wow fadeInUp facebook" data-v-e2088098><i class="fab fa-facebook-f" data-v-e2088098></i></a></li><li data-v-e2088098><a href="javascript:void(0)" class="wow fadeInDown twitter" data-v-e2088098><i class="fab fa-twitter" data-v-e2088098></i></a></li><li data-v-e2088098><a href="javascript:void(0)" class="wow fadeInUp google" data-v-e2088098><i class="fab fa-google" data-v-e2088098></i></a></li><li data-v-e2088098><a href="javascript:void(0)" class="wow fadeInDown linkedin" data-v-e2088098><i class="fab fa-linkedin-in" data-v-e2088098></i></a></li><li data-v-e2088098><a href="javascript:void(0)" class="wow fadeInUp instagram" data-v-e2088098><i class="fab fa-instagram" data-v-e2088098></i></a></li><li data-v-e2088098><a href="javascript:void(0)" class="wow fadeInDown pinterest" data-v-e2088098><i class="fab fa-pinterest-p" data-v-e2088098></i></a></li></ul>',1),Da={class:"copyrights mt-2 mb-2"},Ma=n(()=>a("a",{href:"javascript:void(0)"},"Drawise",-1)),Ta={class:"navbar navbar-top-default navbar-expand-lg static-nav black nav-radius transparent-bg bottom-nav box-nav not-full no-animation"},Ua={class:"container radius nav-box-shadow"},Ca={class:"logo link",href:"javascript:void(0)"},Ha=["src"],Sa={class:"collapse navbar-collapse d-none d-lg-block"},Na={class:"nav navbar-nav ml-auto"},Ba={class:"nav-item"},Va={id:"home",class:"p-0 particles-version center-block"},Ra=n(()=>a("h2",{class:"d-none"},"hidden",-1)),za=n(()=>a("div",{class:"bg-overlay bg-gradient"},null,-1)),Aa={class:"not-fullscreen"},Fa={class:"col-lg-12 text-center center-col"},Oa={class:"personal-box"},Pa={class:"myphoto"},Wa=["src"],qa={class:"color-white"},Ea={class:"half-section p-0"},Ga=n(()=>a("h2",{class:"d-none"},"heading",-1)),Ja={class:"container-fluid"},Ka={class:"row align-items-center"},Qa={class:"col-lg-6 col-md-12 p-0 order-lg-2"},Xa={class:"hover-effect"},Ya=["src"],Za={class:"col-lg-6 col-md-12 pt-5"},ae={class:"skill-box"},ee={class:"main-title mb-5 text-md-left wow fadeIn","data-wow-delay":"300ms"},se=["innerHTML"],te={class:"p-half bg-white"},ie={class:"container"},oe={class:"row"},le={class:"col-md-12 col-sm-12 text-center"},ne=u('<ul class="footer-icons mb-4" data-v-e2088098><li data-v-e2088098><a href="javascript:void(0)" class="wow fadeInUp facebook" data-v-e2088098><i class="fab fa-facebook-f" data-v-e2088098></i></a></li><li data-v-e2088098><a href="javascript:void(0)" class="wow fadeInDown twitter" data-v-e2088098><i class="fab fa-twitter" data-v-e2088098></i></a></li><li data-v-e2088098><a href="javascript:void(0)" class="wow fadeInUp google" data-v-e2088098><i class="fab fa-google" data-v-e2088098></i></a></li><li data-v-e2088098><a href="javascript:void(0)" class="wow fadeInDown linkedin" data-v-e2088098><i class="fab fa-linkedin-in" data-v-e2088098></i></a></li><li data-v-e2088098><a href="javascript:void(0)" class="wow fadeInUp instagram" data-v-e2088098><i class="fab fa-instagram" data-v-e2088098></i></a></li><li data-v-e2088098><a href="javascript:void(0)" class="wow fadeInDown pinterest" data-v-e2088098><i class="fab fa-pinterest-p" data-v-e2088098></i></a></li></ul>',1),ce={class:"copyrights mt-2 mb-2"},de=n(()=>a("a",{href:"javascript:void(0)"},"Drawise",-1)),ve={id:"home"},re={class:"navbar navbar-top-default navbar-expand-lg navbar-simple nav-line"},_e={class:"container"},he={href:"index-cycling.html#home",title:"Logo",class:"logo scroll"},fe=["src"],ue=["src"],me={class:"collapse navbar-collapse",id:"megaone"},pe={class:"navbar-nav ml-auto"},we=u('<div class="side-menu hidden" data-v-e2088098><div class="inner-wrapper" data-v-e2088098><span class="btn-close" id="btn_sideNavClose" data-v-e2088098><i data-v-e2088098></i><i data-v-e2088098></i></span><nav class="side-nav w-100" data-v-e2088098><ul class="navbar-nav" data-v-e2088098><li class="nav-item" data-v-e2088098><a class="nav-link scroll" href="index-cycling.html#home" data-v-e2088098>Home</a></li><li class="nav-item" data-v-e2088098><a class="nav-link scroll" href="index-cycling.html#about" data-v-e2088098>About Us</a></li><li class="nav-item" data-v-e2088098><a class="nav-link scroll" href="index-cycling.html#portfolio-section" data-v-e2088098>Gallery</a></li><li class="nav-item" data-v-e2088098><a class="nav-link scroll" href="index-cycling.html#review" data-v-e2088098>Reviews</a></li><li class="nav-item" data-v-e2088098><a class="nav-link scroll" href="index-cycling.html#contact" data-v-e2088098>Get In Touch</a></li></ul></nav><div class="side-footer w-100" data-v-e2088098><ul class="social-icons-simple" data-v-e2088098><li data-v-e2088098><a class="facebook-text-hvr" href="javascript:void(0)" data-v-e2088098><i class="fab fa-facebook-f" data-v-e2088098></i></a></li><li data-v-e2088098><a class="twitter-text-hvr" href="javascript:void(0)" data-v-e2088098><i class="fab fa-twitter" data-v-e2088098></i></a></li><li data-v-e2088098><a class="linkedin-text-hvr" href="javascript:void(0)" data-v-e2088098><i class="fab fa-linkedin-in" data-v-e2088098></i></a></li><li data-v-e2088098><a class="instagram-text-hvr" href="javascript:void(0)" data-v-e2088098><i class="fab fa-instagram" data-v-e2088098></i></a></li></ul><p class="" data-v-e2088098> © 2023 MegaOne. Made With Love by <span class="d-inline d-lg-block" data-v-e2088098> ThemesIndustry</span></p></div></div></div><a id="close_side_menu" href="javascript:void(0);" data-v-e2088098></a>',2),ge={class:"container"},be={class:"row height"},ye={class:"col-lg-6 d-flex align-items-center"},ke={class:"banner-div"},xe={class:"banner-heading"},je={class:"about-feature bg-orange"},Ie={class:"container"},$e={class:"row"},Le={class:"col-sm-12 col-md-12 col-lg-6 img-sec wow fadeInLeft","data-wow-duration":"1s","data-wow-delay":".5s"},De={class:"about_img margin_aboutimg"},Me=["src"],Te={class:"col-sm-12 col-md-12 col-lg-6"},Ue=["innerHTML"],Ce={class:"footer-sec bg-blue text-center"},He={class:"container"},Se={class:"row"},Ne={class:"col-md-12"},Be=u('<div class="footer-social" data-v-e2088098><ul class="list-unstyled" data-v-e2088098><li data-v-e2088098><a class="wow fadeInUp" href="javascript:void(0);" data-v-e2088098><i class="fab fa-facebook-f" aria-hidden="true" data-v-e2088098></i></a></li><li data-v-e2088098><a class="wow fadeInDown" href="javascript:void(0);" data-v-e2088098><i class="fab fa-twitter" aria-hidden="true" data-v-e2088098></i></a></li><li data-v-e2088098><a class="wow fadeInUp" href="javascript:void(0);" data-v-e2088098><i class="fab fa-google-plus-g" aria-hidden="true" data-v-e2088098></i></a></li><li data-v-e2088098><a class="wow fadeInDown" href="javascript:void(0);" data-v-e2088098><i class="fab fa-linkedin-in" aria-hidden="true" data-v-e2088098></i></a></li><li data-v-e2088098><a class="wow fadeInUp" href="javascript:void(0);" data-v-e2088098><i class="fab fa-instagram" aria-hidden="true" data-v-e2088098></i></a></li><li data-v-e2088098><a class="wow fadeInDown" href="javascript:void(0);" data-v-e2088098><i class="far fa-envelope" aria-hidden="true" data-v-e2088098></i></a></li></ul></div>',1),Ve={class:"company-about fadeIn"},Re=n(()=>a("a",{href:"javascript:void(0);",class:"text-white"},"Drawise",-1)),ze=B({__name:"index",setup(g){const x=V().params.id,_=i(),c=i(),h=i(),b=i(),M=i(),v=i(),r=i(),y=i(),T=i(),U=i([]),j=i(!0);R(()=>{console.log(x),H()});async function H(){_.value="left";try{(await w)(`/create_site/pages/${x}`).then(e=>{console.log(e.data),e.data&&(h.value=e.data.page_name,b.value=e.data.content,M.value=e.data.site,c.value=e.data.image,S(),console.log(b.value),N())})}catch(e){console.error(e)}}async function S(){try{(await w)("/create_site/pages/",{site:x}).then(e=>{console.log(e.data),y.value=e.data})}catch(e){console.error(e)}}async function N(){(await w)(`/create_site/sites/${M.value}`).then(e=>{console.log(e.data),e.data&&(_.value=e.data.layout,v.value=e.data.logo_path,r.value=e.data.site_name,T.value=e.data.color_swatch,w(`/create_site/company/${e.data.company}`).then(m=>{console.log(m.data),m.data&&(v.value=m.data.logo_path,w("/color_swatches/").then(p=>{p.data.forEach(t=>{t.id==T.value&&(j.value=!1,U.value=t,console.log(U.value))})}))}),console.log(b.value))})}const I=z(()=>new DOMParser().parseFromString(b.value,"text/html").body.innerHTML);return(e,m)=>{const p=A("RouterLink");return j.value?(s(),o(d,{key:0},[j.value&&_.value=="left"?(s(),o("div",q,G)):k("",!0)],64)):(s(),o(d,{key:1},[_.value=="top"?(s(),o(d,{key:0},[a("header",J,[a("nav",K,[a("a",Q,[a("img",{src:`https://api.drawise.net${v.value}`,width:"80",alt:"logo"},null,8,X)]),a("div",Y,[a("ul",Z,[(s(!0),o(d,null,$(y.value,t=>(s(),o("li",aa,[C(p,{to:`./${r.value}/${t.id}`,class:"nav-link font scroll"},{default:D(()=>[f(l(t.page_name),1)]),_:2},1032,["to"])]))),256))])])]),a("div",ea,[a("div",sa,[a("div",ta,[a("a",ia,[a("img",{src:`https://api.drawise.net${v.value}`,alt:"image"},null,8,oa)])]),la])]),na]),a("section",{class:"banner-section",id:"home",style:L(`background-image:url(https://api.drawise.net${c.value[0].image}) ;`)},[a("div",ca,[a("div",da,[a("div",va,[a("h2",null,l(h.value),1)])])]),ra],4),a("section",_a,[a("div",ha,[a("div",fa,[a("div",ua,[a("h2",ma,l(h.value),1)])]),a("div",pa,[a("div",wa,[a("div",{innerHTML:I.value},null,8,ga)]),a("div",ba,[a("img",{src:`https://api.drawise.net${c.value[1].image}`,alt:"img"},null,8,ya)])])]),ka]),a("footer",xa,[a("div",ja,[a("div",Ia,[a("div",$a,[La,a("p",Da,[f(" © 2023 "+l(r.value)+". Made with love by ",1),Ma])])])])])],64)):k("",!0),_.value=="left"?(s(),o(d,{key:1},[a("header",null,[a("nav",Ta,[a("div",Ua,[a("a",Ca,[a("img",{src:`https://api.drawise.net${v.value}`,width:"50",alt:"logo",title:"Logo"},null,8,Ha)]),a("div",Sa,[a("ul",Na,[(s(!0),o(d,null,$(y.value,t=>(s(),o("li",Ba,[C(p,{to:`./${r.value}/${t.id}`,class:"scroll nav-link link"},{default:D(()=>[f(l(t.page_name),1)]),_:2},1032,["to"])]))),256))])])])])]),a("section",Va,[Ra,a("div",{id:"particles-js",class:"particle2 parallax-setting bg-img-1 bg-img-setting not-full",style:L(`background-image:linear-gradient(60deg, rgba(220, 207, 53, 0.76) 0%, rgba(220, 53, 69, 0.67) 70%), url(https://api.drawise.net${c.value[0].image}) ;`)},[za,a("div",Aa,[a("div",Fa,[a("div",Oa,[a("div",Pa,[a("img",{src:`https://api.drawise.net${c.value[1].image}`,alt:"image"},null,8,Wa)]),a("div",qa,[a("h2",null,l(h.value),1)])])])])],4)]),a("section",Ea,[Ga,a("div",Ja,[a("div",Ka,[a("div",Qa,[a("div",Xa,[a("img",{alt:"about",src:`https://api.drawise.net${c.value[2].image}`,class:"about-img w-100"},null,8,Ya)])]),a("div",Za,[a("div",ae,[a("div",ee,[a("h2",null,l(h.value),1),a("div",{innerHTML:I.value},null,8,se)])])])])])]),a("footer",te,[a("div",ie,[a("div",oe,[a("div",le,[ne,a("p",ce,[f(" © 2023 "+l(r.value)+". Made with love by ",1),de])])])])])],64)):k("",!0),_.value=="float"?(s(),o(d,{key:2},[a("header",ve,[a("nav",re,[a("div",_e,[a("a",he,[a("img",{src:`https://api.drawise.net${v.value}`,alt:"logo",width:"60",class:"m-0 logo-img"},null,8,fe),a("img",{src:`https://api.drawise.net${v.value}`,alt:"logo",class:"m-0 logo-dark"},null,8,ue)]),a("div",me,[a("div",pe,[(s(!0),o(d,null,$(y.value,t=>(s(),P(p,{to:`./${r.value}/${t.id}`,class:"nav-link scroll line"},{default:D(()=>[f(l(t.page_name),1)]),_:2},1032,["to"]))),256))])])])]),we]),a("section",{class:"banner-see bg-banner",id:"banner",style:L(`background-image:url(https://api.drawise.net${c.value[1].image});`)},[a("div",ge,[a("div",be,[a("div",ye,[a("div",ke,[a("h1",xe,l(h.value),1)])])])])],4),a("section",je,[a("div",Ie,[a("div",$e,[a("div",Le,[a("div",De,[a("img",{src:`https://api.drawise.net${c.value[0].image}`,alt:"about"},null,8,Me)])]),a("div",Te,[a("div",{innerHTML:I.value},null,8,Ue)])])])]),a("footer",Ce,[a("div",He,[a("div",Se,[a("div",Ne,[Be,a("p",Ve,[f("© 2023 "+l(r.value)+". Made With Love By ",1),Re])])])])])],64)):k("",!0)],64))}}});const Pe=W(ze,[["__scopeId","data-v-e2088098"]]);export{Pe as default};