update:add ci cd files ==> do not edit those file
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<template>
|
||||
<div class="btn form-btn">
|
||||
<button :type="buttonType">{{ label }}</button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
label: {
|
||||
required: true
|
||||
},
|
||||
buttonType: {
|
||||
required: true
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,29 @@
|
||||
<template>
|
||||
<svg class="NuxtLogo" width="245" height="180" viewBox="0 0 452 342" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M139 330l-1-2c-2-4-2-8-1-13H29L189 31l67 121 22-16-67-121c-1-2-9-14-22-14-6 0-15 2-22 15L5 303c-1 3-8 16-2 27 4 6 10 12 24 12h136c-14 0-21-6-24-12z"
|
||||
fill="#00C58E"
|
||||
/>
|
||||
<path
|
||||
d="M447 304L317 70c-2-2-9-15-22-15-6 0-15 3-22 15l-17 28v54l39-67 129 230h-49a23 23 0 0 1-2 14l-1 1c-6 11-21 12-23 12h76c3 0 17-1 24-12 3-5 5-14-2-26z"
|
||||
fill="#108775"
|
||||
/>
|
||||
<path
|
||||
d="M376 330v-1l1-2c1-4 2-8 1-12l-4-12-102-178-15-27h-1l-15 27-102 178-4 12a24 24 0 0 0 2 15c4 6 10 12 24 12h190c3 0 18-1 25-12zM256 152l93 163H163l93-163z"
|
||||
fill="#2F495E"
|
||||
/>
|
||||
</svg>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
.NuxtLogo {
|
||||
animation: 1s appear;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
@keyframes appear {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,8 @@
|
||||
<template>
|
||||
<footer class="pwa-footer">
|
||||
<p style="color: white; text-align: center">
|
||||
<span>Design and developed by</span>
|
||||
<a href="https://negarehagency.com">NegarehAgency</a>
|
||||
</p>
|
||||
</footer>
|
||||
</template>
|
||||
@@ -0,0 +1,41 @@
|
||||
<template>
|
||||
<div class="pageLoad">
|
||||
<div class="relativePos">
|
||||
<div class="imgBox">
|
||||
<!-- <img src="/img/logo.svg" alt="OrisOxin">-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
mounted() {
|
||||
this.$router.beforeEach((to, from, next) => {
|
||||
this.$gsap.timeline({
|
||||
onComplete: () => {
|
||||
next()
|
||||
}
|
||||
})
|
||||
.set($('.pageLoad'), {display: 'block'})
|
||||
// .fromTo($('.page-wrapper'), {x: 0}, {x: this.$route.params.lang === 'en' ? 200 : -200, duration: 0.7})
|
||||
// .fromTo($('.pageLoad'), {left: this.$route.params.lang === 'en' ? '-100%' : '100%'}, {left: 0, duration: 0.7}, 0)
|
||||
.fromTo($('.page-wrapper'), {opacity: 1}, {opacity: 0, duration: 0.6})
|
||||
.fromTo($('.pageLoad'), {opacity: 0}, {opacity: 1, duration: 0.6}, 0)
|
||||
|
||||
})
|
||||
|
||||
this.$router.afterEach((to, from) => {
|
||||
|
||||
this.$gsap.timeline({
|
||||
delay: 0.5
|
||||
})
|
||||
// .fromTo($('.page-wrapper'), {x: this.$route.params.lang === 'en' ? -200 : 200}, {x: 0, duration: 0.7})
|
||||
// .fromTo($('.pageLoad'), {left: 0}, {left: this.$route.params.lang === 'en' ? '100%' : '-100%', duration: 0.7}, 0)
|
||||
.fromTo($('.page-wrapper'), {opacity: 0}, {opacity: 1, duration: 0.6})
|
||||
.fromTo($('.pageLoad'), {opacity: 1}, {opacity: 0, duration: 0.6}, 0)
|
||||
.set($('.pageLoad'), {display: 'none'})
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,105 @@
|
||||
<template>
|
||||
<div class="container calculation-module" :class="whiteTxt && 'white'">
|
||||
<div class="row mb-5 align-items-start">
|
||||
<div class="col-12 mb-4">
|
||||
<el-checkbox class="mt-2" @change="pipeWeight = null" v-model="useInch"> {{ content.s10.t12 }}</el-checkbox>
|
||||
</div>
|
||||
<div class="col-12 col-md-4 mb-4 mb-md-0">
|
||||
<p>{{ useInch ? content.s10.t13 : content.s10.t4 }}</p>
|
||||
<el-input-number v-model="diameter" :min="0" :size="mini ? 'small' : 'large'"></el-input-number>
|
||||
</div>
|
||||
<div class="col-12 col-md-4 mb-4 mb-md-0">
|
||||
<p>{{ useInch ? content.s10.t14 : content.s10.t5 }}</p>
|
||||
<el-input-number v-model="thickness" :min="0" :size="mini ? 'small' : 'large'"></el-input-number>
|
||||
<div class="mt2"></div>
|
||||
</div>
|
||||
<div class="col-12 col-md-4 mb-4 mb-md-0 mx-auto">
|
||||
<p>{{ content.s10.t6 }}</p>
|
||||
<el-input-number v-model="length" :min="1" :size="mini ? 'small' : 'large'"></el-input-number>
|
||||
<div class="mt2" />
|
||||
</div>
|
||||
<!-- <div class="col-12 col-md-6 col-lg-3">
|
||||
<p>{{ content.s10.t7 }}</p>
|
||||
<el-input-number size="medium" v-model="number_1" :min="0"></el-input-number>
|
||||
<div class="mt2"/>
|
||||
</div> -->
|
||||
<div class="col-12 mx-auto mt-3">
|
||||
<div>
|
||||
<button type="button" @click="calculate" class="btn btn-default cal-btn mt-4 mb-4 d-block">
|
||||
{{ content.s10.t2 }}
|
||||
</button>
|
||||
<template v-if="pipeWeight">
|
||||
<span>
|
||||
{{ content.s10.t9 }}
|
||||
</span>
|
||||
<span style="font-weight: bold">
|
||||
{{ pipeWeight }}
|
||||
</span>
|
||||
<span>
|
||||
{{ content.s10.t11 }}
|
||||
</span>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'PipeWeightCalculationModule',
|
||||
props: {
|
||||
whiteTxt: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: false
|
||||
},
|
||||
mini: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
diameter: null,
|
||||
thickness: null,
|
||||
length: 1,
|
||||
useInch: false,
|
||||
pipeWeight: null
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
content() {
|
||||
return this.$store.state.content.home[this.$route.params.lang]
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
calculate() {
|
||||
// check for validations
|
||||
if (!Number(this.diameter) || !Number(this.thickness) || !Number(this.length)) {
|
||||
return this.$message({
|
||||
message: this.content.s10.errMsg1,
|
||||
type: 'error'
|
||||
})
|
||||
}
|
||||
|
||||
if (this.diameter - this.thickness <= 0) {
|
||||
return this.$message({
|
||||
message: this.content.s10.errMsg2,
|
||||
type: 'error'
|
||||
})
|
||||
}
|
||||
|
||||
// init fixed and relative values
|
||||
const inchCoefficient = 25.4
|
||||
const FixedCoefficient = 0.02466
|
||||
const thickness = this.useInch ? this.thickness * inchCoefficient : this.thickness
|
||||
const diameter = this.useInch ? this.diameter * inchCoefficient : this.diameter
|
||||
|
||||
// calulation formula
|
||||
this.pipeWeight = (FixedCoefficient * thickness * (diameter - thickness) * this.length).toFixed(2)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,156 @@
|
||||
<template>
|
||||
<div class="preLoader">
|
||||
<div class="relativePos">
|
||||
<div class="txtBox">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
x="0px"
|
||||
y="0px"
|
||||
viewBox="0 0 157.9 81"
|
||||
style="enable-background: new 0 0 157.9 81"
|
||||
xml:space="preserve"
|
||||
>
|
||||
<g class="top-txt">
|
||||
<path
|
||||
class="st1 o"
|
||||
d="M100.9,42.7c1.7,0,3.4,0.4,4.9,1.1c2.3,1,4.1,2.7,5.3,4.9c1,1.8,1.5,3.7,1.5,5.8c0,4.3-2.5,8.2-6.3,10.2
|
||||
c-1.7,0.9-3.5,1.3-5.4,1.3c-4.7-0.1-8.8-2.8-10.7-7.1c-1.4-3.3-1.2-7,0.5-10.2c1.2-2.2,3-3.9,5.3-4.9C97.5,43,99.2,42.7,100.9,42.7
|
||||
M99.7,43.7l-0.1,10.5l0.1,8.7v2c0.3,0.1,0.7,0.1,1.1,0.1c2.3,0,4.5-0.7,6.3-2c1.7-1.1,2.9-2.8,3.7-4.6c0.5-1.3,0.8-2.7,0.8-4.1
|
||||
c0-1.8-0.5-3.6-1.4-5.2c-1-1.9-2.7-3.4-4.7-4.3c-1.5-0.7-3.1-1.1-4.7-1.1C100.4,43.6,100,43.7,99.7,43.7"
|
||||
/>
|
||||
<path
|
||||
class="st1 x"
|
||||
d="M123.4,52.7v6.2l0.1,6.4h-8.3v-0.9v-3.3l0.1-5.9l-0.1-6.6v-0.9h8.2V51c0.8-0.9,1.6-1.7,2.6-2.5c0.9-0.7,2-1.1,3.1-1.2
|
||||
c0.5,0,1,0.1,1.5,0.4c0.4,0.2,0.6,0.6,0.6,1c0,0.3-0.1,0.6-0.4,0.8c-0.2,0.2-0.6,0.3-0.9,0.3c-0.3,0-0.5-0.1-0.8-0.2
|
||||
c-0.4-0.2-0.8-0.3-1.2-0.3c-0.8,0-1.6,0.3-2.2,0.8C124.9,50.9,124.1,51.7,123.4,52.7"
|
||||
/>
|
||||
<path
|
||||
class="st1 i"
|
||||
d="M140.9,47.7v0.5v2.5v3.9v5.9l0.1,3.3v1.4h-8.3l0.1-5.9l0.1-5.2v-2.8l-0.1-3v-0.6L140.9,47.7z M136.7,42.1
|
||||
c2.8,0,4.2,0.7,4.2,2.2c0,0.7-0.4,1.4-1.1,1.7c-1,0.4-2.1,0.7-3.1,0.6c-2.7,0-4-0.8-4-2.3S134,42,136.7,42.1"
|
||||
/>
|
||||
<path
|
||||
class="st1 n"
|
||||
d="M144.4,62.3c0.3,0.1,0.6,0.2,0.8,0.5c0.7,0.6,1.4,1,2.3,1.3c0.9,0.3,1.8,0.5,2.8,0.5c0.3,0,0.6,0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6-1.2,1.2-1.2c0.7,0.1,1.2,0.7,1.1,1.3c-0.1,0.6-0.5,1.1-1.1,1.1c-0.3,0-0.6-0.1-0.9-0.4
|
||||
C153.8,78.3,153.6,78,153.6,77.6"
|
||||
/>
|
||||
</g>
|
||||
|
||||
<path class="outer-circle-line" d="M40.5,25.2c19.4,0,19.4,30.1,0,30.1C21.1,55.3,21.1,25.2,40.5,25.2z" />
|
||||
<circle class="st0 outer-circle" cx="40.5" cy="40.6" r="36.3" />
|
||||
<circle class="st0 inner-circle" cx="51" cy="51" r="21.5" />
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
mounted() {
|
||||
this.$nextTick(() => {
|
||||
this.$gsap
|
||||
.timeline()
|
||||
.set($('.preLoader svg'), { opacity: 1 })
|
||||
.from($('.preLoader .inner-circle,.preLoader .outer-circle'), { opacity: 0, duration: 0.5 })
|
||||
.to(
|
||||
$('.preLoader .inner-circle'),
|
||||
{
|
||||
motionPath: {
|
||||
path: '.preLoader .outer-circle-line',
|
||||
align: '.preLoader .outer-circle-line',
|
||||
alignOrigin: [0.5, 0.5],
|
||||
autoRotate: true,
|
||||
start: 0.4,
|
||||
end: 1.5
|
||||
},
|
||||
duration: 2,
|
||||
ease: 'bounce'
|
||||
},
|
||||
'-=0.7'
|
||||
)
|
||||
.from($('.preLoader .top-txt path'), { opacity: 0, x: 5, duration: 0.15, stagger: 0.05 }, '+=0.4')
|
||||
.from($('.preLoader .bottom-txt path'), { opacity: 0, x: 5, duration: 0.15, stagger: 0.05 })
|
||||
.to($('.preLoader'), { autoAlpha: 0, duration: 0.3 }, '+=0.5')
|
||||
.timeScale(1.5)
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,110 @@
|
||||
<template>
|
||||
<div class="container calculation-module" :class="whiteTxt && 'white'">
|
||||
<div class="row align-items-start">
|
||||
<div class="col-12 mb-4" :class="mini ? 'col-lg-6 col-xl-3 mb-xl-0' : 'col-md-6 col-lg-3 mb-lg-0'">
|
||||
<p>{{ meterUnitLength ? content.s10.t6 : content.s10.t18 }}</p>
|
||||
<el-input-number v-model="length" :min="1" :size="mini ? 'small' : 'large'"></el-input-number>
|
||||
<el-checkbox class="mt-2" @change="sheetWeight = null" v-model="meterUnitLength" :class="mini && 'small'">
|
||||
{{ content.s10.t17 }}
|
||||
</el-checkbox>
|
||||
</div>
|
||||
<div class="col-12 mb-4" :class="mini ? 'col-lg-6 col-xl-3 mb-xl-0' : 'col-md-6 col-lg-3 mb-lg-0'">
|
||||
<p>{{ meterUnitWidth ? content.s10.t10 : content.s10.t19 }}</p>
|
||||
<el-input-number v-model="width" :min="1" :size="mini ? 'small' : 'large'"></el-input-number>
|
||||
<el-checkbox class="mt-2" @change="sheetWeight = null" v-model="meterUnitWidth" :class="mini && 'small'">
|
||||
{{ content.s10.t17 }}
|
||||
</el-checkbox>
|
||||
</div>
|
||||
<div class="col-12 mb-4" :class="mini ? 'col-lg-6 col-xl-3 mb-xl-0' : 'col-md-6 col-lg-3 mb-lg-0'">
|
||||
<p>{{ meterUnitThickness ? content.s10.t20 : content.s10.t5 }}</p>
|
||||
<el-input-number v-model="thickness" :min="1" :size="mini ? 'small' : 'large'"></el-input-number>
|
||||
<el-checkbox class="mt-2" @change="sheetWeight = null" v-model="meterUnitThickness" :class="mini && 'small'">
|
||||
{{ content.s10.t17 }}
|
||||
</el-checkbox>
|
||||
</div>
|
||||
<div class="col-12 mb-4" :class="mini ? 'col-lg-6 col-xl-3 mb-xl-0' : 'col-md-6 col-lg-3 mb-lg-0'">
|
||||
<p>{{ content.s10.t7 }}</p>
|
||||
<el-input-number v-model="quantity" :min="1" :size="mini ? 'small' : 'large'"></el-input-number>
|
||||
</div>
|
||||
<div class="col-12 mx-auto mb-5 mt-3">
|
||||
<div>
|
||||
<button type="button" @click="calculate" class="btn btn-default cal-btn mt-4 mb-4 d-block">
|
||||
{{ content.s10.t2 }}
|
||||
</button>
|
||||
<template >
|
||||
<p v-if="sheetWeight">
|
||||
<span>
|
||||
{{ content.s10.t3 }}
|
||||
</span>
|
||||
<span style="font-weight: bold">
|
||||
{{ sheetWeight }}
|
||||
</span>
|
||||
<span>
|
||||
{{ content.s10.t16 }}
|
||||
</span>
|
||||
</p>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'SheetWeightCalculationModule',
|
||||
props: {
|
||||
whiteTxt: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: false
|
||||
},
|
||||
mini: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
length: 1,
|
||||
meterUnitLength: true,
|
||||
|
||||
width: 1,
|
||||
meterUnitWidth: true,
|
||||
|
||||
thickness: 1,
|
||||
meterUnitThickness: false,
|
||||
|
||||
quantity: 1,
|
||||
sheetWeight: null
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
content() {
|
||||
return this.$store.state.content.home[this.$route.params.lang]
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
calculate() {
|
||||
// check for validations
|
||||
if (!this.width || !this.thickness || !this.length || !this.quantity) {
|
||||
return this.$message({
|
||||
message: this.content.s10.errMsg1,
|
||||
type: 'error'
|
||||
})
|
||||
}
|
||||
|
||||
// init fixed and relative values
|
||||
const FixedCoefficient = 7.85
|
||||
const meterUnitRatio = 1000
|
||||
const length = this.meterUnitLength ? this.length : this.length / meterUnitRatio
|
||||
const width = this.meterUnitWidth ? this.width : this.width / meterUnitRatio
|
||||
const thickness = this.meterUnitThickness ? this.thickness * meterUnitRatio : this.thickness
|
||||
|
||||
// calulation formula
|
||||
this.sheetWeight = (width * thickness * length * this.quantity * FixedCoefficient).toFixed(2)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,49 @@
|
||||
<template>
|
||||
<footer class="footer-BG">
|
||||
<div class="container">
|
||||
<div class="footer-body">
|
||||
<div class="row">
|
||||
<div class="col-12 col-xl-4 col-lg-3 col-md-12 col-sm-12 d-flex flex-column logoFooter paddingCol">
|
||||
<img src="/img/logo.svg" alt="" />
|
||||
<a class="negareh" href="https://negarehagency.com" target="_blank">{{ content.t1 }}</a>
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-xl-4 col-lg-6 col-md-12 col-sm-12 textCenter">
|
||||
<nuxt-link :to="{ name: 'lang-about', params: { lang: $route.params.lang } }">
|
||||
{{ content.t2 }}
|
||||
</nuxt-link>
|
||||
<i class="fas fa-circle"></i>
|
||||
<nuxt-link :to="{ name: 'lang-activities', params: { lang: $route.params.lang } }">
|
||||
{{ content.t3 }}
|
||||
</nuxt-link>
|
||||
<i class="fas fa-circle"></i>
|
||||
<nuxt-link
|
||||
:to="{ name: 'lang-projects', params: { lang: $route.params.lang }, query: { category: 'all' } }"
|
||||
>
|
||||
{{ content.t4 }}
|
||||
</nuxt-link>
|
||||
</div>
|
||||
<div class="col-12 col-xl-4 col-lg-3 col-md-12 col-sm-12 phone-footer paddingCol">
|
||||
<i class="fas fa-phone-alt"></i>
|
||||
<a class="phoneNum" href="tel:021-88612602">021-88612602</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
mounted() {
|
||||
let f = this.$gsap.timeline()
|
||||
f.fromTo($('.footer-body'), { opacity: 0 }, { opacity: 1, duration: 1 })
|
||||
},
|
||||
|
||||
computed: {
|
||||
content() {
|
||||
return this.$store.state.content.footer[this.$route.params.lang]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,273 @@
|
||||
<template>
|
||||
<!-- <header id="header" :class="routeName === 'lang' ? blogPosts.docs.length ? 'header' : 'header1': 'header1'">-->
|
||||
<header class="header">
|
||||
<div class="site--header">
|
||||
<div class="main-nav container-fluid">
|
||||
<div class="row align-items-stretch">
|
||||
<div class="col-9 d-none d-lg-block">
|
||||
<nav>
|
||||
<ul>
|
||||
<nuxt-link :to="{ name: 'lang', params: { lang: $route.params.lang } }" v-slot="{href,navigate,isActive}" exact custom>
|
||||
<li @click="navigate" :class="isActive ? 'active-link' : null">
|
||||
<a :href="href">
|
||||
<img src="/img/logo.svg" alt="">
|
||||
</a>
|
||||
</li>
|
||||
</nuxt-link>
|
||||
<nuxt-link :to="{ name: 'lang', params: { lang: $route.params.lang }}" v-slot="{href,navigate,isActive}" exact custom>
|
||||
<li @click="navigate" :class="isActive ? 'active-link' : null">
|
||||
<a :href="href">{{ content.t1 }}</a>
|
||||
</li>
|
||||
</nuxt-link>
|
||||
<nuxt-link :to="{ name: 'lang-about', params: { lang: $route.params.lang } }" v-slot="{href,navigate,isActive}" custom>
|
||||
<li @click="navigate" :class="isActive ? 'active-link' : null">
|
||||
<a :href="href">{{ content.t2 }}</a>
|
||||
</li>
|
||||
</nuxt-link>
|
||||
<nuxt-link :to="{name: 'lang-activities',params: { lang: $route.params.lang }}" v-slot="{href,navigate,isActive}" custom>
|
||||
<li @click="navigate" :class="isActive ? 'active-link' : null">
|
||||
<a :href="href">{{ content.t3 }}</a>
|
||||
</li>
|
||||
</nuxt-link>
|
||||
<nuxt-link :to="{name: 'lang-projects', params: { lang: $route.params.lang },query: {category: 'all'}}" v-slot="{href,navigate,isActive}" custom>
|
||||
<li @click="navigate" :class="isActive ? 'active-link' : null">
|
||||
<a :href="href">{{ content.t4 }}</a>
|
||||
</li>
|
||||
</nuxt-link>
|
||||
<nuxt-link :to="{name: 'lang-gallery',params: { lang: $route.params.lang }}"
|
||||
v-slot="{href,navigate,isActive}" custom>
|
||||
<li @click="navigate" :class="isActive ? 'active-link' : null">
|
||||
<a :href="href">{{ content.t5 }}</a>
|
||||
</li>
|
||||
</nuxt-link>
|
||||
<nuxt-link :to="{name: 'lang-catalog',params: { lang: $route.params.lang }}" v-slot="{href,navigate,isActive}" custom>
|
||||
<li @click="navigate" :class="isActive ? 'active-link' : null">
|
||||
<a :href="href">{{ content.t6 }}</a>
|
||||
</li>
|
||||
</nuxt-link>
|
||||
<nuxt-link
|
||||
:to="{ name: 'lang-blog', params: { lang: $route.params.lang },query: {category: 'all',page: 1} }"
|
||||
v-slot="{href,navigate,isActive}" custom>
|
||||
<li @click="navigate" :class="isActive ? 'active-link' : null">
|
||||
<a :href="href">{{ content.t7 }}</a>
|
||||
</li>
|
||||
</nuxt-link>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="col-3 d-none d-lg-flex align-items-center justify-content-end">
|
||||
<div class="searchBtns">
|
||||
<i class="fal fa-search" v-if="!searching" @click="search(true)"></i>
|
||||
<i class="fal fa-times" v-else @click="search(false)"></i>
|
||||
</div>
|
||||
<nuxt-link
|
||||
class="btn-header lang"
|
||||
:to="{ to: $route.fullPath,query: $route.query, params: { lang: $route.params.lang === 'en' ? 'fa' : 'en' } }">
|
||||
{{ $route.params.lang === 'en' ? 'Fa' : 'En' }}
|
||||
</nuxt-link>
|
||||
<nuxt-link class="btn-header contact" :to="{ name: 'lang-contact', params: { lang: $route.params.lang } }">
|
||||
{{ content.t8 }}
|
||||
</nuxt-link>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="searchBox d-none d-md-block" :class="searching? 'active-search' : null">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<form @submit.prevent="doSearch" class="searchInput">
|
||||
<input type="text" name="search" id="searchInput" placeholder="عبارت مدنظر خود را جستجو کنید" v-model="searchableText">
|
||||
<button type="submit">
|
||||
<i class="fas fa-arrow-circle-left"></i>
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-12 d-lg-none">
|
||||
<button @click="drawerHandle" class="icon-menu-open">
|
||||
<i class="fas fa-bars" style="font-size: 25px"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="site--header--drawer" :class="[drawerVisible ? 'isOpen' : '', routeName === 'lang' && 'drawer']">
|
||||
<div class="headerDrawer">
|
||||
<div>
|
||||
<img src="/img/logo.svg" alt="OrisOxin logo"/>
|
||||
</div>
|
||||
<button @click="drawerHandle" class="icon-menu-close">
|
||||
<i class="fas fa-times fa-2x"></i>
|
||||
</button>
|
||||
</div>
|
||||
<div class="drawer-body">
|
||||
<ul @click="drawerHandle">
|
||||
<li class="link1">
|
||||
<nuxt-link class="li-link" :to="{ name: 'lang', params: { lang: $route.params.lang } }" exact>
|
||||
<i class="fas fa-home"></i>
|
||||
{{ content.t1 }}
|
||||
</nuxt-link>
|
||||
</li>
|
||||
<li class="link2">
|
||||
<nuxt-link class="li-link" :to="{name: 'lang-about',params: { lang: $route.params.lang }}">
|
||||
<i class="fas fa-info-circle"></i>
|
||||
{{ content.t2 }}
|
||||
</nuxt-link>
|
||||
</li>
|
||||
<li class="link3">
|
||||
<nuxt-link class="li-link" :to="{name: 'lang-activities',params: { lang: $route.params.lang }}">
|
||||
<i class="fas fa-check-circle"></i>
|
||||
{{ content.t3 }}
|
||||
</nuxt-link>
|
||||
</li>
|
||||
<li class="link4">
|
||||
<nuxt-link class="li-link" :to="{name: 'lang-projects',params: { lang: $route.params.lang },query: {category: 'all'}}">
|
||||
<i class="fas fa-project-diagram"></i>
|
||||
{{ content.t4 }}
|
||||
</nuxt-link>
|
||||
</li>
|
||||
<li class="link5">
|
||||
<nuxt-link class="li-link" :to="{name: 'lang-gallery',params: { lang: $route.params.lang }}">
|
||||
<i class="fas fa-images"></i>
|
||||
{{ content.t5 }}
|
||||
</nuxt-link>
|
||||
</li>
|
||||
<li class="link6">
|
||||
<nuxt-link class="li-link" :to="{name: 'lang-catalog',params: { lang: $route.params.lang }}">
|
||||
<i class="fas fa-clipboard-list"></i>
|
||||
{{ content.t6 }}
|
||||
</nuxt-link>
|
||||
</li>
|
||||
<li class="link7">
|
||||
<nuxt-link class="li-link" :to="{ name: 'lang-blog', params: { lang: $route.params.lang },query: {category: 'all',page: 1}}">
|
||||
<i class="fas fa-blog"></i>
|
||||
{{ content.t7 }}
|
||||
</nuxt-link>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="btn-drawer">
|
||||
<div class="row">
|
||||
<div class="col-6 mb-2">
|
||||
<nuxt-link class="li-link-btn btn-contact-drawer link8" :to="{name: 'lang-contact',params: { lang: $route.params.lang }}"
|
||||
@click.native="drawerHandle">
|
||||
{{ content.t8 }}</nuxt-link>
|
||||
</div>
|
||||
<div class="col-5">
|
||||
<nuxt-link
|
||||
class="li-link-btn btn-contact-drawer link8"
|
||||
:to="{ to: $route.fullPath,query: $route.query, params: { lang: $route.params.lang === 'en' ? 'fa' : 'en' } }">
|
||||
{{ $route.params.lang === 'en' ? 'Fa' : 'En' }}
|
||||
</nuxt-link>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="searchBox d-block d-lg-none">
|
||||
<form @submit.prevent="doSearch" class="searchInput">
|
||||
<input type="text" name="search" id="searchInput1" placeholder="عبارت مدنظر خود را جستجو کنید" v-model="searchableText">
|
||||
<button type="submit">
|
||||
<i class="fas fa-arrow-circle-left"></i>
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="drawer-BG"></div>
|
||||
</div>
|
||||
</header>
|
||||
</template>
|
||||
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
drawerVisible: false,
|
||||
scrollPosition: null,
|
||||
blogPosts: null,
|
||||
searching: false,
|
||||
searchableText: '',
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
drawerHandle() {
|
||||
this.drawerVisible = !this.drawerVisible
|
||||
const en = this.$route.params.lang === 'en'
|
||||
this.$gsap.timeline()
|
||||
.fromTo($(".headerDrawer"), {opacity: 0}, {opacity: 1, duration: 1})
|
||||
.fromTo($(".drawer-body ul li"), {x: en ? -100 : 100, opacity: 0}, {x: 0, opacity: 1, duration: 0.2, stagger: 0.1}, 0)
|
||||
.fromTo($(".link8"), {y: 20, opacity: 0}, {y: 0, opacity: 1, duration: .2}, '-=0.3')
|
||||
},
|
||||
updateScroll() {
|
||||
this.scrollPosition = window.scrollY
|
||||
},
|
||||
search(status) {
|
||||
this.searching = status
|
||||
if (status) setTimeout(() => $('#searchInput').focus(), 100)
|
||||
else this.searchableText = ''
|
||||
},
|
||||
doSearch() {
|
||||
// if (this.searchableText.length) {
|
||||
// window.open(`https://www.google.com/search?q=${this.searchableText}+site%3Ahttps%3A//orisoxin.com/`, "_blank");
|
||||
// setTimeout(() => this.search(false), 100)
|
||||
// } else {
|
||||
// this.$message({
|
||||
// type: 'warning',
|
||||
// message: 'ابتدا عبارت مورد نظر را بنویسید'
|
||||
// })
|
||||
// }
|
||||
if (this.searchableText.length) {
|
||||
this.$router.push({name: 'lang-search', params: {lang: this.$route.params.lang}, query: {terms: this.searchableText}})
|
||||
setTimeout(() => this.search(false), 100)
|
||||
} else {
|
||||
this.$message({
|
||||
type: 'warning',
|
||||
message: 'ابتدا عبارت مورد نظر را بنویسید'
|
||||
})
|
||||
}
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
$(document).ready(() => {
|
||||
this.$gsap.timeline()
|
||||
.fromTo($(".site--header"), {opacity: 0}, {opacity: 1, duration: 1})
|
||||
|
||||
$(window).scroll(e => {
|
||||
if ($(window).scrollTop() > 100) {
|
||||
$('.site--header').addClass('hasBG')
|
||||
$('.site--header--drawer').addClass('hasBG')
|
||||
} else {
|
||||
$('.site--header').removeClass('hasBG')
|
||||
}
|
||||
|
||||
// if (window.scrollY > 904 && this.routeName === 'lang' && this.blogPosts.docs.length) $('.header').addClass('_header')
|
||||
// else $('.header').removeClass('_header')
|
||||
// if (window.scrollY < 905 && this.routeName === 'lang' && this.blogPosts.docs.length) $('.header').addClass('__header')
|
||||
// else $('.header').removeClass('__header')
|
||||
})
|
||||
});
|
||||
window.addEventListener('scroll', this.updateScroll);
|
||||
},
|
||||
|
||||
computed: {
|
||||
content() {
|
||||
return this.$store.state.content.header[this.$route.params.lang]
|
||||
},
|
||||
routeName() {
|
||||
return this.$route.name
|
||||
}
|
||||
},
|
||||
|
||||
async fetch() {
|
||||
this.blogPosts = await this.$axios.get('/api/public/blogPosts?category=all&page=1').then(res => res.data)
|
||||
.catch(e => console.log('e', e))
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,14 @@
|
||||
<template>
|
||||
<svg class="stroked-text">
|
||||
<text x="10" y="10" id="textStroke" xml:space="preserve">
|
||||
<tspan x="5" y="8" id="spanStroke">{{ text }}</tspan>
|
||||
<tspan x="50" y="0" id="spanStroke1">{{ title }}</tspan>
|
||||
</text>
|
||||
</svg>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ["text", "title"],
|
||||
};
|
||||
</script>
|
||||
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<CSubheader
|
||||
class="custom-subheader px-3"
|
||||
:class="[
|
||||
sidebarShow ? null : 'sideBarClose',
|
||||
sidebarMinimize ? 'sideBarMinimized' : 'sideBarFull'
|
||||
]">
|
||||
<slot/>
|
||||
</CSubheader>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
computed: {
|
||||
sidebarShow() {
|
||||
return this.$store.state.admin.sidebarShow
|
||||
},
|
||||
sidebarMinimize() {
|
||||
return this.$store.state.admin.sidebarMinimize
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,16 @@
|
||||
<template>
|
||||
<CFooter :fixed="false">
|
||||
<div class="mfs-auto">
|
||||
<div class="copy-right">
|
||||
<span class="mr-1">Powered by</span>
|
||||
<a href="https://danakcorp.com/fa" target="_blank" class="company">Danak Corporation</a>
|
||||
</div>
|
||||
</div>
|
||||
</CFooter>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'TheFooter'
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,50 @@
|
||||
<template>
|
||||
<CHeader fixed with-subheader light>
|
||||
<CToggler
|
||||
in-header
|
||||
class="ml-3 d-lg-none"
|
||||
@click="$store.commit('admin/toggleSidebarMobile')"
|
||||
/>
|
||||
<CToggler
|
||||
in-header
|
||||
class="ml-3 d-md-down-none"
|
||||
@click="$store.commit('admin/toggleSidebarDesktop')"
|
||||
/>
|
||||
<!-- <CHeaderBrand class="mx-auto d-lg-none" to="/">-->
|
||||
<!-- <CIcon name="logo" height="48" alt="Logo"/>-->
|
||||
<!-- </CHeaderBrand>-->
|
||||
<!-- <CHeaderNav class="d-md-down-none mr-auto">-->
|
||||
<!-- <CHeaderNavItem class="px-3">-->
|
||||
<!-- <CHeaderNavLink :to="{name: 'admin'}">-->
|
||||
<!-- صفحه اصلی-->
|
||||
<!-- </CHeaderNavLink>-->
|
||||
<!-- </CHeaderNavItem>-->
|
||||
<!-- </CHeaderNav>-->
|
||||
<CHeaderNav class="mr-4 mr-auto">
|
||||
<TheHeaderDropdownAccnt/>
|
||||
</CHeaderNav>
|
||||
</CHeader>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'TheHeader',
|
||||
data() {
|
||||
return {
|
||||
breadcrumb: [
|
||||
{
|
||||
text: 'صفحه اصلی',
|
||||
to: '/admin'
|
||||
},
|
||||
{
|
||||
text: 'لیست دانلود ها',
|
||||
to: {name: 'admin-downloads'}
|
||||
},
|
||||
{
|
||||
text: 'This is a span'
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,72 @@
|
||||
<template>
|
||||
<CDropdown
|
||||
inNav
|
||||
class="c-header-nav-items"
|
||||
placement="bottom-end"
|
||||
add-menu-classes="pt-0"
|
||||
>
|
||||
<template #toggler>
|
||||
<CHeaderNavLink>
|
||||
<div class="c-avatar">
|
||||
<img
|
||||
src="/img/avatar.png"
|
||||
class="c-avatar-img"
|
||||
alt=""
|
||||
title="حساب کاربری"
|
||||
/>
|
||||
</div>
|
||||
</CHeaderNavLink>
|
||||
</template>
|
||||
<CDropdownHeader tag="div" class="text-center" color="light">
|
||||
<strong v-if="$auth.loggedIn">{{ $auth.user.first_name }}</strong>
|
||||
</CDropdownHeader>
|
||||
|
||||
<!-- <CDropdownItem :to="{name: 'admin-users'}">-->
|
||||
<!-- <CIcon name="cil-user"/>-->
|
||||
<!-- <span>پروفایل</span>-->
|
||||
<!-- </CDropdownItem>-->
|
||||
|
||||
<CDropdownItem @click="logOut">
|
||||
<CIcon name="cil-lock-locked"/>
|
||||
<span>خروج از حساب</span>
|
||||
</CDropdownItem>
|
||||
</CDropdown>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'TheHeaderDropdownAccnt',
|
||||
data() {
|
||||
return {
|
||||
itemsCount: 42
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
logOut() {
|
||||
this.$confirm('میخواهید از حساب کاربری خارج شوید؟', 'هشدار', {
|
||||
confirmButtonText: 'بله',
|
||||
cancelButtonText: 'لغو',
|
||||
type: 'warning'
|
||||
}).then(async () => {
|
||||
try {
|
||||
await this.$auth.logout()
|
||||
window.location.replace('/admin/login')
|
||||
} catch (e) {
|
||||
console.log(e.response.data)
|
||||
}
|
||||
}).catch(() => {
|
||||
this.$message({
|
||||
type: 'warning',
|
||||
message: 'عملیات لغو شد'
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.c-icon{
|
||||
margin-right: 0.3rem;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,86 @@
|
||||
<template>
|
||||
<CSidebar
|
||||
fixed
|
||||
:minimize="minimize"
|
||||
:show="show"
|
||||
@update:show="(value) => $store.commit('admin/set', ['sidebarShow', value])"
|
||||
>
|
||||
<CSidebarBrand class="d-md-down-none">
|
||||
<a href="/" target="_blank">
|
||||
<!-- <IconsLogo class="c-sidebar-brand-full" name="logo" style="width: 100%"/>-->
|
||||
<h2 class="c-sidebar-brand-full" name="logo" style="color: #fff;font-size: 30px;">OrisOxin</h2>
|
||||
<h2 class="c-sidebar-brand-minimized" name="logo" style="color: #fff;font-size: 14px;">OrisOxin</h2>
|
||||
<!-- <img src="/favicon.png" alt="logo" class="c-sidebar-brand-minimized" size="custom-size" :height="35" name="logo">-->
|
||||
</a>
|
||||
</CSidebarBrand>
|
||||
|
||||
<!-- <CRenderFunction flat :content-to-render="$options.nav"/>-->
|
||||
|
||||
<!-- sidebar content -->
|
||||
<CSidebarNav>
|
||||
<CSidebarNavItem name="صفحه اصلی" :to="{name: 'admin'}" icon="cil-speedometer"/>
|
||||
|
||||
<CSidebarNavItem name="اسلایدر" :to="{name: 'admin-slider'}" fontIcon="far fa-images"/>
|
||||
|
||||
<CSidebarNavDropdown name="رویدادها" fontIcon="fab fa-blogger">
|
||||
<CSidebarNavItem name="افزودن پست" :to="{name: 'admin-blog-posts-new'}"/>
|
||||
<CSidebarNavItem name="پست ها" :to="{name: 'admin-blog-posts'}"/>
|
||||
<CSidebarNavItem name="دسته بندی رویدادها" :to="{name: 'admin-blog-categories'}"/>
|
||||
</CSidebarNavDropdown>
|
||||
|
||||
<CSidebarNavDropdown name="پروژه ها" fontIcon="fab fa-product-hunt">
|
||||
<CSidebarNavItem name="افزودن پروژه" :to="{name: 'admin-projects-new'}"/>
|
||||
<CSidebarNavItem name="لیست پروژه ها" :to="{name: 'admin-projects'}"/>
|
||||
<CSidebarNavItem name="دسته بندی پروژه ها" :to="{name: 'admin-projectCategories'}"/>
|
||||
</CSidebarNavDropdown>
|
||||
|
||||
<CSidebarNavItem name="اعضای تیم" :to="{name: 'admin-team'}" fontIcon="fal fa-users-class"/>
|
||||
|
||||
<CSidebarNavDropdown name="گالری" fontIcon="far fa-images">
|
||||
<CSidebarNavItem name="افزودن تصویر" :to="{name: 'admin-gallery-image',params: {image: 'new'}}"/>
|
||||
<CSidebarNavItem name="تصاویر" :to="{name: 'admin-gallery'}"/>
|
||||
<CSidebarNavItem name="دسته بندی گالری" :to="{name: 'admin-galleryCategories'}"/>
|
||||
</CSidebarNavDropdown>
|
||||
|
||||
<CSidebarNavItem name="کاتالوگ ها" :to="{name: 'admin-catalogs'}" fontIcon="fas fa-file-pdf"/>
|
||||
|
||||
<CSidebarNavItem name="نظرات مشتریان" :to="{name: 'admin-comments'}" fontIcon="fas fa-comment-lines"/>
|
||||
|
||||
<CSidebarNavItem name="پیام های صفحه تماس با ما" :to="{name: 'admin-contact-us-messages'}" fontIcon="fal fa-envelope" :exact="false" :badge="unreadMessages ? {text: unreadMessages,color:'danger'} : null"/>
|
||||
|
||||
<CSidebarNavItem name="کاور صفحات" :to="{name: 'admin-settings'}" fontIcon="fal fa-cog"/>
|
||||
|
||||
</CSidebarNav>
|
||||
<!-- sidebar content -->
|
||||
|
||||
<CSidebarMinimizer
|
||||
class="d-md-down-none"
|
||||
@click.native="$store.commit('admin/set', ['sidebarMinimize', !minimize])"
|
||||
/>
|
||||
</CSidebar>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
// import nav from './_nav'
|
||||
import unreadMessagesCounter from "@/mixins/unreadMessagesCounter"
|
||||
|
||||
export default {
|
||||
name: 'TheSidebar',
|
||||
// nav,
|
||||
computed: {
|
||||
show() {
|
||||
return this.$store.state.admin.sidebarShow
|
||||
},
|
||||
minimize() {
|
||||
return this.$store.state.admin.sidebarMinimize
|
||||
},
|
||||
unreadMessages() {
|
||||
return this.$store.state.admin.unreadMessagesCount
|
||||
}
|
||||
},
|
||||
mixins: [unreadMessagesCounter],
|
||||
mounted() {
|
||||
this.checkMessages()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,67 @@
|
||||
export default [
|
||||
{
|
||||
_name: 'CSidebarNav',
|
||||
_children: [
|
||||
{
|
||||
_name: 'CSidebarNavItem',
|
||||
name: 'صفحه اصلی',
|
||||
to: {name: 'admin'},
|
||||
icon: 'cil-speedometer'
|
||||
},
|
||||
// {
|
||||
// _name: 'CSidebarNavTitle',
|
||||
// _children: ['مدیریت صفحات داینامیک']
|
||||
// },
|
||||
{
|
||||
_name: 'CSidebarNavDropdown',
|
||||
name: 'دانلود ها',
|
||||
// route: {name: 'admin-download'},
|
||||
fontIcon: 'fal fa-arrow-alt-to-bottom',
|
||||
items: [
|
||||
{
|
||||
name: 'لیست',
|
||||
to: {name: 'admin-downloads-page', params: {page: 1}},
|
||||
exact: false
|
||||
},
|
||||
{
|
||||
name: 'دسته بندی ها',
|
||||
to: {name: 'admin-download-categories'}
|
||||
}
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
_name: 'CSidebarNavItem',
|
||||
name: 'آموزش ها',
|
||||
to: {name: 'admin-learning-page', params: {page: 1}},
|
||||
exact: false,
|
||||
icon: 'cil-chart-pie'
|
||||
},
|
||||
{
|
||||
_name: 'CSidebarNavItem',
|
||||
name: 'شرایط گارانتی',
|
||||
to: {name: 'admin-warranty-terms-page', params: {page: 1}},
|
||||
exact: false,
|
||||
fontIcon: 'fal fa-file-alt'
|
||||
},
|
||||
{
|
||||
_name: 'CSidebarNavItem',
|
||||
name: 'سوالات متداول',
|
||||
to: {name: 'admin-FAQ'},
|
||||
exact: false,
|
||||
fontIcon: 'fal fa-graduation-cap'
|
||||
},
|
||||
{
|
||||
_name: 'CSidebarNavItem',
|
||||
name: 'پیام های صفحه تماس با ما',
|
||||
to: {name: 'admin-contact-us'},
|
||||
exact: false,
|
||||
badge: {
|
||||
color: 'primary',
|
||||
// text: this.computed.unreadMessages
|
||||
},
|
||||
fontIcon: 'fal fa-id-card-alt'
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<CChartBar
|
||||
:datasets="defaultDatasets"
|
||||
labels="months"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'CChartBarExample',
|
||||
computed: {
|
||||
defaultDatasets() {
|
||||
return [
|
||||
{
|
||||
label: 'GitHub Commits',
|
||||
backgroundColor: '#f87979',
|
||||
data: [40, 20, 12, 39, 10, 40, 39, 80, 40, 20, 12, 11]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,72 @@
|
||||
<template>
|
||||
<CChartBar
|
||||
:datasets="computedDatasets"
|
||||
:options="computedOptions"
|
||||
:labels="labels"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import CoreUtils from '~/mixins/CoreUtils'
|
||||
|
||||
export default {
|
||||
name: 'CChartBarSimple',
|
||||
mixins: [CoreUtils],
|
||||
props: {
|
||||
datasets: Array,
|
||||
labels: [Array, String],
|
||||
options: Object,
|
||||
plugins: Array,
|
||||
backgroundColor: {
|
||||
type: String,
|
||||
default: 'rgba(0,0,0,.2)'
|
||||
},
|
||||
pointHoverBackgroundColor: String,
|
||||
dataPoints: {
|
||||
type: Array,
|
||||
default: () => [10, 22, 34, 46, 58, 70, 46, 23, 45, 78, 34, 12]
|
||||
},
|
||||
label: {
|
||||
type: String,
|
||||
default: 'Sales'
|
||||
},
|
||||
pointed: Boolean
|
||||
},
|
||||
computed: {
|
||||
defaultDatasets() {
|
||||
return [
|
||||
{
|
||||
data: this.dataPoints,
|
||||
backgroundColor: this.getColor(this.backgroundColor),
|
||||
pointHoverBackgroundColor: this.getColor(this.pointHoverBackgroundColor),
|
||||
label: this.label,
|
||||
barPercentage: 0.5,
|
||||
categoryPercentage: 1
|
||||
}
|
||||
]
|
||||
},
|
||||
defaultOptions() {
|
||||
return {
|
||||
maintainAspectRatio: false,
|
||||
legend: {
|
||||
display: false
|
||||
},
|
||||
scales: {
|
||||
xAxes: [{
|
||||
display: false
|
||||
}],
|
||||
yAxes: [{
|
||||
display: false
|
||||
}]
|
||||
}
|
||||
}
|
||||
},
|
||||
computedDatasets() {
|
||||
return this.deepObjectsMerge(this.defaultDatasets, this.datasets || {})
|
||||
},
|
||||
computedOptions() {
|
||||
return this.deepObjectsMerge(this.defaultOptions, this.options || {})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<CChartDoughnut
|
||||
:datasets="defaultDatasets"
|
||||
:labels="['VueJs', 'EmberJs', 'ReactJs', 'AngularJs']"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'CChartDoughnutExample',
|
||||
computed: {
|
||||
defaultDatasets() {
|
||||
return [
|
||||
{
|
||||
backgroundColor: [
|
||||
'#41B883',
|
||||
'#E46651',
|
||||
'#00D8FF',
|
||||
'#DD1B16'
|
||||
],
|
||||
data: [40, 20, 80, 10]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<CChartLine
|
||||
:datasets="defaultDatasets"
|
||||
labels="months"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'CChartLineExample',
|
||||
computed: {
|
||||
defaultDatasets() {
|
||||
return [
|
||||
{
|
||||
label: 'Data One',
|
||||
backgroundColor: 'rgb(228,102,81,0.9)',
|
||||
data: [30, 39, 10, 50, 30, 70, 35]
|
||||
},
|
||||
{
|
||||
label: 'Data Two',
|
||||
backgroundColor: 'rgb(0,216,255,0.9)',
|
||||
data: [39, 80, 40, 35, 40, 20, 45]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,138 @@
|
||||
<template>
|
||||
<CChartLine
|
||||
:datasets="computedDatasets"
|
||||
:options="computedOptions"
|
||||
:labels="labels"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import CoreUtils from '~/mixins/CoreUtils'
|
||||
|
||||
export default {
|
||||
name: 'CChartLineSimple',
|
||||
mixins: [CoreUtils],
|
||||
props: {
|
||||
datasets: Array,
|
||||
labels: [Array, String],
|
||||
options: Object,
|
||||
plugins: Array,
|
||||
borderColor: {
|
||||
type: String,
|
||||
default: 'rgba(255,255,255,.55)'
|
||||
},
|
||||
backgroundColor: {
|
||||
type: String,
|
||||
default: 'transparent'
|
||||
},
|
||||
dataPoints: {
|
||||
type: Array,
|
||||
default: () => [10, 22, 34, 46, 58, 70, 46, 23, 45, 78, 34, 12]
|
||||
},
|
||||
label: {
|
||||
type: String,
|
||||
default: 'Sales'
|
||||
},
|
||||
pointed: Boolean,
|
||||
pointHoverBackgroundColor: String
|
||||
},
|
||||
computed: {
|
||||
pointHoverColor() {
|
||||
if (this.pointHoverBackgroundColor) {
|
||||
return this.pointHoverBackgroundColor
|
||||
} else if (this.backgroundColor !== 'transparent') {
|
||||
return this.backgroundColor
|
||||
}
|
||||
return this.borderColor
|
||||
},
|
||||
defaultDatasets() {
|
||||
return [
|
||||
{
|
||||
data: this.dataPoints,
|
||||
borderColor: this.getColor(this.borderColor),
|
||||
backgroundColor: this.getColor(this.backgroundColor),
|
||||
pointBackgroundColor: this.getColor(this.pointHoverColor),
|
||||
pointHoverBackgroundColor: this.getColor(this.pointHoverColor),
|
||||
label: this.label
|
||||
}
|
||||
]
|
||||
},
|
||||
pointedOptions() {
|
||||
return {
|
||||
scales: {
|
||||
xAxes: [
|
||||
{
|
||||
offset: true,
|
||||
gridLines: {
|
||||
color: 'transparent',
|
||||
zeroLineColor: 'transparent'
|
||||
},
|
||||
ticks: {
|
||||
fontSize: 2,
|
||||
fontColor: 'transparent'
|
||||
}
|
||||
}
|
||||
],
|
||||
yAxes: [
|
||||
{
|
||||
display: false,
|
||||
ticks: {
|
||||
display: false,
|
||||
min: Math.min.apply(Math, this.dataPoints) - 5,
|
||||
max: Math.max.apply(Math, this.dataPoints) + 5
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
elements: {
|
||||
line: {
|
||||
borderWidth: 1
|
||||
},
|
||||
point: {
|
||||
radius: 4,
|
||||
hitRadius: 10,
|
||||
hoverRadius: 4
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
straightOptions() {
|
||||
return {
|
||||
scales: {
|
||||
xAxes: [{
|
||||
display: false
|
||||
}],
|
||||
yAxes: [{
|
||||
display: false
|
||||
}]
|
||||
},
|
||||
elements: {
|
||||
line: {
|
||||
borderWidth: 2
|
||||
},
|
||||
point: {
|
||||
radius: 0,
|
||||
hitRadius: 10,
|
||||
hoverRadius: 4
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
defaultOptions() {
|
||||
const options = this.pointed ? this.pointedOptions : this.straightOptions
|
||||
return Object.assign({}, options, {
|
||||
maintainAspectRatio: false,
|
||||
legend: {
|
||||
display: false
|
||||
}
|
||||
})
|
||||
},
|
||||
computedDatasets() {
|
||||
return this.deepObjectsMerge(this.defaultDatasets, this.datasets || {})
|
||||
},
|
||||
computedOptions() {
|
||||
return this.deepObjectsMerge(this.defaultOptions, this.options || {})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<CChartPie
|
||||
:datasets="defaultDatasets"
|
||||
:labels="['VueJs', 'EmberJs', 'ReactJs', 'AngularJs']"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'CChartPieExample',
|
||||
computed: {
|
||||
defaultDatasets () {
|
||||
return [
|
||||
{
|
||||
backgroundColor: [
|
||||
'#41B883',
|
||||
'#E46651',
|
||||
'#00D8FF',
|
||||
'#DD1B16'
|
||||
],
|
||||
data: [40, 20, 80, 10]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,45 @@
|
||||
<template>
|
||||
<CChartPolarArea
|
||||
:datasets="defaultDatasets"
|
||||
:options="defaultOptions"
|
||||
:labels="[
|
||||
'Eating', 'Drinking', 'Sleeping', 'Designing',
|
||||
'Coding', 'Cycling', 'Running'
|
||||
]"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'CChartPolarAreaExample',
|
||||
computed: {
|
||||
defaultDatasets () {
|
||||
return [
|
||||
{
|
||||
label: 'My First dataset',
|
||||
backgroundColor: 'rgba(179,181,198,0.2)',
|
||||
pointBackgroundColor: 'rgba(179,181,198,1)',
|
||||
pointBorderColor: '#fff',
|
||||
pointHoverBackgroundColor: 'rgba(179,181,198,1)',
|
||||
pointHoverBorderColor: 'rgba(179,181,198,1)',
|
||||
data: [65, 59, 90, 81, 56, 55, 40]
|
||||
},
|
||||
{
|
||||
label: 'My Second dataset',
|
||||
backgroundColor: 'rgba(255,99,132,0.2)',
|
||||
pointBackgroundColor: 'rgba(255,99,132,1)',
|
||||
pointBorderColor: '#fff',
|
||||
pointHoverBackgroundColor: 'rgba(255,99,132,1)',
|
||||
pointHoverBorderColor: 'rgba(255,99,132,1)',
|
||||
data: [28, 48, 40, 19, 96, 27, 100]
|
||||
}
|
||||
]
|
||||
},
|
||||
defaultOptions () {
|
||||
return {
|
||||
aspectRatio: 1.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,49 @@
|
||||
<template>
|
||||
<CChartRadar
|
||||
:datasets="defaultDatasets"
|
||||
:options="defaultOptions"
|
||||
:labels="[
|
||||
'Eating', 'Drinking', 'Sleeping', 'Designing',
|
||||
'Coding', 'Cycling', 'Running'
|
||||
]"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'CChartRadarExample',
|
||||
computed: {
|
||||
defaultDatasets() {
|
||||
return [
|
||||
{
|
||||
label: '2019',
|
||||
backgroundColor: 'rgba(179,181,198,0.2)',
|
||||
borderColor: 'rgba(179,181,198,1)',
|
||||
pointBackgroundColor: 'rgba(179,181,198,1)',
|
||||
pointBorderColor: '#fff',
|
||||
pointHoverBackgroundColor: '#fff',
|
||||
pointHoverBorderColor: 'rgba(179,181,198,1)',
|
||||
tooltipLabelColor: 'rgba(179,181,198,1)',
|
||||
data: [65, 59, 90, 81, 56, 55, 40]
|
||||
},
|
||||
{
|
||||
label: '2020',
|
||||
backgroundColor: 'rgba(255,99,132,0.2)',
|
||||
borderColor: 'rgba(255,99,132,1)',
|
||||
pointBackgroundColor: 'rgba(255,99,132,1)',
|
||||
pointBorderColor: '#fff',
|
||||
pointHoverBackgroundColor: '#fff',
|
||||
pointHoverBorderColor: 'rgba(255,99,132,1)',
|
||||
tooltipLabelColor: 'rgba(255,99,132,1)',
|
||||
data: [28, 48, 40, 19, 96, 27, 100]
|
||||
}
|
||||
]
|
||||
},
|
||||
defaultOptions() {
|
||||
return {
|
||||
aspectRatio: 1.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,103 @@
|
||||
<template>
|
||||
<CChartLine
|
||||
:datasets="defaultDatasets"
|
||||
:options="defaultOptions"
|
||||
:labels="['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su']"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
// import { CChartLine } from '@coreui/vue-chartjs'
|
||||
// import { getStyle, hexToRgba } from '@coreui/utils/src'
|
||||
import CoreUtils from '~/mixins/CoreUtils'
|
||||
|
||||
function random(min, max) {
|
||||
return Math.floor(Math.random() * (max - min + 1) + min)
|
||||
}
|
||||
|
||||
export default {
|
||||
name: 'MainChartExample',
|
||||
mixins: [CoreUtils],
|
||||
computed: {
|
||||
defaultDatasets() {
|
||||
const brandSuccess = this.getStyle('success2') || '#4dbd74'
|
||||
const brandInfo = this.getStyle('info') || '#20a8d8'
|
||||
const brandDanger = this.getStyle('danger') || '#f86c6b'
|
||||
|
||||
let elements = 27
|
||||
const data1 = []
|
||||
const data2 = []
|
||||
const data3 = []
|
||||
|
||||
for (let i = 0; i <= elements; i++) {
|
||||
data1.push(random(50, 200))
|
||||
data2.push(random(80, 100))
|
||||
data3.push(65)
|
||||
}
|
||||
return [
|
||||
{
|
||||
label: 'My First dataset',
|
||||
backgroundColor: this.hexToRgba(brandInfo, 10),
|
||||
borderColor: brandInfo,
|
||||
pointHoverBackgroundColor: brandInfo,
|
||||
borderWidth: 2,
|
||||
data: data1
|
||||
},
|
||||
{
|
||||
label: 'My Second dataset',
|
||||
backgroundColor: 'transparent',
|
||||
borderColor: brandSuccess,
|
||||
pointHoverBackgroundColor: brandSuccess,
|
||||
borderWidth: 2,
|
||||
data: data2
|
||||
},
|
||||
{
|
||||
label: 'My Third dataset',
|
||||
backgroundColor: 'transparent',
|
||||
borderColor: brandDanger,
|
||||
pointHoverBackgroundColor: brandDanger,
|
||||
borderWidth: 1,
|
||||
borderDash: [8, 5],
|
||||
data: data3
|
||||
}
|
||||
]
|
||||
},
|
||||
defaultOptions() {
|
||||
return {
|
||||
|
||||
maintainAspectRatio: false,
|
||||
legend: {
|
||||
display: false
|
||||
},
|
||||
scales: {
|
||||
xAxes: [{
|
||||
gridLines: {
|
||||
drawOnChartArea: false
|
||||
}
|
||||
}],
|
||||
yAxes: [{
|
||||
ticks: {
|
||||
beginAtZero: true,
|
||||
maxTicksLimit: 5,
|
||||
stepSize: Math.ceil(250 / 5),
|
||||
max: 250
|
||||
},
|
||||
gridLines: {
|
||||
display: true
|
||||
}
|
||||
}]
|
||||
},
|
||||
elements: {
|
||||
point: {
|
||||
radius: 0,
|
||||
hitRadius: 10,
|
||||
hoverRadius: 4,
|
||||
hoverBorderWidth: 3
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
layout: 'admin'
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,175 @@
|
||||
<template>
|
||||
<CRow>
|
||||
<template v-if="!noCharts">
|
||||
<CCol md="3" sm="6">
|
||||
<CWidgetBrand
|
||||
color="facebook"
|
||||
right-header="89k"
|
||||
right-footer="friends"
|
||||
left-header="459"
|
||||
left-footer="feeds"
|
||||
>
|
||||
<CIcon
|
||||
name="cib-facebook"
|
||||
height="52"
|
||||
class="my-4"
|
||||
/>
|
||||
<CChartLineSimple
|
||||
class="c-chart-brand"
|
||||
background-color="rgba(255,255,255,.1)"
|
||||
:data-points="[65, 59, 84, 84, 51, 55, 40]"
|
||||
label="Friends"
|
||||
labels="months"
|
||||
/>
|
||||
</CWidgetBrand>
|
||||
</CCol>
|
||||
<CCol md="3" sm="6">
|
||||
<CWidgetBrand
|
||||
color="twitter"
|
||||
right-header="973k"
|
||||
right-footer="followers"
|
||||
left-header="1.792"
|
||||
left-footer="tweets"
|
||||
>
|
||||
<CIcon
|
||||
name="cib-twitter"
|
||||
height="52"
|
||||
class="my-4"
|
||||
/>
|
||||
<CChartLineSimple
|
||||
class="c-chart-brand"
|
||||
background-color="rgba(255,255,255,.1)"
|
||||
:data-points="[1, 13, 9, 17, 34, 41, 38]"
|
||||
label="Followers"
|
||||
labels="months"
|
||||
/>
|
||||
</CWidgetBrand>
|
||||
</CCol>
|
||||
<CCol md="3" sm="6">
|
||||
<CWidgetBrand
|
||||
color="linkedin"
|
||||
right-header="500+"
|
||||
right-footer="contracts"
|
||||
left-header="292"
|
||||
left-footer="feeds"
|
||||
>
|
||||
<CIcon
|
||||
name="cib-linkedin"
|
||||
height="52"
|
||||
class="my-4"
|
||||
/>
|
||||
<CChartLineSimple
|
||||
class="c-chart-brand"
|
||||
background-color="rgba(255,255,255,.1)"
|
||||
:data-points="[78, 81, 80, 45, 34, 12, 40]"
|
||||
label="Contracts"
|
||||
labels="months"
|
||||
/>
|
||||
</CWidgetBrand>
|
||||
</CCol>
|
||||
<CCol md="3" sm="6">
|
||||
<CWidgetBrand
|
||||
right-header="12"
|
||||
right-footer="events"
|
||||
left-header="4"
|
||||
left-footer="meetings"
|
||||
color="warning"
|
||||
>
|
||||
<CIcon
|
||||
name="cil-calendar"
|
||||
height="52"
|
||||
class="my-4"
|
||||
/>
|
||||
<CChartLineSimple
|
||||
class="c-chart-brand"
|
||||
background-color="rgba(255,255,255,.1)"
|
||||
:data-points="[35, 23, 56, 22, 97, 23, 64]"
|
||||
label="Followers"
|
||||
labels="months"
|
||||
/>
|
||||
</CWidgetBrand>
|
||||
</CCol>
|
||||
</template>
|
||||
<template v-else>
|
||||
<CCol md="3" sm="6">
|
||||
<CWidgetBrand
|
||||
color="facebook"
|
||||
right-header="89k"
|
||||
right-footer="friends"
|
||||
left-header="459"
|
||||
left-footer="feeds"
|
||||
>
|
||||
<CIcon
|
||||
name="cib-facebook"
|
||||
height="56"
|
||||
class="my-4"
|
||||
/>
|
||||
</CWidgetBrand>
|
||||
</CCol>
|
||||
<CCol md="3" sm="6">
|
||||
<CWidgetBrand
|
||||
color="twitter"
|
||||
right-header="973k"
|
||||
right-footer="followers"
|
||||
left-header="1.792"
|
||||
left-footer="tweets"
|
||||
>
|
||||
<CIcon
|
||||
name="cib-twitter"
|
||||
height="56"
|
||||
class="my-4"
|
||||
/>
|
||||
</CWidgetBrand>
|
||||
</CCol>
|
||||
<CCol md="3" sm="6">
|
||||
<CWidgetBrand
|
||||
color="linkedin"
|
||||
right-header="500+"
|
||||
right-footer="contracts"
|
||||
left-header="292"
|
||||
left-footer="feeds"
|
||||
>
|
||||
<CIcon
|
||||
name="cib-linkedin"
|
||||
height="56"
|
||||
class="my-4"
|
||||
/>
|
||||
</CWidgetBrand>
|
||||
</CCol>
|
||||
<CCol md="3" sm="6">
|
||||
<CWidgetBrand
|
||||
right-header="12"
|
||||
right-footer="events"
|
||||
left-header="4"
|
||||
left-footer="meetings"
|
||||
color="warning"
|
||||
>
|
||||
<CIcon
|
||||
name="cil-calendar"
|
||||
height="56"
|
||||
class="my-4"
|
||||
/>
|
||||
</CWidgetBrand>
|
||||
</CCol>
|
||||
</template>
|
||||
</CRow>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: 'WidgetsBrand',
|
||||
props: {
|
||||
noCharts: Boolean
|
||||
},
|
||||
layout: 'admin'
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.c-chart-brand {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,136 @@
|
||||
<template>
|
||||
<CRow>
|
||||
<CCol sm="6" lg="3">
|
||||
<CWidgetDropdown color="primary" header="9.823" text="Members online">
|
||||
<template #default>
|
||||
<CDropdown
|
||||
color="transparent p-0"
|
||||
placement="bottom-end"
|
||||
>
|
||||
<template #toggler-content>
|
||||
<CIcon name="cil-settings"/>
|
||||
</template>
|
||||
<CDropdownItem>Action</CDropdownItem>
|
||||
<CDropdownItem>Another action</CDropdownItem>
|
||||
<CDropdownItem>Something else here...</CDropdownItem>
|
||||
<CDropdownItem disabled>Disabled action</CDropdownItem>
|
||||
</CDropdown>
|
||||
</template>
|
||||
<template #footer>
|
||||
<CChartLineSimple
|
||||
pointed
|
||||
class="mt-3 mx-3"
|
||||
style="height:70px"
|
||||
:data-points="[65, 59, 84, 84, 51, 55, 40]"
|
||||
point-hover-background-color="primary"
|
||||
label="Members"
|
||||
labels="months"
|
||||
/>
|
||||
</template>
|
||||
</CWidgetDropdown>
|
||||
</CCol>
|
||||
<CCol sm="6" lg="3">
|
||||
<CWidgetDropdown color="info" header="9.823" text="Members online">
|
||||
<template #default>
|
||||
<CDropdown
|
||||
color="transparent p-0"
|
||||
placement="bottom-end"
|
||||
:caret="false"
|
||||
>
|
||||
<template #toggler-content>
|
||||
<CIcon name="cil-location-pin"/>
|
||||
</template>
|
||||
<CDropdownItem>Action</CDropdownItem>
|
||||
<CDropdownItem>Another action</CDropdownItem>
|
||||
<CDropdownItem>Something else here...</CDropdownItem>
|
||||
<CDropdownItem disabled>Disabled action</CDropdownItem>
|
||||
</CDropdown>
|
||||
</template>
|
||||
<template #footer>
|
||||
<CChartLineSimple
|
||||
pointed
|
||||
class="mt-3 mx-3"
|
||||
style="height:70px"
|
||||
:data-points="[1, 18, 9, 17, 34, 22, 11]"
|
||||
point-hover-background-color="info"
|
||||
:options="{ elements: { line: { tension: 0.00001 }}}"
|
||||
label="Members"
|
||||
labels="months"
|
||||
/>
|
||||
</template>
|
||||
</CWidgetDropdown>
|
||||
</CCol>
|
||||
<CCol sm="6" lg="3">
|
||||
<CWidgetDropdown
|
||||
color="warning"
|
||||
header="9.823"
|
||||
text="Members online"
|
||||
>
|
||||
<template #default>
|
||||
<CDropdown
|
||||
color="transparent p-0"
|
||||
placement="bottom-end"
|
||||
>
|
||||
<template #toggler-content>
|
||||
<CIcon name="cil-settings"/>
|
||||
</template>
|
||||
<CDropdownItem>Action</CDropdownItem>
|
||||
<CDropdownItem>Another action</CDropdownItem>
|
||||
<CDropdownItem>Something else here...</CDropdownItem>
|
||||
<CDropdownItem disabled>Disabled action</CDropdownItem>
|
||||
</CDropdown>
|
||||
</template>
|
||||
<template #footer>
|
||||
<CChartLineSimple
|
||||
class="mt-3"
|
||||
style="height:70px"
|
||||
background-color="rgba(255,255,255,.2)"
|
||||
:data-points="[78, 81, 80, 45, 34, 12, 40]"
|
||||
:options="{ elements: { line: { borderWidth: 2.5 }}}"
|
||||
point-hover-background-color="warning"
|
||||
label="Members"
|
||||
labels="months"
|
||||
/>
|
||||
</template>
|
||||
</CWidgetDropdown>
|
||||
</CCol>
|
||||
<CCol sm="6" lg="3">
|
||||
<CWidgetDropdown
|
||||
color="danger"
|
||||
header="9.823"
|
||||
text="Members online"
|
||||
>
|
||||
<template #default>
|
||||
<CDropdown
|
||||
color="transparent p-0"
|
||||
placement="bottom-end"
|
||||
>
|
||||
<template #toggler-content>
|
||||
<CIcon name="cil-settings"/>
|
||||
</template>
|
||||
<CDropdownItem>Action</CDropdownItem>
|
||||
<CDropdownItem>Another action</CDropdownItem>
|
||||
<CDropdownItem>Something else here...</CDropdownItem>
|
||||
<CDropdownItem disabled>Disabled action</CDropdownItem>
|
||||
</CDropdown>
|
||||
</template>
|
||||
<template #footer>
|
||||
<CChartBarSimple
|
||||
class="mt-3 mx-3"
|
||||
style="height:70px"
|
||||
background-color="rgb(250, 152, 152)"
|
||||
label="Members"
|
||||
labels="months"
|
||||
/>
|
||||
</template>
|
||||
</CWidgetDropdown>
|
||||
</CCol>
|
||||
</CRow>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'WidgetsDropdown',
|
||||
layout: 'admin'
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,21 @@
|
||||
<template>
|
||||
<svg
|
||||
id="tag"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="15"
|
||||
height="14"
|
||||
viewBox="0 0 17 16"
|
||||
>
|
||||
<path
|
||||
id="Shape"
|
||||
d="M5.817,14.68.381,9.261a1.29,1.29,0,0,1,0-1.83L7.457.379A1.3,1.3,0,0,1,8.375,0h5.437a1.3,1.3,0,0,1,1.3,1.292v5.42a1.289,1.289,0,0,1-.381.915c-7.722,7.7-6.7,6.706-7.389,7.276a1.285,1.285,0,0,1-1.525-.223Z"
|
||||
fill="#fff"
|
||||
/>
|
||||
<path
|
||||
id="Path"
|
||||
d="M7.852,0V5.855a.609.609,0,0,1-.19.442L0,13.676l.459.442L8.12,6.739a1.227,1.227,0,0,0,.38-.884V0Z"
|
||||
transform="translate(8.5 1.882)"
|
||||
fill="#fff"
|
||||
/>
|
||||
</svg>
|
||||
</template>
|
||||
@@ -0,0 +1,29 @@
|
||||
<template>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="18.199"
|
||||
height="14.197"
|
||||
viewBox="0 0 20.199 16.197"
|
||||
>
|
||||
<g
|
||||
id="FireShot_Capture_499_-_Search_results_for_Folder_-_Flaticon_-_www.flaticon.com"
|
||||
data-name="FireShot Capture 499 - Search results for Folder - Flaticon - www.flaticon.com"
|
||||
transform="translate(0.1 0.099)"
|
||||
>
|
||||
<path
|
||||
id="Path"
|
||||
d="M1.536,1.957c0-.191-.009-.4,0-.6A1.4,1.4,0,0,1,2.992.01c1.4-.017,2.8-.008,4.2,0A1.71,1.71,0,0,1,8.708.817a1.614,1.614,0,0,0,1.527.749c.938-.017,1.875-.017,2.813.008.161,0,.313.158.473.25-.152.092-.3.266-.455.266-1.072.025-2.143.017-3.215.008a1.682,1.682,0,0,1-1.482-.79A1.569,1.569,0,0,0,6.85.559c-1.143.025-2.3.008-3.438,0-1.1,0-1.42.349-1.224,1.456H3.1c.8,0,1.608.008,2.411,0a1.816,1.816,0,0,1,1.652.815,1.661,1.661,0,0,0,1.563.757c2.786-.017,5.564-.008,8.35-.008,1.027,0,1.384.333,1.384,1.306,0,2.687.009,5.383,0,8.071,0,.308.027.491.447.483.393-.008.509-.15.509-.5Q19.4,7.885,19.407,2.83c0-.607-.134-.732-.786-.732H15a.782.782,0,0,1-.313-.008,2.334,2.334,0,0,1-.339-.25c.107-.092.214-.258.322-.258,1.456-.017,2.92-.025,4.376.008A.98.98,0,0,1,20,2.622c.009,1.14,0,2.271,0,3.411v6.781c0,.932-.232,1.156-1.215,1.173-.089,0-.17.017-.322.025,0,.366.009.724,0,1.082a.836.836,0,0,1-.965.9q-6.792,0-13.575-.008c-.161,0-.447-.15-.455-.25-.027-.324.277-.291.509-.291q6.564,0,13.128.008c.768,0,.768,0,.768-.707V4.968c0-.749-.089-.824-.9-.832-2.742,0-5.475-.017-8.216.008A2.166,2.166,0,0,1,6.7,3.155a1.263,1.263,0,0,0-1.161-.574c-1.313.008-2.617,0-3.93,0-.688,0-1,.291-1,.948Q.594,9.12.6,14.72c0,.582.143.716.759.716a5.764,5.764,0,0,1,.848.008c.152.025.286.175.429.266-.134.092-.268.25-.42.266a6.35,6.35,0,0,1-.893.017C.438,15.984,0,15.585,0,14.77V3.787C-.009,2.63.3,2.256,1.536,1.957Z"
|
||||
fill="#fff"
|
||||
stroke="#fff"
|
||||
stroke-miterlimit="10"
|
||||
stroke-width="0.2"
|
||||
/>
|
||||
<path
|
||||
id="Shape"
|
||||
d="M.744,1.846C.169,1.84,0,1.7,0,1.233,0,.99,0,.746,0,.5.013.2.221.015.6.008,1.773-.006,2.94,0,4.117.008c.339.007.531.181.54.453.017.3.009.6,0,.9s-.227.467-.6.474c-.575.006-1.141,0-1.707.006Z"
|
||||
transform="translate(2 4.923)"
|
||||
fill="#fff"
|
||||
/>
|
||||
</g>
|
||||
</svg>
|
||||
</template>
|
||||
@@ -0,0 +1,101 @@
|
||||
<template>
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 157.9 81" style="enable-background:new 0 0 157.9 81;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{
|
||||
clip-path: url(#SVGID_2_);
|
||||
}
|
||||
|
||||
.st1{
|
||||
fill: #FFFFFF;
|
||||
}
|
||||
</style>
|
||||
<g>
|
||||
<defs>
|
||||
<rect id="SVGID_1_" x="-379.6" y="-264.3" width="913" height="645.6"/>
|
||||
</defs>
|
||||
<clipPath id="SVGID_2_">
|
||||
<use xlink:href="#SVGID_1_" style="overflow:visible;"/>
|
||||
</clipPath>
|
||||
<g class="st0">
|
||||
<path class="st1" d="M51.1,25.4c-6.7,0-13.1,2.6-17.9,7.2l5.7,5.5c7.1-6.9,18.4-6.8,25.3,0.3c6.7,6.8,6.8,17.8,0.3,24.7l5.7,5.5
|
||||
c9.7-10.4,9-26.8-1.4-36.4C63.8,27.9,57.6,25.4,51.1,25.4"/>
|
||||
<path class="st1" d="M40.5,0C18.1,0,0,18.2,0,40.5S18.1,81,40.5,81c11.1,0,21.7-4.5,29.3-12.5l-5.3-5.2
|
||||
C51.9,76.5,31,77.1,17.7,64.5S3.9,31,16.5,17.7S50,3.9,63.3,16.5c6.6,6.2,10.3,14.9,10.3,24c0,8.5-3.2,16.6-9.1,22.8l5.3,5.2
|
||||
c15.4-16.2,14.8-41.8-1.3-57.2C60.9,4,50.9,0,40.5,0"/>
|
||||
<path class="st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-3.9,5.3-4.9
|
||||
C97.5,43,99.2,42.7,100.9,42.7 M99.7,43.7l-0.1,10.5l0.1,8.7v2c0.3,0.1,0.7,0.1,1.1,0.1c2.3,0,4.5-0.7,6.3-2
|
||||
c1.7-1.1,2.9-2.8,3.7-4.6c0.5-1.3,0.8-2.7,0.8-4.1c0-1.8-0.5-3.6-1.4-5.2c-1-1.9-2.7-3.4-4.7-4.3c-1.5-0.7-3.1-1.1-4.7-1.1
|
||||
C100.4,43.6,100,43.7,99.7,43.7"/>
|
||||
<path class="st1" d="M123.4,52.7v6.2l0.1,6.4h-8.3v-0.9v-3.3l0.1-5.9l-0.1-6.6v-0.9h8.2V51c0.8-0.9,1.6-1.7,2.6-2.5
|
||||
c0.9-0.7,2-1.1,3.1-1.2c0.5,0,1,0.1,1.5,0.4c0.4,0.2,0.6,0.6,0.6,1c0,0.3-0.1,0.6-0.4,0.8c-0.2,0.2-0.6,0.3-0.9,0.3
|
||||
c-0.3,0-0.5-0.1-0.8-0.2c-0.4-0.2-0.8-0.3-1.2-0.3c-0.8,0-1.6,0.3-2.2,0.8C124.9,50.9,124.1,51.7,123.4,52.7"/>
|
||||
<path class="st1" d="M140.9,47.7v0.5v2.5v3.9v5.9l0.1,3.3v1.4h-8.3l0.1-5.9l0.1-5.2v-2.8l-0.1-3v-0.6L140.9,47.7z M136.7,42.1
|
||||
c2.8,0,4.2,0.7,4.2,2.2c0,0.7-0.4,1.4-1.1,1.7c-1,0.4-2.1,0.7-3.1,0.6c-2.7,0-4-0.8-4-2.3S134,42,136.7,42.1"/>
|
||||
<path class="st1" d="M144.4,62.3c0.3,0.1,0.6,0.2,0.8,0.5c0.7,0.6,1.4,1,2.3,1.3c0.9,0.3,1.8,0.5,2.8,0.5c0.3,0,0.6,0,0.9-0.2
|
||||
c0.2-0.1,0.3-0.4,0.3-0.6c0-0.3-0.2-0.7-0.4-0.9c-0.3-0.4-0.9-1-1.8-2.1c-1.6-1.6-3.1-3.4-4.5-5.2c-0.6-0.8-1-1.8-1-2.9
|
||||
c0-0.8,0.2-1.6,0.7-2.3c0.5-0.8,1.2-1.4,2-1.9c1.4-0.9,3.1-1.3,4.8-1.3c1.4,0,2.8,0.3,4.2,0.8c1.1,0.4,1.7,0.9,1.7,1.4
|
||||
c0,0.2-0.1,0.3-0.2,0.4c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4-0.1-0.8-0.3-1.1-0.6c-1.1-0.8-2.4-1.2-3.7-1.2c-0.4,0-0.7,0-1.1,0.2
|
||||
c-0.2,0.1-0.4,0.4-0.4,0.7c0.1,0.5,0.3,1,0.7,1.4c0.4,0.6,1.4,1.5,2.7,2.8s2.2,2.2,2.5,2.6c0.4,0.4,0.7,0.9,1,1.4
|
||||
c0.6,0.9,0.9,1.9,0.9,2.9c0,1.7-0.9,3.2-2.4,4c-1.4,0.9-3.1,1.3-4.8,1.3c-2,0-3.9-0.5-5.6-1.4c-0.4-0.2-0.7-0.4-1-0.7
|
||||
c-0.2-0.2-0.3-0.4-0.3-0.6c0-0.3,0.2-0.6,0.5-0.6C144.3,62.3,144.4,62.3,144.4,62.3"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</template>
|
||||
@@ -0,0 +1,14 @@
|
||||
<template>
|
||||
<div class="contant">
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<style lang="scss">
|
||||
.content {
|
||||
background-color: #fff;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,134 @@
|
||||
<template>
|
||||
<!-- <header id="header" :class="routeName === 'lang' ? blogPosts.docs.length ? 'header' : 'header1': 'header1'">-->
|
||||
<header class="header">
|
||||
<div class="site--header">
|
||||
<div class="main-nav container-fluid">
|
||||
<div class="row align-items-stretch">
|
||||
<div class="col-9">
|
||||
<nav>
|
||||
<ul>
|
||||
<nuxt-link :to="{ name: 'lang', params: { lang: $route.params.lang } }" v-slot="{href,navigate,isActive}" exact custom>
|
||||
<li @click="navigate" :class="isActive ? 'active-link' : null">
|
||||
<a :href="href">
|
||||
<img src="/img/logo.svg" alt="">
|
||||
</a>
|
||||
</li>
|
||||
</nuxt-link>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="col-3 d-flex align-items-center justify-content-end">
|
||||
<nuxt-link
|
||||
class="btn-header lang"
|
||||
:to="{ to: $route.fullPath,query: $route.query, params: { lang: $route.params.lang === 'en' ? 'fa' : 'en' } }">
|
||||
{{ $route.params.lang === 'en' ? 'Fa' : 'En' }}
|
||||
</nuxt-link>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
</template>
|
||||
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
drawerVisible: false,
|
||||
scrollPosition: null,
|
||||
blogPosts: null,
|
||||
searching: false,
|
||||
searchableText: '',
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
drawerHandle() {
|
||||
this.drawerVisible = !this.drawerVisible
|
||||
const en = this.$route.params.lang === 'en'
|
||||
this.$gsap.timeline()
|
||||
.fromTo($(".headerDrawer"), {opacity: 0}, {opacity: 1, duration: 1})
|
||||
.fromTo($(".drawer-body ul li"), {x: en ? -100 : 100, opacity: 0}, {x: 0, opacity: 1, duration: 0.2, stagger: 0.1}, 0)
|
||||
.fromTo($(".link8"), {y: 20, opacity: 0}, {y: 0, opacity: 1, duration: .2}, '-=0.3')
|
||||
},
|
||||
updateScroll() {
|
||||
this.scrollPosition = window.scrollY
|
||||
},
|
||||
search(status) {
|
||||
this.searching = status
|
||||
if (status) setTimeout(() => $('#searchInput').focus(), 100)
|
||||
else this.searchableText = ''
|
||||
},
|
||||
doSearch() {
|
||||
// if (this.searchableText.length) {
|
||||
// window.open(`https://www.google.com/search?q=${this.searchableText}+site%3Ahttps%3A//orisoxin.com/`, "_blank");
|
||||
// setTimeout(() => this.search(false), 100)
|
||||
// } else {
|
||||
// this.$message({
|
||||
// type: 'warning',
|
||||
// message: 'ابتدا عبارت مورد نظر را بنویسید'
|
||||
// })
|
||||
// }
|
||||
if (this.searchableText.length) {
|
||||
this.$router.push({name: 'lang-search', params: {lang: this.$route.params.lang}, query: {terms: this.searchableText}})
|
||||
setTimeout(() => this.search(false), 100)
|
||||
} else {
|
||||
this.$message({
|
||||
type: 'warning',
|
||||
message: 'ابتدا عبارت مورد نظر را بنویسید'
|
||||
})
|
||||
}
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
$(document).ready(() => {
|
||||
this.$gsap.timeline()
|
||||
.fromTo($(".site--header"), {opacity: 0}, {opacity: 1, duration: 1})
|
||||
|
||||
$(window).scroll(e => {
|
||||
if ($(window).scrollTop() > 100) {
|
||||
$('.site--header').addClass('hasBG')
|
||||
$('.site--header--drawer').addClass('hasBG')
|
||||
} else {
|
||||
$('.site--header').removeClass('hasBG')
|
||||
}
|
||||
|
||||
// if (window.scrollY > 904 && this.routeName === 'lang' && this.blogPosts.docs.length) $('.header').addClass('_header')
|
||||
// else $('.header').removeClass('_header')
|
||||
// if (window.scrollY < 905 && this.routeName === 'lang' && this.blogPosts.docs.length) $('.header').addClass('__header')
|
||||
// else $('.header').removeClass('__header')
|
||||
})
|
||||
});
|
||||
window.addEventListener('scroll', this.updateScroll);
|
||||
},
|
||||
|
||||
computed: {
|
||||
content() {
|
||||
return this.$store.state.content.header[this.$route.params.lang]
|
||||
},
|
||||
routeName() {
|
||||
return this.$route.name
|
||||
}
|
||||
},
|
||||
|
||||
async fetch() {
|
||||
this.blogPosts = await this.$axios.get('/api/public/blogPosts?category=all&page=1').then(res => res.data)
|
||||
.catch(e => console.log('e', e))
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
.header {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: 5;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding-top: 18px;
|
||||
}
|
||||
.main-nav nav ul li a img {
|
||||
width: 100PX;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user