yekonga-server
Version:
Yekonga Server
2 lines (1 loc) • 2.04 kB
JavaScript
import{p as e,b as t,g as n,o as a,c as s,h as r,E as i,v as o,x as c,t as l,j as d,q as u}from"./vendor.38a5f540.js";const m={name:"AuthLayout",watch:{$route:function(e,t){this.resetRoute()}},data:function(){return{isLarge:!1,smallScreen:!1,title:window.appName}},mounted:function(){window.onresize=this.onresize(),this.resetRoute(),this.onresize()()},methods:{onresize:function(){let e=this;return function(t){window.innerWidth<769?e.smallScreen=!0:e.smallScreen=!1,console.log(e.smallScreen)}},resetRoute:function(){"/auth/registration"==this.$router.currentRoute.fullPath?this.isLarge=!0:this.isLarge=!1}}};e("data-v-6cfe366a");const g={class:"center-container card position-fixed"},p={class:"center-container-middle"},h={class:"center-container-inner"},v={class:"row border border-primary bg-transparent-primary mx-0"},f={class:"col h-100 d-none d-md-block text-white text-start"},y={class:" py-4 px-2"},b={key:0},w={key:1},x={class:"col h-100 card py-3 min-height"},k={class:"row justify-content-between mx-0"},L={class:"col-12 col-md-12 mt-4 mt-md-3 brand-block text-center w-100 align-self-end"},j={class:"d-inline-block text-uppercase text-primary",style:{"font-size":"34px"}};t(),m.render=function(e,t,m,z,$,R){const S=n("logo"),_=n("router-view");return a(),s("div",g,[r("div",{class:"bg-image",style:i({"background-image":"url('/yekonga/img/background-01.jpg')"})},null,4),r("div",p,[r("div",h,[r("div",{ref:"auth_box",class:o(["center-container-form text-center py-0 py-md-5",{large:e.isLarge}])},[r("div",{class:o(["bg-image-relative",{cover:e.isLarge}]),style:i({"background-image":"url('/yekonga/img/background-01.jpg')"})},[r("div",v,[r("div",f,[r("div",y,[r("h3",null,[c(l(e.$t("general.welcomeTo"))+" ",1),e.title?(a(),s("span",b,l(e.title),1)):(a(),s("span",w,l(e.$t("general.system")),1))]),r("p",null,l(e.$t("general.welcomeContent")),1)])]),r("div",x,[r("div",k,[r("div",L,[r("span",j,[d(S,{type:"image"})])])]),r("div",null,[d(_)]),u("",!0)])])],6)],2)])])])},m.__scopeId="data-v-6cfe366a";export{m as default};