update:add ci cd files ==> do not edit those file
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<client-only>
|
||||
<div class="c-app flex-row align-items-center">
|
||||
<CContainer>
|
||||
<nuxt/>
|
||||
</CContainer>
|
||||
</div>
|
||||
</client-only>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
head() {
|
||||
return {
|
||||
htmlAttrs: {
|
||||
lang: 'fa',
|
||||
dir: 'rtl'
|
||||
},
|
||||
title: 'ورود به پنل کاربری'
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@import '../assets/admin/scss/style.scss';
|
||||
</style>
|
||||
@@ -0,0 +1,56 @@
|
||||
<template>
|
||||
<client-only>
|
||||
<div class="c-app">
|
||||
<TheSidebar/>
|
||||
<CWrapper>
|
||||
<TheHeader/>
|
||||
<div class="c-body">
|
||||
<main class="c-main">
|
||||
<CContainer fluid class="pt-5">
|
||||
<transition name="fade" mode="out-in">
|
||||
<nuxt :key="$route.path"/>
|
||||
</transition>
|
||||
</CContainer>
|
||||
</main>
|
||||
</div>
|
||||
<TheFooter/>
|
||||
</CWrapper>
|
||||
</div>
|
||||
</client-only>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
subHeaderContent: null
|
||||
}
|
||||
},
|
||||
head() {
|
||||
return {
|
||||
htmlAttrs: {
|
||||
lang: 'fa',
|
||||
dir: 'rtl'
|
||||
},
|
||||
title: 'اُریس اوکسین | پنل مدیریت'
|
||||
}
|
||||
},
|
||||
middleware: ['auth-admin']
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@import '../assets/admin/scss/style.scss';
|
||||
</style>
|
||||
|
||||
<style scoped>
|
||||
.fade-enter-active,
|
||||
.fade-leave-active{
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
|
||||
.fade-enter,
|
||||
.fade-leave-to{
|
||||
opacity: 0;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<Nuxt/>
|
||||
</div>
|
||||
</template>
|
||||
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<div>
|
||||
<PreLoader />
|
||||
<SiteHeader />
|
||||
<div class="page-wrapper">
|
||||
<Nuxt />
|
||||
</div>
|
||||
<SiteFooter />
|
||||
<PageLoad />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
head() {
|
||||
return {
|
||||
htmlAttrs: {
|
||||
lang: this.$route.params.lang
|
||||
}
|
||||
}
|
||||
},
|
||||
async mounted() {
|
||||
try {
|
||||
const cover = await this.$axios.get('/api/public/cover')
|
||||
this.$store.commit('global/setCover', cover.data)
|
||||
} catch (err) {
|
||||
console.log('Couldnt fetch cover photos ---- ', err)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,20 @@
|
||||
<template>
|
||||
<div class="error--page">
|
||||
<div v-if="error.statusCode === 404">
|
||||
<h1>404</h1>
|
||||
<p>page not found</p>
|
||||
<nuxt-link to="/">صفحه اصلی</nuxt-link>
|
||||
</div>
|
||||
<div v-else>
|
||||
<h1>{{error.statusCode}}</h1>
|
||||
<p>{{error.message}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ['error'],
|
||||
layout: 'blank'
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<PWAHeader />
|
||||
<Nuxt />
|
||||
<PWAFooter />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {}
|
||||
</script>
|
||||
|
||||
<style></style>
|
||||
Reference in New Issue
Block a user