ehsan vaseghi il y a 7 mois
Parent
révision
6d7bde96de
100 fichiers modifiés avec 35 ajouts et 38 suppressions
  1. BIN
     
  2. +0
    -0
      dist/assets/LineIcons-07c83490.svg@y2l643
  3. +0
    -0
      dist/assets/ad-80ac0f73.svg
  4. +0
    -0
      dist/assets/ae-fbc34886.svg
  5. +0
    -0
      dist/assets/af-74255fde.svg
  6. +0
    -0
      dist/assets/ag-3a902e40.svg
  7. +0
    -0
      dist/assets/ai-c5c20cce.svg
  8. +0
    -0
      dist/assets/al-e785f57f.svg
  9. +0
    -0
      dist/assets/am-ce852f9d.svg
  10. +0
    -0
      dist/assets/ao-28f4c921.svg
  11. +2
    -2
      dist/assets/api-04371953.js
  12. +20
    -20
      dist/assets/apiFrom-f56e1afe.js
  13. +0
    -0
      dist/assets/aq-f66fd555.svg
  14. +0
    -0
      dist/assets/ar-bff351b2.svg
  15. +0
    -0
      dist/assets/as-5c27006a.svg
  16. +0
    -0
      dist/assets/at-0629657c.svg
  17. +0
    -0
      dist/assets/au-61562904.svg
  18. +0
    -0
      dist/assets/aw-79feda6f.svg
  19. +0
    -0
      dist/assets/ax-b08e00be.svg
  20. +0
    -0
      dist/assets/az-1c1cf72e.svg
  21. +0
    -0
      dist/assets/ba-88db045c.svg
  22. +1
    -0
      dist/assets/basic-8fbc66aa.js
  23. +0
    -1
      dist/assets/basic-dc409e4d.js
  24. +0
    -0
      dist/assets/bb-a54f24df.svg
  25. +0
    -0
      dist/assets/bd-1fd43a37.svg
  26. +0
    -0
      dist/assets/be-9f7261a4.svg
  27. +0
    -0
      dist/assets/bf-46585dfe.svg
  28. +0
    -0
      dist/assets/bg-f0218e2f.svg
  29. +0
    -0
      dist/assets/bh-3451a8b4.svg
  30. +0
    -0
      dist/assets/bi-0fdf3446.svg
  31. +0
    -0
      dist/assets/bj-cb04ae04.svg
  32. +0
    -0
      dist/assets/bl-020ee5e3.svg
  33. +0
    -0
      dist/assets/bm-09356960.svg
  34. +0
    -0
      dist/assets/bn-23a4433a.svg
  35. +0
    -0
      dist/assets/bo-cd73763c.svg
  36. +0
    -0
      dist/assets/bq-8472ef29.svg
  37. +0
    -0
      dist/assets/br-89780ed2.svg
  38. +1
    -0
      dist/assets/branding-0f9ce096.js
  39. +0
    -1
      dist/assets/branding-20c13791.js
  40. +0
    -1
      dist/assets/branding-50239191.js
  41. +1
    -0
      dist/assets/branding-6fbb4341.js
  42. +0
    -1
      dist/assets/branding-7602fd6b.css
  43. +1
    -0
      dist/assets/branding-bba79c8d.css
  44. +0
    -0
      dist/assets/bs-2556d5ec.svg
  45. +0
    -0
      dist/assets/bt-7608059f.svg
  46. +0
    -0
      dist/assets/bv-d4dbc6b7.svg
  47. +0
    -0
      dist/assets/bw-cf0a45b7.svg
  48. +0
    -0
      dist/assets/by-54856178.svg
  49. +0
    -0
      dist/assets/bz-69ac0104.svg
  50. +0
    -0
      dist/assets/ca-f925a23c.svg
  51. +0
    -0
      dist/assets/cc-398f7184.svg
  52. +0
    -0
      dist/assets/cd-f890fac5.svg
  53. +0
    -0
      dist/assets/cf-0236bc07.svg
  54. +0
    -0
      dist/assets/cg-448153a1.svg
  55. +0
    -0
      dist/assets/ch-ff34bff1.svg
  56. +0
    -1
      dist/assets/chooseLayout-30374780.css
  57. +0
    -1
      dist/assets/chooseLayout-93e8fadd.js
  58. +1
    -0
      dist/assets/chooseLayout-c22573b5.css
  59. +1
    -0
      dist/assets/chooseLayout-fb5e8df5.js
  60. +0
    -0
      dist/assets/ci-096f12b8.svg
  61. +0
    -0
      dist/assets/ck-177b9497.svg
  62. +0
    -0
      dist/assets/cl-0d5de868.svg
  63. +0
    -0
      dist/assets/cm-6aa2a51d.svg
  64. +0
    -0
      dist/assets/cn-4c6ea2cd.svg
  65. +0
    -0
      dist/assets/co-a5fcf87d.svg
  66. +0
    -1
      dist/assets/company-1d361429.css
  67. +1
    -0
      dist/assets/company-6e42d9c4.css
  68. +0
    -1
      dist/assets/company-ea6e4863.js
  69. +1
    -0
      dist/assets/company-f28686d3.js
  70. +0
    -0
      dist/assets/cr-5caf88db.svg
  71. +0
    -0
      dist/assets/cu-33fe0423.svg
  72. +0
    -0
      dist/assets/cv-6db0dccf.svg
  73. +0
    -0
      dist/assets/cw-64012045.svg
  74. +0
    -0
      dist/assets/cx-a3fb43bc.svg
  75. +0
    -0
      dist/assets/cy-f8625bef.svg
  76. +0
    -0
      dist/assets/cz-4cd949b9.svg
  77. +1
    -1
      dist/assets/dashboard-d247466e.js
  78. +0
    -0
      dist/assets/de-2f7c37c3.svg
  79. +0
    -0
      dist/assets/dj-d98d2c7e.svg
  80. +0
    -0
      dist/assets/dk-a68b01da.svg
  81. +0
    -0
      dist/assets/dm-1013dcc4.svg
  82. +0
    -0
      dist/assets/do-f995d8d2.svg
  83. +1
    -1
      dist/assets/domain-883366e5.js
  84. +0
    -0
      dist/assets/dz-f198357e.svg
  85. +0
    -0
      dist/assets/ec-35b4b125.svg
  86. +0
    -3
      dist/assets/edit-page-b3c7902a.js
  87. +3
    -0
      dist/assets/edit-page-fbcc3dfa.js
  88. +0
    -0
      dist/assets/ee-7affd523.svg
  89. +0
    -0
      dist/assets/eg-f688770c.svg
  90. +0
    -0
      dist/assets/eh-89536bf6.svg
  91. +0
    -0
      dist/assets/er-d4d808e5.svg
  92. +0
    -0
      dist/assets/es-afc75481.svg
  93. +0
    -0
      dist/assets/et-778f3d27.svg
  94. +0
    -0
      dist/assets/fa-brands-400-7ca6855a.svg
  95. +0
    -0
      dist/assets/fa-brands-400-d480bf03.svg
  96. +0
    -0
      dist/assets/fa-regular-400-01429b11.svg
  97. +0
    -0
      dist/assets/fa-regular-400-84a162dc.svg
  98. +0
    -0
      dist/assets/fa-solid-900-6a134092.svg
  99. +0
    -0
      dist/assets/fa-solid-900-d1b1b2c6.svg
  100. +0
    -3
      dist/assets/facebook-11884055.svg

dist/assets/LineIcons-66b4efa8.svg@y2l643 → dist/assets/LineIcons-07c83490.svg@y2l643 Voir le fichier


dist/assets/ad-c0861120.svg → dist/assets/ad-80ac0f73.svg Voir le fichier


dist/assets/ae-ddee24db.svg → dist/assets/ae-fbc34886.svg Voir le fichier


dist/assets/af-e6185a73.svg → dist/assets/af-74255fde.svg Voir le fichier


dist/assets/ag-75dea764.svg → dist/assets/ag-3a902e40.svg Voir le fichier


dist/assets/ai-113333b9.svg → dist/assets/ai-c5c20cce.svg Voir le fichier


dist/assets/al-952b1954.svg → dist/assets/al-e785f57f.svg Voir le fichier


dist/assets/am-ce3a9c32.svg → dist/assets/am-ce852f9d.svg Voir le fichier


dist/assets/ao-18357c09.svg → dist/assets/ao-28f4c921.svg Voir le fichier


dist/assets/api-04371953.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


dist/assets/apiFrom-f56e1afe.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


dist/assets/aq-89cba7e0.svg → dist/assets/aq-f66fd555.svg Voir le fichier


dist/assets/ar-5339bbb5.svg → dist/assets/ar-bff351b2.svg Voir le fichier


dist/assets/as-05bc7d89.svg → dist/assets/as-5c27006a.svg Voir le fichier


dist/assets/at-3941bbc6.svg → dist/assets/at-0629657c.svg Voir le fichier


dist/assets/au-b5286e94.svg → dist/assets/au-61562904.svg Voir le fichier


dist/assets/aw-e5d19d61.svg → dist/assets/aw-79feda6f.svg Voir le fichier


dist/assets/ax-7dabd1c3.svg → dist/assets/ax-b08e00be.svg Voir le fichier


dist/assets/az-cb141fd4.svg → dist/assets/az-1c1cf72e.svg Voir le fichier


dist/assets/ba-2facd287.svg → dist/assets/ba-88db045c.svg Voir le fichier


+ 1
- 0
dist/assets/basic-8fbc66aa.js Voir le fichier

@@ -0,0 +1 @@
import{j as _,z as p,k as h,s as b,r as m,c as v,a as t,b as s,w as o,m as f,v as g,d as y,e as x,o as w,i}from"./index-b3134325.js";import{c as k,g as B,a as L}from"./api-04371953.js";const j={class:"page-wrapper",id:"app","data-layout":"horizontal","data-navbarbg":"skin6","data-sidebartype":"full","data-sidebar-position":"fixed","data-header-position":"fixed"},C=y('<header class="app-header"><nav class="navbar navbar-expand-lg navbar-light container-fluid px-0"><ul class="navbar-nav"><li class="nav-item d-block d-lg-none"><a class="nav-link sidebartoggler ms-n3" id="sidebarCollapse" href="javascript:void(0)"><i class="ti ti-menu-2"></i></a></li><li class="nav-item d-none d-lg-block"><a href="index.html" class="text-nowrap nav-link"><img src="'+x+'" class="light-logo" width="180" alt=""></a></li></ul></nav></header>',1),V={class:"body-wrapper overflow-hidden"},D={class:"position-relative overflow-hidden min-vh-100 d-flex align-items-center justify-content-center drawise-auth-bg"},N={class:"d-flex align-items-center justify-content-center w-100"},T={class:"row justify-content-center w-100"},z={class:"col-md-8 col-lg-8 col-xxl-8"},E=t("i",{class:"ti ti-chevron-left fs-4 me-2"},null,-1),R=t("h1",{class:"display-6 fs-7 mb-4 text-center"}," Dashboard, let's Build it ",-1),U={class:"wrapper"},I={class:"tabs clearfix","data-tabgroup":"first-tab-group"},M={id:"first-tab-group",class:"tabgroup"},$={id:"tab1"},P={class:"form-floating mb-3"},S=t("label",null,"Website Title",-1),G=_({__name:"basic",setup(W){const l=p().params.id,n=h();b(()=>{k(),d()});async function d(){try{(await B)(`company/${l}/`).then(a=>{console.log(a.data),n.value=a.data.site_name})}catch(a){console.error(a)}}const r=()=>{try{L(`/company/name/${l}/`,{site_name:n.value}).then(a=>{console.log("Layout updated successfully:",a.data)})}catch(a){console.error("Error updating layout:",a)}};return(a,c)=>{const e=m("RouterLink");return w(),v("div",j,[C,t("div",V,[t("div",D,[t("div",N,[t("div",T,[t("div",z,[s(e,{to:"../../dashboard",class:"btn btn-outline-warning py-8 mb-4 rounded-2"},{default:o(()=>[E,i(" Back To Dashboard")]),_:1}),R,t("div",U,[t("ul",I,[t("li",null,[s(e,{to:"pages"},{default:o(()=>[i("Edit Pages")]),_:1})]),t("li",null,[s(e,{to:"basic",class:"active"},{default:o(()=>[i("Basic Info")]),_:1})]),t("li",null,[s(e,{to:"layout"},{default:o(()=>[i("Layout")]),_:1})]),t("li",null,[s(e,{to:"domain"},{default:o(()=>[i("Link Domain")]),_:1})])]),t("section",M,[t("div",$,[t("div",P,[f(t("input",{type:"text",class:"form-control",placeholder:"Username","onUpdate:modelValue":c[0]||(c[0]=u=>n.value=u)},null,512),[[g,n.value]]),S]),t("button",{onClick:r,class:"btn btn-success"},"Update")])])])])])])])])])}}});export{G as default};

+ 0
- 1
dist/assets/basic-dc409e4d.js Voir le fichier

@@ -1 +0,0 @@
import{j as _,z as p,k as h,s as b,r as v,c as f,a as t,b as s,w as o,m,v as g,d as x,e as y,o as w,i}from"./index-5dca7a6a.js";import{c as k,g as B,a as L}from"./api-2fe5baa7.js";const j={class:"page-wrapper",id:"app","data-layout":"horizontal","data-navbarbg":"skin6","data-sidebartype":"full","data-sidebar-position":"fixed","data-header-position":"fixed"},C=x('<header class="app-header"><nav class="navbar navbar-expand-lg navbar-light container-fluid px-0"><ul class="navbar-nav"><li class="nav-item d-block d-lg-none"><a class="nav-link sidebartoggler ms-n3" id="sidebarCollapse" href="javascript:void(0)"><i class="ti ti-menu-2"></i></a></li><li class="nav-item d-none d-lg-block"><a href="index.html" class="text-nowrap nav-link"><img src="'+y+'" class="light-logo" width="180" alt=""></a></li></ul></nav></header>',1),V={class:"body-wrapper overflow-hidden"},D={class:"position-relative overflow-hidden min-vh-100 d-flex align-items-center justify-content-center drawise-auth-bg"},N={class:"d-flex align-items-center justify-content-center w-100"},T={class:"row justify-content-center w-100"},z={class:"col-md-8 col-lg-8 col-xxl-8"},E=t("i",{class:"ti ti-chevron-left fs-4 me-2"},null,-1),R=t("h1",{class:"display-6 fs-7 mb-4 text-center"}," Dashboard, let's Build it ",-1),U={class:"wrapper"},I={class:"tabs clearfix","data-tabgroup":"first-tab-group"},M={id:"first-tab-group",class:"tabgroup"},$={id:"tab1"},P={class:"form-floating mb-3"},S=t("label",null,"Website Title",-1),G=_({__name:"basic",setup(W){const l=p().params.id,n=h();b(()=>{k(),d()});async function d(){try{(await B)(`/create_site/sites/${l}/`).then(e=>{console.log(e.data),n.value=e.data.site_name})}catch(e){console.error(e)}}const r=()=>{try{L(`/create_site/sites/${l}/`,{site_name:n.value}).then(e=>{console.log("Layout updated successfully:",e.data)})}catch(e){console.error("Error updating layout:",e)}};return(e,c)=>{const a=v("RouterLink");return w(),f("div",j,[C,t("div",V,[t("div",D,[t("div",N,[t("div",T,[t("div",z,[s(a,{to:"../../dashboard",class:"btn btn-outline-warning py-8 mb-4 rounded-2"},{default:o(()=>[E,i(" Back To Dashboard")]),_:1}),R,t("div",U,[t("ul",I,[t("li",null,[s(a,{to:"pages"},{default:o(()=>[i("Edit Pages")]),_:1})]),t("li",null,[s(a,{to:"basic",class:"active"},{default:o(()=>[i("Basic Info")]),_:1})]),t("li",null,[s(a,{to:"layout"},{default:o(()=>[i("Layout")]),_:1})]),t("li",null,[s(a,{to:"domain"},{default:o(()=>[i("Link Domain")]),_:1})])]),t("section",M,[t("div",$,[t("div",P,[m(t("input",{type:"text",class:"form-control",placeholder:"Username","onUpdate:modelValue":c[0]||(c[0]=u=>n.value=u)},null,512),[[g,n.value]]),S]),t("button",{onClick:r,class:"btn btn-success"},"Update")])])])])])])])])])}}});export{G as default};

dist/assets/bb-6acee0cc.svg → dist/assets/bb-a54f24df.svg Voir le fichier


dist/assets/bd-44302c7c.svg → dist/assets/bd-1fd43a37.svg Voir le fichier


dist/assets/be-44dcb7fa.svg → dist/assets/be-9f7261a4.svg Voir le fichier


dist/assets/bf-887cc59e.svg → dist/assets/bf-46585dfe.svg Voir le fichier


dist/assets/bg-64e48687.svg → dist/assets/bg-f0218e2f.svg Voir le fichier


dist/assets/bh-d5887606.svg → dist/assets/bh-3451a8b4.svg Voir le fichier


dist/assets/bi-3ebaaab6.svg → dist/assets/bi-0fdf3446.svg Voir le fichier


dist/assets/bj-39bc1f30.svg → dist/assets/bj-cb04ae04.svg Voir le fichier


dist/assets/bl-0fedd742.svg → dist/assets/bl-020ee5e3.svg Voir le fichier


dist/assets/bm-1d61dd14.svg → dist/assets/bm-09356960.svg Voir le fichier


dist/assets/bn-c14a347f.svg → dist/assets/bn-23a4433a.svg Voir le fichier


dist/assets/bo-971ae121.svg → dist/assets/bo-cd73763c.svg Voir le fichier


dist/assets/bq-bf1db19e.svg → dist/assets/bq-8472ef29.svg Voir le fichier


dist/assets/br-445c3742.svg → dist/assets/br-89780ed2.svg Voir le fichier


+ 1
- 0
dist/assets/branding-0f9ce096.js Voir le fichier

@@ -0,0 +1 @@
import{j as k,k as t,z as $,s as C,r as S,c as h,a,i as r,A as c,t as l,b as I,w as L,y as b,F as j,d as z,p as B,q as N,e as R,o as p,_ as V}from"./index-b3134325.js";import{c as F,g as f}from"./api-04371953.js";const n=i=>(B("data-v-b8d70297"),i=i(),N(),i),D={class:"page-wrapper",id:"app","data-layout":"horizontal","data-navbarbg":"skin6","data-sidebartype":"full","data-sidebar-position":"fixed","data-header-position":"fixed"},A=z('<header class="app-header" data-v-b8d70297><nav class="navbar navbar-expand-lg navbar-light container-fluid px-0" data-v-b8d70297><ul class="navbar-nav" data-v-b8d70297><li class="nav-item d-block d-lg-none" data-v-b8d70297><a class="nav-link sidebartoggler ms-n3" id="sidebarCollapse" href="javascript:void(0)" data-v-b8d70297><i class="ti ti-menu-2" data-v-b8d70297></i></a></li><li class="nav-item d-none d-lg-block" data-v-b8d70297><a href="index.html" class="text-nowrap nav-link" data-v-b8d70297><img src="'+R+'" class="light-logo" width="180" alt="" data-v-b8d70297></a></li></ul></nav></header>',1),E={class:"body-wrapper overflow-hidden"},q={class:"position-relative overflow-hidden min-vh-100 d-flex align-items-center justify-content-center drawise-auth-bg"},M={class:"d-flex align-items-center justify-content-center w-100"},P={class:"row justify-content-center w-100"},T={key:0,class:"col-md-8 col-lg-8 col-xxl-8"},W={class:"card mb-0"},Y={class:"card-body"},G=n(()=>a("h1",{class:"display-6 fs-7 mb-4 text-center"}," Your Branding Logo and Color ",-1)),H={class:"container"},J={class:"row"},K={class:"col-12"},O=["src"],Q=["href"],U=n(()=>a("i",{class:"ti ti-download fs-4 me-2"},null,-1)),X={class:"col-12 mt-4"},Z={class:"container"},aa={class:"row"},ea={class:"col-4 col-lg-2 text-center"},oa={class:"col-4 col-lg-2 text-center"},sa={class:"col-4 col-lg-2 text-center"},ta={class:"col-4 col-lg-2 text-center"},la={class:"col-4 col-lg-2 text-center"},ca={class:"col-4 col-lg-2 text-center"},na={class:"col-12"},ia=["src"],da={class:"col-12"},ra=["src"],_a={class:"col-12"},va=["src"],ua=n(()=>a("i",{class:"ti ti-chevron-right fs-4 me-2"},null,-1)),ha=n(()=>a("div",{class:"track"},[a("div",{class:"bar"})],-1)),pa=n(()=>a("h3",{style:{"font-size":"1rem","text-align":"center"}},[r("Please Wait."),a("br"),r(" Drawise is creating your Brand and website with AI. it may takes few minutes.")],-1)),ga=k({__name:"branding",setup(i){const o=t(!1),g=t("Continue"),w=t(),y=$().params.id,m=t(),e=t([]),_=t([]),v=t();C(()=>{F(),x()});async function x(){o.value=!0;try{(await f)(`/company/${y}/`).then(s=>{console.log(s.data),v.value=s.data.logo_path,w.value=s.data.site_name,m.value=s.data.color_swatch,f("/ColorSwatch/").then(u=>{console.log(u.data),u.data.forEach(d=>{d.id==m.value&&(e.value=d),o.value=!1})}).catch(()=>{o.value=!1,g.value="Failed. Refresh the page"})}).catch(()=>{o.value=!1,g.value="Failed. Refresh the page"})}catch(s){console.error(s)}}return(s,u)=>{const d=S("RouterLink");return p(),h("div",D,[A,a("div",E,[a("div",q,[a("div",M,[a("div",P,[o.value?b("",!0):(p(),h("div",T,[a("div",W,[a("div",Y,[G,a("div",H,[a("div",J,[a("div",K,[a("img",{src:`${v.value}`,alt:"",width:"200"},null,8,O),a("a",{href:`${v.value}`,target:"_blank",download:"",class:"btn"},[U,r(" Download Logo")],8,Q)]),a("div",X,[a("div",Z,[a("div",aa,[a("div",ea,[a("div",{class:"color-item",style:c(`background-color: ${e.value.color1}`)},null,4),a("p",null,l(e.value.color1),1)]),a("div",oa,[a("div",{class:"color-item",style:c(`background-color: ${e.value.color2}`)},null,4),a("p",null,l(e.value.color2),1)]),a("div",sa,[a("div",{class:"color-item",style:c(`background-color: ${e.value.color3}`)},null,4),a("p",null,l(e.value.color3),1)]),a("div",ta,[a("div",{class:"color-item",style:c(`background-color: ${e.value.color4}`)},null,4),a("p",null,l(e.value.color4),1)]),a("div",la,[a("div",{class:"color-item",style:c(`background-color: ${e.value.color5}`)},null,4),a("p",null,l(e.value.color5),1)]),a("div",ca,[a("div",{class:"color-item",style:c(`background-color: ${e.value.color6}`)},null,4),a("p",null,l(e.value.color6),1)])])])]),a("div",na,[a("img",{class:"rounded drawise-logo-image mb-4",src:`https://api.drawise.net/${_.value[0]}`,alt:""},null,8,ia)]),a("div",da,[a("img",{class:"rounded drawise-logo-image mb-4",src:`https://api.drawise.net/${_.value[1]}`,alt:""},null,8,ra)]),a("div",_a,[a("img",{class:"rounded drawise-logo-image mb-4",src:`https://api.drawise.net/${_.value[2]}`,alt:""},null,8,va)])])]),I(d,{to:{name:"pricing"},disabled:o.value,class:"btn btn-success w-100 py-8 mb-4 rounded-2"},{default:L(()=>[r(l(o.value?"Loading ... ":"Continue")+" ",1),ua]),_:1},8,["disabled"])])])])),o.value?(p(),h(j,{key:1},[ha,pa],64)):b("",!0)])])])])])}}});const wa=V(ga,[["__scopeId","data-v-b8d70297"]]);export{wa as default};

+ 0
- 1
dist/assets/branding-20c13791.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 0
- 1
dist/assets/branding-50239191.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 1
- 0
dist/assets/branding-6fbb4341.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 0
- 1
dist/assets/branding-7602fd6b.css Voir le fichier

@@ -1 +0,0 @@
.drawise-auth-bg[data-v-52dc9373]{background-color:#fff!important}.drawise-logo-image[data-v-52dc9373]{width:100%}.color-item[data-v-52dc9373]{height:100px;background-color:red;border-radius:15px}.progress-container[data-v-52dc9373]{width:100%;padding:0 3rem;display:flex;align-items:center;justify-content:center;flex-direction:column}.track[data-v-52dc9373]{width:100%;height:20px;border:2px solid #0e2b74;border-radius:10rem;position:relative}.bar[data-v-52dc9373]{position:absolute;height:100%;border-radius:2rem;background-color:#0e2b74;animation:progressbar-52dc9373 120s ease;top:0;left:0}@keyframes progressbar-52dc9373{0%{width:0%}to{width:100%}}

+ 1
- 0
dist/assets/branding-bba79c8d.css Voir le fichier

@@ -0,0 +1 @@
.drawise-auth-bg[data-v-b8d70297]{background-color:#fff!important}.drawise-logo-image[data-v-b8d70297]{width:100%}.color-item[data-v-b8d70297]{height:100px;background-color:red;border-radius:15px}.progress-container[data-v-b8d70297]{width:100%;padding:0 3rem;display:flex;align-items:center;justify-content:center;flex-direction:column}.track[data-v-b8d70297]{width:100%;height:20px;border:2px solid #0e2b74;border-radius:10rem;position:relative}.bar[data-v-b8d70297]{position:absolute;height:100%;border-radius:2rem;background-color:#0e2b74;animation:progressbar-b8d70297 120s ease;top:0;left:0}@keyframes progressbar-b8d70297{0%{width:0%}to{width:100%}}

dist/assets/bs-0afae33d.svg → dist/assets/bs-2556d5ec.svg Voir le fichier


dist/assets/bt-027d12f9.svg → dist/assets/bt-7608059f.svg Voir le fichier


dist/assets/bv-d299413f.svg → dist/assets/bv-d4dbc6b7.svg Voir le fichier


dist/assets/bw-577ab7f9.svg → dist/assets/bw-cf0a45b7.svg Voir le fichier


dist/assets/by-d1a935fd.svg → dist/assets/by-54856178.svg Voir le fichier


dist/assets/bz-4ace17db.svg → dist/assets/bz-69ac0104.svg Voir le fichier


dist/assets/ca-1a79403d.svg → dist/assets/ca-f925a23c.svg Voir le fichier


dist/assets/cc-aec34a41.svg → dist/assets/cc-398f7184.svg Voir le fichier


dist/assets/cd-20af603a.svg → dist/assets/cd-f890fac5.svg Voir le fichier


dist/assets/cf-a80cdb3c.svg → dist/assets/cf-0236bc07.svg Voir le fichier


dist/assets/cg-b34167eb.svg → dist/assets/cg-448153a1.svg Voir le fichier


dist/assets/ch-9e41b33c.svg → dist/assets/ch-ff34bff1.svg Voir le fichier


+ 0
- 1
dist/assets/chooseLayout-30374780.css Voir le fichier

@@ -1 +0,0 @@
.drawise-auth-bg[data-v-1f6203f4]{background-color:#fff!important}.radio-tile-group[data-v-1f6203f4]{display:flex;flex-wrap:wrap;justify-content:center}.radio-tile-group .input-container[data-v-1f6203f4]{position:relative;margin:.5rem}.radio-tile-group .input-container .radio-button[data-v-1f6203f4]{opacity:0;position:absolute;top:0;left:0;height:100%;width:100%;margin:0;cursor:pointer}.radio-tile-group .input-container .radio-tile[data-v-1f6203f4]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;border-radius:5px;padding:.1rem;transition:transform .3s ease}.radio-tile-group .input-container .icon svg[data-v-1f6203f4]{fill:#079ad9}.radio-tile-group .input-container .radio-tile-label[data-v-1f6203f4]{text-align:center;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:1px;color:#079ad9}.radio-tile-group .input-container .radio-button:checked+.radio-tile[data-v-1f6203f4]{color:#fff;transform:scale(1.05);border:2px solid rgb(46,231,46)}.radio-tile-group .input-container .radio-button:checked+.radio-tile .icon svg[data-v-1f6203f4]{fill:#fff;background-color:#079ad9;border:2px solid rgb(46,231,46)}.radio-tile-group .input-container .radio-button:checked+.radio-tile .radio-tile-label[data-v-1f6203f4]{color:#fff;background-color:#079ad9;border:2px solid rgb(46,231,46)}

+ 0
- 1
dist/assets/chooseLayout-93e8fadd.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 1
- 0
dist/assets/chooseLayout-c22573b5.css Voir le fichier

@@ -0,0 +1 @@
.drawise-auth-bg[data-v-65c6b78f]{background-color:#fff!important}.radio-tile-group[data-v-65c6b78f]{display:flex;flex-wrap:wrap;justify-content:center}.radio-tile-group .input-container[data-v-65c6b78f]{position:relative;margin:.5rem}.radio-tile-group .input-container .radio-button[data-v-65c6b78f]{opacity:0;position:absolute;top:0;left:0;height:100%;width:100%;margin:0;cursor:pointer}.radio-tile-group .input-container .radio-tile[data-v-65c6b78f]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;border-radius:5px;padding:.1rem;transition:transform .3s ease}.radio-tile-group .input-container .icon svg[data-v-65c6b78f]{fill:#079ad9}.radio-tile-group .input-container .radio-tile-label[data-v-65c6b78f]{text-align:center;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:1px;color:#079ad9}.radio-tile-group .input-container .radio-button:checked+.radio-tile[data-v-65c6b78f]{color:#fff;transform:scale(1.05);border:2px solid rgb(46,231,46)}.radio-tile-group .input-container .radio-button:checked+.radio-tile .icon svg[data-v-65c6b78f]{fill:#fff;background-color:#079ad9;border:2px solid rgb(46,231,46)}.radio-tile-group .input-container .radio-button:checked+.radio-tile .radio-tile-label[data-v-65c6b78f]{color:#fff;background-color:#079ad9;border:2px solid rgb(46,231,46)}

+ 1
- 0
dist/assets/chooseLayout-fb5e8df5.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


dist/assets/ci-b3ada7ba.svg → dist/assets/ci-096f12b8.svg Voir le fichier


dist/assets/ck-9101f28d.svg → dist/assets/ck-177b9497.svg Voir le fichier


dist/assets/cl-54d6c102.svg → dist/assets/cl-0d5de868.svg Voir le fichier


dist/assets/cm-fd531ef7.svg → dist/assets/cm-6aa2a51d.svg Voir le fichier


dist/assets/cn-569571e8.svg → dist/assets/cn-4c6ea2cd.svg Voir le fichier


dist/assets/co-8b8f0488.svg → dist/assets/co-a5fcf87d.svg Voir le fichier


+ 0
- 1
dist/assets/company-1d361429.css Voir le fichier

@@ -1 +0,0 @@
.drawise-auth-bg[data-v-052785a8]{background:#fff!important}

+ 1
- 0
dist/assets/company-6e42d9c4.css Voir le fichier

@@ -0,0 +1 @@
.drawise-auth-bg[data-v-e339b7da]{background:#fff!important}

+ 0
- 1
dist/assets/company-ea6e4863.js Voir le fichier

@@ -1 +0,0 @@
import{j as f,k as o,s as y,c as b,a,m as u,v as _,i as x,t as w,d as k,n as I,p as S,q as j,e as V,o as B,_ as C}from"./index-5dca7a6a.js";import{c as N,p as v}from"./api-2fe5baa7.js";const m=l=>(S("data-v-052785a8"),l=l(),j(),l),T={class:"page-wrapper",id:"app","data-layout":"horizontal","data-navbarbg":"skin6","data-sidebartype":"full","data-sidebar-position":"fixed","data-header-position":"fixed"},E=k('<header class="app-header" data-v-052785a8><nav class="navbar navbar-expand-lg navbar-light container-fluid px-0" data-v-052785a8><ul class="navbar-nav" data-v-052785a8><li class="nav-item d-block d-lg-none" data-v-052785a8><a class="nav-link sidebartoggler ms-n3" id="sidebarCollapse" href="javascript:void(0)" data-v-052785a8><i class="ti ti-menu-2" data-v-052785a8></i></a></li><li class="nav-item d-none d-lg-block" data-v-052785a8><a href="index.html" class="text-nowrap nav-link" data-v-052785a8><img src="'+V+'" class="light-logo" width="180" alt="" data-v-052785a8></a></li></ul></nav></header>',1),H={class:"body-wrapper overflow-hidden"},A={class:"position-relative overflow-hidden min-vh-100 d-flex align-items-center justify-content-center drawise-auth-bg"},D={class:"d-flex align-items-center justify-content-center w-100"},F={class:"row justify-content-center w-100"},M={class:"col-md-8 col-lg-6 col-xxl-3"},P={class:"card mb-0"},U={class:"card-body"},$=m(()=>a("h1",{class:"display-6 fs-7 mb-4"},"Enter your company name",-1)),q={class:"mb-3"},z={class:"mb-4"},L=["disabled"],G=m(()=>a("i",{class:"ti ti-chevron-right fs-4 me-2"},null,-1)),J=f({__name:"company",setup(l){const n=o(),c=o(),i=o(!1),d=o("Continue"),r=o(),p=o();y(()=>{N()});async function h(){try{i.value=!0,d.value="loading...",(await v)("/create_site/company/",{name:n.value,slogon:c.value}).then(s=>{var t;if(console.log(s.data),r.value=s.data.id,s.data)try{v("/create_site/sites/",{site_name:n.value,company:r.value,domain_name:(t=n.value)==null?void 0:t.toString().replace(/\s/g,"")}).then(e=>{e.data&&(console.log(e.data),p.value=e.data.id,v("/create_site/pages/",{site:p.value,page_name:"Home",content:"<h1>Home Page</h1>"}).then(g=>{console.log(g.data),I.push(`site/create/${r.value}/${p.value}/palette`)}))}).catch(()=>{i.value=!1,d.value="Failed. Try Again."})}catch{}}).catch(()=>{i.value=!1,d.value="Failed. Try Again."})}catch(s){console.error(s)}}return(s,t)=>(B(),b("div",T,[E,a("div",H,[a("div",A,[a("div",D,[a("div",F,[a("div",M,[a("div",P,[a("div",U,[a("div",null,[$,a("div",q,[u(a("input",{"onUpdate:modelValue":t[0]||(t[0]=e=>n.value=e),type:"text",class:"form-control",id:"exampleInputEmail1","aria-describedby":"emailHelp",placeholder:"Brand Name"},null,512),[[_,n.value]])]),a("div",z,[u(a("input",{"onUpdate:modelValue":t[1]||(t[1]=e=>c.value=e),type:"text",class:"form-control",id:"exampleInputPassword1",placeholder:"Slogan"},null,512),[[_,c.value]])]),a("button",{onClick:h,class:"btn btn-success w-100 py-8 mb-4 rounded-2",disabled:i.value},[x(w(d.value)+" ",1),G],8,L)])])])])])])])])]))}});const Q=C(J,[["__scopeId","data-v-052785a8"]]);export{Q as default};

+ 1
- 0
dist/assets/company-f28686d3.js Voir le fichier

@@ -0,0 +1 @@
import{j as b,k as t,s as h,c as f,a,m as v,v as u,i as g,t as y,d as x,n as w,p as k,q as I,e as S,o as j,_ as V}from"./index-b3134325.js";import{c as B,p as C}from"./api-04371953.js";const _=s=>(k("data-v-e339b7da"),s=s(),I(),s),N={class:"page-wrapper",id:"app","data-layout":"horizontal","data-navbarbg":"skin6","data-sidebartype":"full","data-sidebar-position":"fixed","data-header-position":"fixed"},E=x('<header class="app-header" data-v-e339b7da><nav class="navbar navbar-expand-lg navbar-light container-fluid px-0" data-v-e339b7da><ul class="navbar-nav" data-v-e339b7da><li class="nav-item d-block d-lg-none" data-v-e339b7da><a class="nav-link sidebartoggler ms-n3" id="sidebarCollapse" href="javascript:void(0)" data-v-e339b7da><i class="ti ti-menu-2" data-v-e339b7da></i></a></li><li class="nav-item d-none d-lg-block" data-v-e339b7da><a href="index.html" class="text-nowrap nav-link" data-v-e339b7da><img src="'+S+'" class="light-logo" width="180" alt="" data-v-e339b7da></a></li></ul></nav></header>',1),T={class:"body-wrapper overflow-hidden"},D={class:"position-relative overflow-hidden min-vh-100 d-flex align-items-center justify-content-center drawise-auth-bg"},M={class:"d-flex align-items-center justify-content-center w-100"},U={class:"row justify-content-center w-100"},$={class:"col-md-8 col-lg-6 col-xxl-3"},q={class:"card mb-0"},z={class:"card-body"},A=_(()=>a("h1",{class:"display-6 fs-7 mb-4"},"Enter your company name",-1)),F={class:"mb-3"},H={class:"mb-4"},L=["disabled"],P=_(()=>a("i",{class:"ti ti-chevron-right fs-4 me-2"},null,-1)),G=b({__name:"company",setup(s){const d=t(),n=t(),l=t(!1),i=t("Continue"),r=t(),p=t();h(()=>{B()});async function m(){try{l.value=!0,i.value="loading...",(await C)("/company/",{name:d.value,slogon:n.value}).then(e=>{console.log(e.data),r.value=e.data.id,p.value=e.data.id,e.data&&w.push(`site/create/${r.value}/${p.value}/palette`)}).catch(e=>{l.value=!1,window.alert(e.response.data),i.value="Failed. Try Again."})}catch(e){console.error(e)}}return(e,o)=>(j(),f("div",N,[E,a("div",T,[a("div",D,[a("div",M,[a("div",U,[a("div",$,[a("div",q,[a("div",z,[a("div",null,[A,a("div",F,[v(a("input",{"onUpdate:modelValue":o[0]||(o[0]=c=>d.value=c),type:"text",class:"form-control",id:"exampleInputEmail1","aria-describedby":"emailHelp",placeholder:"Brand Name"},null,512),[[u,d.value]])]),a("div",H,[v(a("input",{"onUpdate:modelValue":o[1]||(o[1]=c=>n.value=c),type:"text",class:"form-control",id:"exampleInputPassword1",placeholder:"Slogan"},null,512),[[u,n.value]])]),a("button",{onClick:m,class:"btn btn-success w-100 py-8 mb-4 rounded-2",disabled:l.value},[g(y(i.value)+" ",1),P],8,L)])])])])])])])])]))}});const O=V(G,[["__scopeId","data-v-e339b7da"]]);export{O as default};

dist/assets/cr-e91cc18d.svg → dist/assets/cr-5caf88db.svg Voir le fichier


dist/assets/cu-dab2662e.svg → dist/assets/cu-33fe0423.svg Voir le fichier


dist/assets/cv-d56ff63b.svg → dist/assets/cv-6db0dccf.svg Voir le fichier


dist/assets/cw-728bd968.svg → dist/assets/cw-64012045.svg Voir le fichier


dist/assets/cx-d1ab843a.svg → dist/assets/cx-a3fb43bc.svg Voir le fichier


dist/assets/cy-8115e980.svg → dist/assets/cy-f8625bef.svg Voir le fichier


dist/assets/cz-cf6962cc.svg → dist/assets/cz-4cd949b9.svg Voir le fichier


dist/assets/dashboard-00cdcf1b.js → dist/assets/dashboard-d247466e.js Voir le fichier

@@ -1 +1 @@
import{j as k,k as h,s as j,c as o,a as t,F as b,u as C,b as i,w as c,x as l,y as L,d as B,e as N,o as a,t as v,i as d,R as r}from"./index-5dca7a6a.js";import{c as P,g}from"./api-2fe5baa7.js";const R={class:"page-wrapper",id:"app","data-layout":"horizontal","data-navbarbg":"skin6","data-sidebartype":"full","data-sidebar-position":"fixed","data-header-position":"fixed"},V=B('<header class="app-header"><nav class="navbar navbar-expand-lg navbar-light container-fluid px-0"><ul class="navbar-nav"><li class="nav-item d-block d-lg-none"><a class="nav-link sidebartoggler ms-n3" id="sidebarCollapse" href="javascript:void(0)"><i class="ti ti-menu-2"></i></a></li><li class="nav-item d-none d-lg-block"><a href="index.html" class="text-nowrap nav-link"><img src="'+N+'" class="light-logo" width="180" alt=""></a></li></ul></nav></header>',1),$={class:"body-wrapper overflow-hidden"},D={class:"position-relative overflow-hidden min-vh-100 d-flex align-items-center justify-content-center drawise-auth-bg"},z={class:"d-flex align-items-center justify-content-center w-100"},E={key:0,class:"row justify-content-center w-100"},F={class:"col-md-8 col-lg-8 col-xxl-8"},S=t("h1",{class:"display-6 fs-7 mb-4 text-center"}," Dashboard, let's Build it ",-1),T={class:"containermt-4"},I={class:"row"},K={class:"card"},M={class:"card-body"},U={class:"container"},q={class:"row"},A={class:"col-12 col-md-6 col-lg-3 d-flex align-items-center justify-content-center"},G=["src"],H={class:"col-12 col-md-6 col-lg-9 mt-4"},J={class:"d-flex align-items-center justify-content-between w-100 prof-flex"},O={class:"fs-5 d-none-prof-500"},Q=t("i",{class:"ti ti-cloud-download fs-4 me-2"},null,-1),W=t("hr",null,null,-1),X={class:"d-flex align-items-center justify-content-between w-100 prof-flex"},Y=["onClick"],Z=t("i",{class:"ti ti-external-link fs-4 me-2"},null,-1),tt=t("i",{class:"ti ti-edit fs-4 me-2"},null,-1),et=t("button",{class:"btn mb-3 d-block w-100 btn-outline-primary waves-effect waves-light",type:"button"}," Create new site ",-1),st={key:1,class:"progress-container"},nt=t("div",{class:"track"},[t("div",{class:"bar"})],-1),ot=t("div",null,"Loading ...",-1),at=[nt,ot],dt=k({__name:"dashboard",setup(it){const _=h([]),m=h([]),p=h(!0);j(()=>{P(),w()});async function w(){try{const n=(await g("/create_site/sites/")).data;console.log(n);const e=n.map(f=>y(f.company)),u=await Promise.all(e);_.value=n,m.value=u,p.value=!1}catch(s){console.error(s)}}async function y(s){try{const e="https://api.drawise.net"+(await g(`/create_site/company/${s}`)).data.logo_path;return console.log(e),e}catch(n){return console.error(n),"null"}}const x=s=>{window.open("https://drawise.net/web/"+s,"_blank")};return(s,n)=>(a(),o("div",R,[V,t("div",$,[t("div",D,[t("div",z,[p.value?(a(),o("div",st,at)):(a(),o("div",E,[t("div",F,[S,t("div",T,[t("div",I,[_.value?(a(),o(b,{key:0},[(a(!0),o(b,null,C(_.value,(e,u)=>(a(),o("div",{key:e.id,class:"col-sm-12 col-lg-12"},[t("div",K,[t("div",M,[t("div",U,[t("div",q,[t("div",A,[t("img",{src:m.value[u],alt:"",width:"100"},null,8,G)]),t("div",H,[t("div",J,[t("h1",O,v(e.site_name),1),i(l(r),{to:`dash/${e.id}/branding`,type:"button",class:"justify-content-center btn mb-1 btn-rounded btn-success d-flex align-items-center"},{default:c(()=>[Q,d(" Branding Kit ")]),_:2},1032,["to"])]),W,t("div",X,[t("button",{onClick:f=>x(e.domain_name),type:"button",class:"justify-content-center btn mb-1 btn-rounded btn-outline-success d-flex align-items-center najafi-btn"},[Z,d(" drawise.net/web/"+v(e.domain_name),1)],8,Y),i(l(r),{to:`dash/${e.id}/pages`,type:"button",class:"justify-content-center btn mb-1 btn-rounded btn-outline-success d-flex align-items-center najafi-btn"},{default:c(()=>[tt,d(" Edit ")]),_:2},1032,["to"])])])])])])])]))),128)),i(l(r),{to:"company"},{default:c(()=>[et]),_:1}),i(l(r),{to:"/terms",type:"button",class:"text-center d-block w-100 waves-effect"},{default:c(()=>[d(" Terms & privacy ")]),_:1})],64)):L("",!0)])])])]))])])])]))}});export{dt as default};
import{j as k,k as h,s as j,c as o,a as t,F as b,u as C,b as i,w as c,x as l,y as L,d as B,e as N,o as a,t as v,i as d,R as r}from"./index-b3134325.js";import{c as P,g}from"./api-04371953.js";const R={class:"page-wrapper",id:"app","data-layout":"horizontal","data-navbarbg":"skin6","data-sidebartype":"full","data-sidebar-position":"fixed","data-header-position":"fixed"},V=B('<header class="app-header"><nav class="navbar navbar-expand-lg navbar-light container-fluid px-0"><ul class="navbar-nav"><li class="nav-item d-block d-lg-none"><a class="nav-link sidebartoggler ms-n3" id="sidebarCollapse" href="javascript:void(0)"><i class="ti ti-menu-2"></i></a></li><li class="nav-item d-none d-lg-block"><a href="index.html" class="text-nowrap nav-link"><img src="'+N+'" class="light-logo" width="180" alt=""></a></li></ul></nav></header>',1),$={class:"body-wrapper overflow-hidden"},D={class:"position-relative overflow-hidden min-vh-100 d-flex align-items-center justify-content-center drawise-auth-bg"},z={class:"d-flex align-items-center justify-content-center w-100"},E={key:0,class:"row justify-content-center w-100"},F={class:"col-md-8 col-lg-8 col-xxl-8"},S=t("h1",{class:"display-6 fs-7 mb-4 text-center"}," Dashboard, let's Build it ",-1),T={class:"containermt-4"},I={class:"row"},K={class:"card"},M={class:"card-body"},U={class:"container"},q={class:"row"},A={class:"col-12 col-md-6 col-lg-3 d-flex align-items-center justify-content-center"},G=["src"],H={class:"col-12 col-md-6 col-lg-9 mt-4"},J={class:"d-flex align-items-center justify-content-between w-100 prof-flex"},O={class:"fs-5 d-none-prof-500"},Q=t("i",{class:"ti ti-cloud-download fs-4 me-2"},null,-1),W=t("hr",null,null,-1),X={class:"d-flex align-items-center justify-content-between w-100 prof-flex"},Y=["onClick"],Z=t("i",{class:"ti ti-external-link fs-4 me-2"},null,-1),tt=t("i",{class:"ti ti-edit fs-4 me-2"},null,-1),et=t("button",{class:"btn mb-3 d-block w-100 btn-outline-primary waves-effect waves-light",type:"button"}," Create new site ",-1),st={key:1,class:"progress-container"},nt=t("div",{class:"track"},[t("div",{class:"bar"})],-1),ot=t("div",null,"Loading ...",-1),at=[nt,ot],dt=k({__name:"dashboard",setup(it){const _=h([]),m=h([]),f=h(!0);j(()=>{P(),y()});async function y(){try{const n=(await g("company/")).data;console.log(n);const e=n.map(p=>w(p.id)),u=await Promise.all(e);_.value=n,m.value=u,f.value=!1}catch(s){console.error(s)}}async function w(s){try{const e=(await g(`/company/${s}/logo`)).data.logo_path;return console.log(e),e}catch(n){return console.error(n),"null"}}const x=s=>{window.open("https://drawise.net/web/"+s,"_blank")};return(s,n)=>(a(),o("div",R,[V,t("div",$,[t("div",D,[t("div",z,[f.value?(a(),o("div",st,at)):(a(),o("div",E,[t("div",F,[S,t("div",T,[t("div",I,[_.value?(a(),o(b,{key:0},[(a(!0),o(b,null,C(_.value,(e,u)=>(a(),o("div",{key:e.id,class:"col-sm-12 col-lg-12"},[t("div",K,[t("div",M,[t("div",U,[t("div",q,[t("div",A,[t("img",{src:m.value[u],alt:"",width:"100"},null,8,G)]),t("div",H,[t("div",J,[t("h1",O,v(e.name),1),i(l(r),{to:`dash/${e.id}/branding`,type:"button",class:"justify-content-center btn mb-1 btn-rounded btn-success d-flex align-items-center"},{default:c(()=>[Q,d(" Branding Kit ")]),_:2},1032,["to"])]),W,t("div",X,[t("button",{onClick:p=>x(e.domain_name),type:"button",class:"justify-content-center btn mb-1 btn-rounded btn-outline-success d-flex align-items-center najafi-btn"},[Z,d(" drawise.net/web/"+v(e.domain_name),1)],8,Y),i(l(r),{to:`dash/${e.id}/pages`,type:"button",class:"justify-content-center btn mb-1 btn-rounded btn-outline-success d-flex align-items-center najafi-btn"},{default:c(()=>[tt,d(" Edit ")]),_:2},1032,["to"])])])])])])])]))),128)),i(l(r),{to:"company"},{default:c(()=>[et]),_:1}),i(l(r),{to:"/terms",type:"button",class:"text-center d-block w-100 waves-effect"},{default:c(()=>[d(" Terms & privacy ")]),_:1})],64)):L("",!0)])])])]))])])])]))}});export{dt as default};

dist/assets/de-e77fe5ad.svg → dist/assets/de-2f7c37c3.svg Voir le fichier


dist/assets/dj-8551092a.svg → dist/assets/dj-d98d2c7e.svg Voir le fichier


dist/assets/dk-75a3ce2a.svg → dist/assets/dk-a68b01da.svg Voir le fichier


dist/assets/dm-2d9e26ad.svg → dist/assets/dm-1013dcc4.svg Voir le fichier


dist/assets/do-c9175d3a.svg → dist/assets/do-f995d8d2.svg Voir le fichier


dist/assets/domain-ccf2a2f3.js → dist/assets/domain-883366e5.js Voir le fichier

@@ -1 +1 @@
import{_ as n,r as l,c as d,a as t,b as e,w as s,d as i,e as c,o as r,i as o}from"./index-5dca7a6a.js";const _={},h={class:"page-wrapper",id:"app","data-layout":"horizontal","data-navbarbg":"skin6","data-sidebartype":"full","data-sidebar-position":"fixed","data-header-position":"fixed"},u=i('<header class="app-header"><nav class="navbar navbar-expand-lg navbar-light container-fluid px-0"><ul class="navbar-nav"><li class="nav-item d-none d-lg-block"><a href="index.html" class="text-nowrap nav-link"><img src="'+c+'" class="light-logo" width="180" alt=""></a></li></ul></nav></header>',1),p={class:"body-wrapper overflow-hidden"},f={class:"position-relative overflow-hidden min-vh-100 d-flex align-items-center justify-content-center drawise-auth-bg"},m={class:"d-flex align-items-center justify-content-center w-100"},v={class:"row justify-content-center w-100"},b={class:"col-md-8 col-lg-8 col-xxl-8"},g=t("i",{class:"ti ti-chevron-left fs-4 me-2"},null,-1),x=t("h1",{class:"display-6 fs-7 mb-4 text-center"}," Dashboard, let's Build it ",-1),w={class:"wrapper"},y={class:"tabs clearfix","data-tabgroup":"first-tab-group"},k=i('<section id="first-tab-group" class="tabgroup"><div id="tab1"><p>The method to add a text record to your domain will vary with hosts. The generic steps to add a text record to your domain are listed below.</p><ul><li><i class="ti ti-chevron-right fs-4 me-2"></i> ns1.drawisedns.com</li><li><i class="ti ti-chevron-right fs-4 me-2"></i> ns2.drawisedns.com</li></ul><hr><p class="fs-3">Domain name</p><div class="form-floating mb-3"><input type="text" class="form-control" placeholder="Username"><label>Your Domain</label></div></div></section>',1);function B(D,L){const a=l("RouterLink");return r(),d("div",h,[u,t("div",p,[t("div",f,[t("div",m,[t("div",v,[t("div",b,[e(a,{to:"../../dashboard",class:"btn btn-outline-warning py-8 mb-4 rounded-2"},{default:s(()=>[g,o(" Back To Dashboard")]),_:1}),x,t("div",w,[t("ul",y,[t("li",null,[e(a,{to:"pages"},{default:s(()=>[o("Edit Pages")]),_:1})]),t("li",null,[e(a,{to:"basic"},{default:s(()=>[o("Basic Info")]),_:1})]),t("li",null,[e(a,{to:"layout"},{default:s(()=>[o("Layout")]),_:1})]),t("li",null,[e(a,{to:"domain",class:"active"},{default:s(()=>[o("Link Domain")]),_:1})])]),k])])])])])])])}const T=n(_,[["render",B]]);export{T as default};
import{_ as n,r as l,c as d,a as t,b as e,w as s,d as i,e as c,o as r,i as o}from"./index-b3134325.js";const _={},h={class:"page-wrapper",id:"app","data-layout":"horizontal","data-navbarbg":"skin6","data-sidebartype":"full","data-sidebar-position":"fixed","data-header-position":"fixed"},u=i('<header class="app-header"><nav class="navbar navbar-expand-lg navbar-light container-fluid px-0"><ul class="navbar-nav"><li class="nav-item d-none d-lg-block"><a href="index.html" class="text-nowrap nav-link"><img src="'+c+'" class="light-logo" width="180" alt=""></a></li></ul></nav></header>',1),p={class:"body-wrapper overflow-hidden"},f={class:"position-relative overflow-hidden min-vh-100 d-flex align-items-center justify-content-center drawise-auth-bg"},m={class:"d-flex align-items-center justify-content-center w-100"},v={class:"row justify-content-center w-100"},b={class:"col-md-8 col-lg-8 col-xxl-8"},g=t("i",{class:"ti ti-chevron-left fs-4 me-2"},null,-1),x=t("h1",{class:"display-6 fs-7 mb-4 text-center"}," Dashboard, let's Build it ",-1),w={class:"wrapper"},y={class:"tabs clearfix","data-tabgroup":"first-tab-group"},k=i('<section id="first-tab-group" class="tabgroup"><div id="tab1"><p>The method to add a text record to your domain will vary with hosts. The generic steps to add a text record to your domain are listed below.</p><ul><li><i class="ti ti-chevron-right fs-4 me-2"></i> ns1.drawisedns.com</li><li><i class="ti ti-chevron-right fs-4 me-2"></i> ns2.drawisedns.com</li></ul><hr><p class="fs-3">Domain name</p><div class="form-floating mb-3"><input type="text" class="form-control" placeholder="Username"><label>Your Domain</label></div></div></section>',1);function B(D,L){const a=l("RouterLink");return r(),d("div",h,[u,t("div",p,[t("div",f,[t("div",m,[t("div",v,[t("div",b,[e(a,{to:"../../dashboard",class:"btn btn-outline-warning py-8 mb-4 rounded-2"},{default:s(()=>[g,o(" Back To Dashboard")]),_:1}),x,t("div",w,[t("ul",y,[t("li",null,[e(a,{to:"pages"},{default:s(()=>[o("Edit Pages")]),_:1})]),t("li",null,[e(a,{to:"basic"},{default:s(()=>[o("Basic Info")]),_:1})]),t("li",null,[e(a,{to:"layout"},{default:s(()=>[o("Layout")]),_:1})]),t("li",null,[e(a,{to:"domain",class:"active"},{default:s(()=>[o("Link Domain")]),_:1})])]),k])])])])])])])}const T=n(_,[["render",B]]);export{T as default};

dist/assets/dz-526ad8f8.svg → dist/assets/dz-f198357e.svg Voir le fichier


dist/assets/ec-c48f866e.svg → dist/assets/ec-35b4b125.svg Voir le fichier


+ 0
- 3
dist/assets/edit-page-b3c7902a.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 3
- 0
dist/assets/edit-page-fbcc3dfa.js Voir le fichier

@@ -0,0 +1,3 @@
import{j as H,k as o,C as q,z as B,s as D,J as R,r as z,c as w,a as e,b as P,w as A,m as _,v as k,x as L,i as I,t as h,F as N,u as Q,d as J,e as O,o as T,D as W}from"./index-b3134325.js";import{g as K,p as X,Q as Y,r as Z}from"./apiFrom-f56e1afe.js";/* empty css */import{c as ee,a as te,p as F}from"./api-04371953.js";const ae={class:"page-wrapper",id:"app","data-layout":"horizontal","data-navbarbg":"skin6","data-sidebartype":"full","data-sidebar-position":"fixed","data-header-position":"fixed"},se=J('<header class="app-header"><nav class="navbar navbar-expand-lg navbar-light container-fluid px-0"><ul class="navbar-nav"><li class="nav-item d-block d-lg-none"><a class="nav-link sidebartoggler ms-n3" id="sidebarCollapse" href="javascript:void(0)"><i class="ti ti-menu-2"></i></a></li><li class="nav-item d-none d-lg-block"><a href="index.html" class="text-nowrap nav-link"><img src="'+O+'" class="light-logo" width="180" alt=""></a></li></ul></nav></header>',1),oe={class:"body-wrapper overflow-hidden"},ne={class:"position-relative overflow-hidden min-vh-100 d-flex align-items-center justify-content-center drawise-auth-bg"},le={class:"d-flex align-items-center justify-content-center w-100"},ie={class:"row justify-content-center w-100"},ce={class:"col-md-8 col-lg-8 col-xxl-8"},de=e("i",{class:"ti ti-chevron-left fs-4 me-2"},null,-1),re={class:"container mt-4"},ue={class:"row"},pe={class:"form-floating mb-3"},ve=e("label",null,"Page name",-1),ge=e("hr",null,null,-1),me=e("p",{class:"fs-8 fw-bold"},"Body text",-1),_e={class:"container"},he={class:"row"},fe={class:"col-12 col-md-8 mb-5"},be={class:"col-12 col-md-4 profnajafi"},ye={class:"card"},xe={class:"card-body"},we=e("h1",{class:"fs-6 fw-bolder"},"Explain the Text:",-1),ke=["disabled"],Ie=e("i",{class:"ti ti-sparkles fs-4 me-2"},null,-1),Te=e("hr",null,null,-1),Se=e("p",{class:"fs-4"},"Generate Image",-1),Ce=["disabled"],Pe=e("p",{class:"fs-4 mt-5"},"Select Image",-1),Le={class:"radio-tile-group"},Fe={class:"checkbox-group"},Me={class:"checkbox-wrapper"},Ve=["onUpdate:modelValue"],je={class:"checkbox-tile"},Ee=["src"],Ge=e("i",{class:"ti ti-trash fs-4"},null,-1),Ue=[Ge],$e={class:"col-12 mb-5"},He=["disabled"],qe=e("i",{class:"ti ti-device-floppy fs-4 me-2"},null,-1),Qe=H({__name:"edit-page",setup(Be){const u=o(!1),p=o("Save"),i=o(!1),v=o(!1),f=o(""),g=q(),S=o(""),m=o(""),n=o(null),c=B().params.id,d=o(),b=o(),y=o();D(()=>{ee(),M()});async function M(){try{(await K)(`/SitePages/ForEdit/${c}/`).then(t=>{console.log(t.data),t.data&&(d.value=t.data.site_id,n.value.setHTML(t.data.page_content),m.value=t.data.page_name,console.log(d.value),y.value=t.data.image)})}catch(t){console.error(t)}}async function V(){console.log(n.value.getHTML());try{u.value=!0,p.value="Saving...",(await te)(`/SitePages/${c}/`,{site:d.value,page_name:m.value,content:n.value.getHTML(),images:U.value}).then(t=>{console.log(t.data),u.value=!1,p.value="Save",g.push(`../../../dash/${d.value}/pages`)})}catch(t){u.value=!1,p.value="Failed, Try Again",console.error(t)}}const x=o("Generate"),j=()=>{v.value=!0,x.value="Generating...",F("/SitePages/picogen/",{request:b.value,pageId:c}).then(()=>{window.location.reload()}).catch(()=>{v.value=!1,x.value="Failed, Try Again"})},C=o(null),E=async()=>{var s;const a=(s=C.value.files)==null?void 0:s[0];if(!a)return;const r=new FormData;r.append("image",a),r.append("page",c.toString()),console.log(a);try{(await X)("/create_site/images/",r).then(l=>{console.log("Image uploaded successfully:",l.data),g.go(0)})}catch(l){console.error("Error uploading image:",l)}},G=async()=>{n.value.setHTML("<p>Generating ... </p>"),i.value=!0;try{F("/SitePages/gpt",{request:f.value}).then(t=>{console.log(t.data),n.value.setHTML(t.data),i.value=!1}).catch(()=>{n.value.setHTML("<p>Failed</p>"),i.value=!1})}catch(t){console.error("Error:",t)}},U=R(()=>y.value.filter(t=>t.selected).map(t=>t.id)),$=async t=>{(await Z)(`/SitePages/image/${t}`).then(a=>{console.log(a.data),g.go(0)}).catch(()=>{g.go(0)})};return(t,a)=>{const r=z("RouterLink");return T(),w("div",ae,[se,e("div",oe,[e("div",ne,[e("div",le,[e("div",ie,[e("div",ce,[P(r,{to:`../../../dash/${d.value}/pages`,class:"btn btn-outline-warning py-8 mb-4 rounded-2"},{default:A(()=>[de,I(" Back To Pages")]),_:1},8,["to"]),e("div",re,[e("div",ue,[e("div",pe,[_(e("input",{type:"text",class:"form-control",placeholder:"Username","onUpdate:modelValue":a[0]||(a[0]=s=>m.value=s)},null,512),[[k,m.value]]),ve]),ge,me,e("div",_e,[e("div",he,[e("div",fe,[P(L(Y),{ref_key:"quill",ref:n,content:S.value,"onUpdate:content":a[1]||(a[1]=s=>S.value=s),theme:"snow"},null,8,["content"])]),e("div",be,[e("div",ye,[e("div",xe,[we,_(e("textarea",{"onUpdate:modelValue":a[2]||(a[2]=s=>f.value=s),class:"form-control mb-4",rows:"10",placeholder:`Ex: Write SEO optimized marketing copy for blogs,\r
Facebook ads, Google Ads and more to increase clicks,\r
conversions and sales.`},null,512),[[k,f.value]]),e("button",{onClick:G,type:"button",disabled:i.value,class:"justify-content-center w-100 btn mb-1 btn-rounded btn-danger d-flex align-items-center"},[Ie,I(" "+h(i.value?"Generating ...":"Generate"),1)],8,ke)])])]),Te,Se,_(e("input",{"onUpdate:modelValue":a[3]||(a[3]=s=>b.value=s),type:"text",class:"form-control",id:"nametext","aria-describedby":"name",placeholder:"Type your imagination"},null,512),[[k,b.value]]),e("button",{disabled:v.value,onClick:j,class:"btn btn-primary mt-3"},h(x.value),9,Ce),e("p",null,h(v.value?"Creating images with AI tools may take few minutes. please do not refresh the page":""),1),Pe,e("input",{class:"form-control mb-4",type:"file",id:"formFile",ref_key:"imageInput",ref:C,onChange:E,accept:"image/*"},null,544),e("div",Le,[e("fieldset",Fe,[(T(!0),w(N,null,Q(y.value,s=>(T(),w("div",{key:s,class:"checkbox"},[e("label",Me,[_(e("input",{type:"checkbox",class:"checkbox-input","onUpdate:modelValue":l=>s.selected=l},null,8,Ve),[[W,s.selected]]),e("span",je,[e("img",{src:`${s}`,alt:"",style:{"max-width":"150px"}},null,8,Ee),e("button",{onClick:a[4]||(a[4]=l=>$(L(c))),class:"btn btn-outline-danger btn-sm p-1 m-1"},Ue)])])]))),128))])]),e("div",$e,[e("button",{onClick:V,type:"button",disabled:u.value,class:"justify-content-center btn mb-1 btn-rounded btn-success"},[qe,I(" "+h(p.value),1)],8,He)])])])])])])])])])])])}}});export{Qe as default};

dist/assets/ee-68e5de07.svg → dist/assets/ee-7affd523.svg Voir le fichier


dist/assets/eg-94c4b809.svg → dist/assets/eg-f688770c.svg Voir le fichier


dist/assets/eh-d0af3c8b.svg → dist/assets/eh-89536bf6.svg Voir le fichier


dist/assets/er-b24593eb.svg → dist/assets/er-d4d808e5.svg Voir le fichier


dist/assets/es-71ea7336.svg → dist/assets/es-afc75481.svg Voir le fichier


dist/assets/et-0127554f.svg → dist/assets/et-778f3d27.svg Voir le fichier


dist/assets/fa-brands-400-15fe8048.svg → dist/assets/fa-brands-400-7ca6855a.svg Voir le fichier


dist/assets/fa-brands-400-f6ae6226.svg → dist/assets/fa-brands-400-d480bf03.svg Voir le fichier


dist/assets/fa-regular-400-75e64a95.svg → dist/assets/fa-regular-400-01429b11.svg Voir le fichier


dist/assets/fa-regular-400-a849aa4a.svg → dist/assets/fa-regular-400-84a162dc.svg Voir le fichier


dist/assets/fa-solid-900-7ad9caab.svg → dist/assets/fa-solid-900-6a134092.svg Voir le fichier


dist/assets/fa-solid-900-54997dac.svg → dist/assets/fa-solid-900-d1b1b2c6.svg Voir le fichier


+ 0
- 3
dist/assets/facebook-11884055.svg Voir le fichier

@@ -1,3 +0,0 @@
<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M15.2956 25.5001V14.5703H18.8496L19.3779 10.291H15.2956V7.56524C15.2956 6.33038 15.6272 5.48491 17.3355 5.48491H19.5V1.66965C18.4468 1.55255 17.3882 1.49601 16.329 1.50029C13.1877 1.50029 11.0308 3.48993 11.0308 7.14251V10.283H7.5V14.5623H11.0386V25.5001H15.2956Z" fill="#4092FF"/>
</svg>

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff

Chargement…
Annuler
Enregistrer