pull/1/head
saeid 5 years ago
commit 530374b727

@ -2,6 +2,7 @@
namespace App\Providers; namespace App\Providers;
use Laravel\Passport\Passport;
use Illuminate\Support\Facades\Gate; use Illuminate\Support\Facades\Gate;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
@ -25,6 +26,6 @@ class AuthServiceProvider extends ServiceProvider
{ {
$this->registerPolicies(); $this->registerPolicies();
// Passport::routes();
} }
} }

@ -41,7 +41,7 @@ class SpUserTemplate extends Model{
public function business() public function business()
{ {
return $this->belongsTo('App\Business'); return $this->belongsTo('WM\\Core\\Models\\VirtualActivity');
} }
public function user_facilities() public function user_facilities()

@ -11,13 +11,13 @@
"php": "^7.1.3", "php": "^7.1.3",
"fideloper/proxy": "^4.0", "fideloper/proxy": "^4.0",
"laravel/framework": "5.8.*", "laravel/framework": "5.8.*",
"laravel/passport": "^7.3",
"laravel/tinker": "^1.0", "laravel/tinker": "^1.0",
"mll-lab/laravel-graphql-playground": "^1.1", "mll-lab/laravel-graphql-playground": "^1.1",
"nuwave/lighthouse": "dev-master", "nuwave/lighthouse": "dev-master",
"nwidart/laravel-modules": "^4.0", "nwidart/laravel-modules": "^4.0",
"wm/common": "dev-master", "wm/common": "dev-master",
"wm/crm": "dev-master", "wm/crm": "dev-master"
"wm/reservation": "dev-master"
}, },
"require-dev": { "require-dev": {
"beyondcode/laravel-dump-server": "^1.0", "beyondcode/laravel-dump-server": "^1.0",
@ -77,10 +77,6 @@
{ {
"type": "path", "type": "path",
"url": "./modules/wm-core" "url": "./modules/wm-core"
},
{
"type": "path",
"url": "./modules/wm-reservation"
} }
] ]
} }

6020
composer.lock generated

File diff suppressed because it is too large Load Diff

@ -42,7 +42,7 @@ return [
], ],
'api' => [ 'api' => [
'driver' => 'token', 'driver' => 'passport',
'provider' => 'users', 'provider' => 'users',
], ],
], ],

@ -0,0 +1,34 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class TempBussinessAddIsVirtualColumn extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('businesses', function (Blueprint $table) {
$table->enum('is_virtual', ['yes', 'no'])->default('yes');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
if (Schema::hasColumn('businesses', 'is_virtual')) {
Schema::table('businesses', function (Blueprint $table) {
$table->dropColumn('is_virtual');
});
}
}
}

@ -1,6 +1,13 @@
{ {
<<<<<<< HEAD
"/js/vue/Authentication/app.js": "/js/vue/Authentication/app.js?id=3079f55bdae5772792ec", "/js/vue/Authentication/app.js": "/js/vue/Authentication/app.js?id=3079f55bdae5772792ec",
"/js/vue/Home/app.js": "/js/vue/Home/app.js?id=13a565a1884137ab8ad2", "/js/vue/Home/app.js": "/js/vue/Home/app.js?id=13a565a1884137ab8ad2",
"/js/vue/Modules/CRM/app.js": "/js/vue/Modules/CRM/app.js?id=9dba1ac1bbeaea9812fe", "/js/vue/Modules/CRM/app.js": "/js/vue/Modules/CRM/app.js?id=9dba1ac1bbeaea9812fe",
"/js/vue/User/app.js": "/js/vue/User/app.js?id=47e2a22474f111e7ce8a" "/js/vue/User/app.js": "/js/vue/User/app.js?id=47e2a22474f111e7ce8a"
=======
"/js/vue/Authentication/app.js": "/js/vue/Authentication/app.js?id=96a8a21c57f3f6607a24",
"/js/vue/Home/app.js": "/js/vue/Home/app.js?id=cc6efa13405e4735fca0",
"/js/vue/Modules/CRM/app.js": "/js/vue/Modules/CRM/app.js?id=7a7f9e30ad43098f5a32",
"/js/vue/User/app.js": "/js/vue/User/app.js?id=31c08a25d351028ec785"
>>>>>>> 7c68b23eacbbabbd37a3ff22859871fee1f70e58
} }

@ -1,231 +0,0 @@
<template>
<v-app>
<div id="app">
<!-- <Loader></Loader> -->
<!-- <Header></Header> -->
<background></background>
<v-container mt-5 p-5 fluid class="Login">
<h2 class="Title"> WILLA ENGINE </h2>
<transition name="Fade" mode="out-in" >
<v-layout v-if="State === 'Login'" key="Login" column justify-center fill-height class="LoginContainer" ref="LoginContainer" >
<v-flex xs12>
<WM-PartTitle class="WM-Margin-T-20" TitleFa=" ورود " TitleEn=" Login " TextFaColor="white--text" TextColor="black--text" color="white"></WM-PartTitle>
<v-flex mt-3>
<v-text-field dark label=" شماره ی همراه خود را وارد کنید " hint="حداکثر 50 کاراکتر " color="white" prepend-icon="fas fa-phone"></v-text-field>
</v-flex>
<v-flex>
<v-text-field dark type="password" label=" کلمه ی عبور " color="white" prepend-icon="fas fa-asterisk"></v-text-field>
</v-flex>
<v-flex>
<v-btn outline fab color="white" @click="State = 'Register'">
<v-icon>fas fa-plus</v-icon>
</v-btn>
<a href="/Main/Home">
<v-btn outline fab color="white" >
<v-icon>fas fa-chevron-left</v-icon>
</v-btn>
</a>
</v-flex>
</v-flex>
</v-layout>
<v-layout v-if="State === 'Register'" key="Register" column justify-center fill-height class="RegisterContainer" ref="RegisterContainer" >
<WM-PartTitle class="WM-Margin-T-20" TitleFa=" ثبت نام " TitleEn=" Sign Up " TextFaColor="white--text" TextColor="black--text" color="white"></WM-PartTitle>
<v-flex mt-3>
<v-text-field dark label=" نام و نام خانوادگی " hint="حداکثر 50 کاراکتر " color="white" prepend-icon="fas fa-user"></v-text-field>
</v-flex>
<v-flex>
<v-text-field dark label=" شماره ی همراه خود را وارد کنید " hint="حداکثر 50 کاراکتر " color="white" prepend-icon="fas fa-phone"></v-text-field>
</v-flex>
<v-flex>
<v-text-field dark type="password" label=" کلمه ی عبور " color="white" prepend-icon="fas fa-asterisk"></v-text-field>
</v-flex>
<v-flex>
<v-btn outline fab color="white" @click="State = 'Login'">
<v-icon>fas fa-plus</v-icon>
</v-btn>
<a href="/Main/Home">
<v-btn outline fab color="white" >
<v-icon>fas fa-chevron-left</v-icon>
</v-btn>
</a>
</v-flex>
</v-layout>
</transition>
</v-container>
</div>
</v-app>
</template>
<script>
import Background from '@JS/Authentication/components/Background';
import Tile from '@JS/Authentication/components/Tile';
import Loader from '@JS/Authentication/components/Loader';
import Header from '@JS/Authentication/components/Header';
export default {
data() {
return {
loading: true,
isShifted: false,
loadingVisible: false,
RegisterStatus: false,
LoginStatus: false,
State: 'Login'
};
},
components: {
Header: Header,
background: Background,
Tile: Tile,
Loader: Loader,
},
methods: {
Register: function() {
// console.log(this.$refs.RegisterContainer)
this.RegisterStatus = !this.RegisterStatus;
this.LoginStatus = !this.LoginStatus;
},
Log(value) {
this.$store.commit('Log',value);
}
},
beforeMount() {
var self = this;
setTimeout(function() {
self.loading = ! self.loading;
}, 2000)
}
};
</script>
<style lang="scss">
.Title {
letter-spacing: 15px;
font-size: 18px;
text-align: center;
color: #fff;
}
.Login {
// animation: FadeInUp 1s;
// transition: all 600ms cubic-bezier(.17,.67,1,.01);
}
.LoginContainer, .RegisterContainer {
margin-top: 150px !important;
width:600px;
margin:0 auto;
}
.Blur-enter-active, .Blur2-leave-active {
animation: BlurIn 0.5s;
animation-fill-mode: both;
}
.Blur-enter, .Blur2-leave-to /* .fade-leave-active below version 2.1.8 */ {
animation: BlurOut 0.5s;
animation-fill-mode: both;
}
.FadeUp-enter-active, .FadeUp-leave-active {
animation: FadeInUp 500ms;
}
.FadeUp-enter, .FadeUp-leave-to /* .fade-leave-active below version 2.1.8 */ {
animation: FadeOutUp 200ms;
}
.Fade-enter-active, .Fade-leave-active {
animation: FadeIn 500ms;
}
.Fade-enter, .Fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
animation: FadeOut 500ms;
}
@keyframes FadeIn {
0% {
opacity: 0;
display:none;
}
100% {
opacity: 1;
}
}
@keyframes FadeOut {
0% {
opacity: 1;
}
100% {
display:none;
opacity: 0;
}
}
@keyframes FadeInUp {
0% {
display:none;
opacity: 0;
transform: translateY(300px);
}
100% {
opacity: 1;
transform: translateY(0px);
}
}
@keyframes FadeOutUp {
0% {
opacity: 1;
transform: translateY(0px);
}
100% {
opacity: 0;
transform: translateY(-300px);
display:none;
}
}
@keyframes BlurIn {
0% {
opacity: 0;
filter: blur(40px);
-webkit-filter: blur(40px);
transform: translateY(50px) scale(3);
-webkit-transform: translateY(50px) scale(3);
}
100% {
opacity: 1;
filter: blur(0px);
-webkit-filter: blur(0px);
transform: translateY(0px) scale(1);
-webkit-transform: translateY(0px) scale(1);
}
}
@keyframes BlurOut {
0% {
opacity: 1;
filter: blur(0px);
-webkit-filter: blur(0px);
transform: translateY(0px) scale(1);
-webkit-transform: translateY(0px) scale(1);
}
100% {
opacity: 0;
filter: blur(40px);
-webkit-filter: blur(40px);
transform: translateY(0px) scale(0.4);
-webkit-transform: translateY(0px) scale(0.4);
}
}
</style>

@ -1,85 +0,0 @@
import Vue from 'vue'
import App from './App.vue'
import router from './router.js'
import store from './store'
import VueScrollReveal from 'vue-scroll-reveal'
import Vuetify from 'vuetify'
import {
global
} from '@Global/mixins/global';
import 'popper.js'
import 'bootstrap-v4-rtl'
import 'bootstrap-v4-rtl/scss/bootstrap-rtl.scss'
import 'bootstrap-select'
import 'bootstrap-select/dist/css/bootstrap-select.css'
import 'vuetify/dist/vuetify.min.css' // Ensure you are using css-loader
import '@Global/assets/Font-Icons/css/fontello.css'
import "@Global/scss/style.scss";
// components
import PartTitle from "@Global/components/Dividers/PartTitle.vue";
import PageTitle from "@Global/components/Dividers/PageTitle.vue";
import Checkbox from "@Global/components/Inputs/Checkbox.vue";
import InfoBlock from "@Global/components/Misc/InfoBlock.vue";
import Breadcrumbs from '@Global/components/Misc/Breadcrumbs';
Vue.component('WM-PartTitle', PartTitle)
Vue.component('WM-PageTitle', PageTitle)
Vue.component('WM-Checkbox', Checkbox)
Vue.component('WM-InfoBlock', InfoBlock)
Vue.component('wm-breadcrumbs', Breadcrumbs)
/**
* First we will load all of this project's JavaScript dependencies which
* includes Vue and other libraries. It is a great starting point when
* building robust, powerful web applications using Vue and Laravel.
*/
window.Vue = require('vue');
/**
* The following block of code may be used to automatically register your
* Vue components. It will recursively scan this directory for the Vue
* components and automatically register them with their "basename".
*
* Eg. ./components/ExampleComponent.vue -> <example-component></example-component>
*/
// const files = require.context('./', true, /\.vue$/i)
// files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key).default))
/**
* Next, we will create a fresh Vue application instance and attach it to
* the page. Then, you may begin adding components to this application
* or customize the JavaScript scaffolding to fit your unique needs.
*/
Vue.use(Vuetify, {
iconfont: 'fa',
rtl: true,
});
// Vue.config.productionTip = false;
Vue.use(VueScrollReveal, {
class: 'v-scroll-reveal', // A CSS class applied to elements with the v-scroll-reveal directive; useful for animation overrides.
duration: 800,
scale: 1,
distance: '10px',
mobile: false
});
Vue.mixin(global);
const app = new Vue({
router,
store,
render: h => h(App),
}).$mount('#app');

@ -1,117 +0,0 @@
<template>
<div>
<div class="backgrounds">
<canvas id="canvas__bg" width="32" height="32"></canvas>
<div class="overlay gradient"></div>
<div class="overlay vignette"></div>
</div>
</div>
</template>
<script>
export default {
methods: {
moveGradient: function() {
var c = document.getElementById("canvas__bg");
var $ = c.getContext("2d");
var col = function(x, y, r, g, b) {
$.fillStyle = "rgb(" + r + "," + g + "," + b + ")";
$.fillRect(x, y, 1, 1);
};
var R = function(x, y, t) {
return Math.floor(130 + 64 * Math.cos((x * x - y * y) / 300 + t));
};
var G = function(x, y, t) {
return Math.floor(
0 +
64 *
Math.sin(
(x * x * Math.cos(t / 4) + y * y * Math.sin(t / 3)) / 300
)
);
};
var B = function(x, y, t) {
return Math.floor(
250 +
64 *
Math.sin(
5 * Math.sin(t / 9) +
((x - 100) * (x - 100) + (y - 100) * (y - 100)) / 1100
)
);
};
var t = 0;
var run = function() {
for (let x = 0; x <= 35; x++) {
for (let y = 0; y <= 35; y++) {
col(x, y, R(x, y, t), G(x, y, t), B(x, y, t));
}
}
t = t + 0.03;
window.requestAnimationFrame(run);
};
(function() {
setTimeout(function() {
run(); // canvas background animation
}, 100);
})();
}
},
mounted() {
this.moveGradient();
}
};
</script>
<style lang="scss" scoped>
#canvas__bg,
.overlay {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.backgrounds {
position: fixed;
z-index: -1;
width: 100%;
height: 100%;
}
.overlay.gradient {
background: #17a2b8;
/* Old browsers */
// background: -moz-linear-gradient( -45deg, #310089 0%, #5b007c 100%);
/* FF3.6-15 */
// background: -webkit-linear-gradient( -45deg, #310089 0%, #5b007c 100%);
/* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg, #000 0%, #ee3552 100%);
/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
// filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#17a2b8', endColorstr='#ee3552', GradientType=1);
/* IE6-9 fallback on horizontal gradient */
opacity: 0.59;
}
.overlay.vignette {
// background: -moz-radial-gradient( center, ellipse cover, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
/* FF3.6-15 */
// background: -webkit-radial-gradient( center, ellipse cover, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
/* Chrome10-25,Safari5.1-6 */
background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 0%, #000000 100%);
/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
// filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000', GradientType=1);
/* IE6-9 fallback on horizontal gradient */
opacity: 0.6;
transition: opacity 4s cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
-webkit-transition: opacity 4s cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
}
</style>

@ -1,29 +0,0 @@
<template>
<div class="Header">
<div class="Logo">
WILLA ENGINE
</div>
</div>
</template>
<script>
export default {
components: {
},
}
</script>
<style lang="scss" scoped>
.Header {
position: fixed;
width: 100%;
text-align: center;
}
.Logo {
letter-spacing: 15px;
color: #fff;
position: absolute;
top: 20px;
right: calc( 50% - 150px );
}
</style>

@ -1,118 +0,0 @@
<template>
<div class="LoaderContainer">
<div class="LoaderOverlay">
<div class="Loader"> WILLA ENGINE </div>
</div>
</div>
</template>
<script>
export default {
}
</script>
<style lang="scss" scoped>
.LoaderContainer {
position: fixed;
width: 100%;
height: 100%;
}
.LoaderOverlay {
position: relative;
width: 100%;
height: 100%;
background: inherit;
overflow: hidden;
}
.LoaderContainer:after {
content: '';
width: 100%;
height: 100%;
background: inherit;
position: absolute;
left: -25px;
right: 0;
top: -25px;
bottom: 0;
box-shadow: inset 0 0 0 200px rgba(255, 255, 255, 0.05);
filter: blur(20px);
}
.Loader {
color: #fff;
display:flex;
justify-content: center;
align-items: center;
height: 100%;
margin: auto;
background-color: transparent;
animation: load 2.2s infinite 0s ease-in-out;
animation-direction: alternate;
font-size: 40px;
}
.Loader div {
/* animation: BlurFade 4s linear infinite alternate; */
animation: load 2.2s infinite 0s ease-in-out;
animation-direction: alternate;
margin-right: 15px;
font-size: 40px;
}
@-webkit-keyframes BlurFade {
0% {
opacity: 0;
filter: blur(40px);
-webkit-filter: blur(40px);
transform: translateY(50px) rotateY(90deg) scale(3);
-webkit-transform: translateY(50px) rotateY(90deg) scale(3);
}
25% {
opacity: 1;
filter: blur(0px);
-webkit-filter: blur(0px);
transform: translateY(0px) rotateY(0deg) scale(1.2);
-webkit-transform: translateY(0px) rotateY(0deg) scale(1.2);
}
50% {
opacity: 1;
filter: blur(0px);
-webkit-filter: blur(0px);
transform: translateY(0px) rotateY(0deg) scale(1.2);
-webkit-transform: translateY(0px) scale(1.2);
}
75% {
opacity: 1;
filter: blur(0px);
-webkit-filter: blur(0px);
transform: translateY(0px) rotateY(0deg) scale(1.2);
-webkit-transform: translateY(0px) rotateY(0deg) scale(1.2);
}
100% {
opacity: 0;
filter: blur(40px);
-webkit-filter: blur(40px);
transform: translateY(50px) rotateY(90deg) scale(3);
-webkit-transform: translateY(50px) rotateY(90deg) scale(3);
}
}
@keyframes load {
0% {
opacity: 0.08;
font-size: 20px;
font-weight: 400;
filter: blur(5px);
letter-spacing: 15px;
}
100% {
opacity: 1;
font-size: 20px;
font-weight:600;
filter: blur(0);
letter-spacing: 5px;
}
}
</style>

@ -1,632 +0,0 @@
<template>
<div>
<div class="o-grid__item hover-target">
<button class="c-hamburger c-hamburger--htla" @click="makeActive">
<span>toggle menu</span>
</button>
</div>
<div id="menu" class="menu" :class="{active: isActive}">
<div class="section section_fixed" id="menu-inner">
<div class="section__clip">
<div class="section__content grad-darkpurple">
<div class="description">
<!-- <h1>The future of Management Platform is here.</h1> -->
<p>
<span>
Vold is an advanced, modular-based Management System, custom-tailored to fit your needs.
<br>
<br>&copy;
</span>
<span id="copyRightYear2"></span>
<a href="index.html" class="hover-target" title="Advanced Management Platform for Modern Businesses">Vold</a>
<span>. All rights reserved.</span>
<a href="mailto:app@vold.io" class="hover-target">Contact Us</a>
<span> Website by</span>
<a href="http://fleava.com/" target="_blank" title="Fleava Bali Digital Advertising Agency" class="hover-target">Fleava</a>
</p>
</div>
<div class="nav-container">
<div></div>
<div>
<a href="#cms" class="scroll-nav nav-menu">
<div class="bg grad-red"></div>
<span>01</span>
<h3>
Vold
<br>CMS
</h3>
</a>
</div>
<div>
<a href="#file" class="scroll-nav nav-menu">
<div class="bg grad-purple"></div>
<span>02</span>
<h3>
File
<br>Manager
</h3>
</a>
</div>
<div>
<a href="#oana" class="scroll-nav nav-menu">
<div class="bg grad-pink"></div>
<span>03</span>
<h3>
Artificial
<br>Intelligence
</h3>
</a>
</div>
<div>
<a href="#data" class="scroll-nav nav-menu">
<div class="bg grad-darkblue"></div>
<span>04</span>
<h3>
Data
<br>Visualizer
</h3>
</a>
</div>
<div>
<a href="#insight" class="scroll-nav nav-menu">
<div class="bg grad-midblue"></div>
<span>05</span>
<h3>
Audience
<br>Insight
</h3>
</a>
</div>
<div>
<a href="#globe" class="scroll-nav nav-menu">
<div class="bg grad-purple"></div>
<span>06</span>
<h3>
Globe
<br>Visualizer
</h3>
</a>
</div>
<div>
<a href="#custom" class="scroll-nav nav-menu">
<div class="bg grad-red"></div>
<span>07</span>
<h3>
Customize
<br>Vold
</h3>
</a>
</div>
<div>
<a href="#contact" class="scroll-nav nav-menu">
<div class="bg grad-purple"></div>
<span>08</span>
<h3>
Contact
<br>Vold
</h3>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
isActive: false,
}
},
methods: {
makeActive: function() {
this.isActive = !this.isActive;
}
}
};
</script>
<style lang="scss" scoped>
/* ---------- MENU ---------- */
.o-grid__item {
position: fixed;
left: 40px;
z-index: 3;
top: 50%;
margin-top: -50px;
z-index: 100;
}
.c-hamburger {
display: block;
position: relative;
overflow: hidden;
margin: 0;
padding: 0;
width: 65px;
height: 96px;
font-size: 0;
text-indent: -9999px;
cursor: pointer;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
box-shadow: none;
border-radius: none;
border: none;
-webkit-transition: background 0.3s;
transition: background 0.3s;
}
.c-hamburger:focus {
outline: none;
}
.c-hamburger span {
display: block;
position: absolute;
top: 44px;
left: 5px;
right: 18px;
height: 1px;
background: white;
}
.c-hamburger span::before,
.c-hamburger span::after {
position: absolute;
display: block;
left: 0;
width: 100%;
height: 1px;
background-color: #fff;
content: "";
}
.c-hamburger span::before {
top: -9px;
}
.c-hamburger span::after {
bottom: -9px;
width: 50%;
}
.c-hamburger--htla {
background: none;
}
.c-hamburger--htla span {
-webkit-transition: -webkit-transform 0.3s;
transition: transform 0.3s;
}
.c-hamburger--htla span::before {
-webkit-transform-origin: top right;
-ms-transform-origin: top right;
transform-origin: top right;
-webkit-transition: -webkit-transform 0.3s, width 0.3s, top 0.3s;
transition: transform 0.3s, width 0.3s, top 0.3s;
}
.c-hamburger--htla span::after {
-webkit-transform-origin: bottom right;
-ms-transform-origin: bottom right;
transform-origin: bottom right;
-webkit-transition: -webkit-transform 0.3s, width 0.3s, bottom 0.3s;
transition: transform 0.3s, width 0.3s, bottom 0.3s;
}
.c-hamburger {
opacity: 0;
transition: all 2.8s cubic-bezier(.19, 1, .22, .95) .1s;
-webkit-transition: all 2.8s cubic-bezier(.19, 1, .22, .95) .1s;
-webkit-transform: translateX(-50px) skewX(-60deg);
-ms-transform: translateX(-50px) skewX(-60deg);
transform: translateX(-50px) skewX(-60deg);
}
/* active state, i.e. menu open */
.c-hamburger--htla.is-active {}
.c-hamburger--htla.is-active span {
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.c-hamburger--htla.is-active span::before,
.c-hamburger--htla.is-active span::after {
width: 50%;
}
.c-hamburger--htla.is-active span::before {
top: 0;
-webkit-transform: translateX(23px) translateY(1px) rotate(45deg);
-ms-transform: translateX(23px) translateY(1px) rotate(45deg);
transform: translateX(23px) translateY(1px) rotate(45deg);
}
.c-hamburger--htla.is-active span::after {
bottom: -1px;
-webkit-transform: translateX(23px) translateY(-1px) rotate(-45deg);
-ms-transform: translateX(23px) translateY(-1px) rotate(-45deg);
transform: translateX(23px) translateY(-1px) rotate(-45deg);
}
.menu {
position: fixed;
z-index: 99;
width: 100%;
height: 100%;
width: 100vw;
height: 100vh;
top: 0;
left: 0;
pointer-events: none;
opacity: 1;
}
.menu .section__content .overlay {
z-index: -1;
background-color: rgba(10, 20, 30, .7)
}
.menu-overlay {
position: absolute;
width: 100%;
height: 100%;
width: 100vw;
height: 100vh;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, .6);
opacity: 0;
-webkit-transition: all .8s cubic-bezier(0.19, 1, 0.22, 1);
transition: all .8s cubic-bezier(0.19, 1, 0.22, 1);
}
.menu.active {
pointer-events: auto;
}
.menu.active .menu-overlay {
opacity: 1;
}
.menu .section__clip {
width: 0;
-webkit-transition: all .8s cubic-bezier(0.19, 1, 0.22, 1);
transition: all .8s cubic-bezier(0.19, 1, 0.22, 1);
}
.menu.active .section__clip {
width: 100%;
width: 100vw;
}
.menu .description,
.menu .description h1,
.menu .description p {
transition: all 1.8s cubic-bezier(.19, 1, .22, .95);
-webkit-transition: all 1.8s cubic-bezier(.19, 1, .22, .95);
}
.menu .description {
width: 50%;
max-width: 280px;
margin: 0 auto;
position: absolute;
bottom: 10%;
right: 10%;
opacity: 0;
z-index: 2;
overflow: hidden;
display: flex;
flex-direction: row;
}
.menu.active .description {
opacity: 1;
}
.menu .description p {
width: 100%;
font-size: 8px;
text-transform: uppercase;
letter-spacing: 2px;
color: rgba(255, 255, 255, .3);
padding-left: 30px;
}
.menu .description p span {
pointer-events: none;
}
.menu .description p a {
color: rgba(255, 255, 255, .5);
}
.menu .description p a:hover {
color: rgba(255, 255, 255, .8);
}
.menu .description h1,
.menu .description p {
opacity: 0;
-webkit-transform: translateX(-100px);
-ms-transform: translateX(-100px);
transform: translateX(-100px);
}
.menu .description h1 {
-webkit-transition-delay: 0.1s;
transition-delay: 0.1s
}
.menu .description p:nth-child(1) {
-webkit-transition-delay: 0.2s;
transition-delay: 0.2s
}
.menu .description p:nth-child(2) {
-webkit-transition-delay: 0.3s;
transition-delay: 0.3s
}
.menu.active .description h1,
.menu.active .description p {
opacity: 1;
-webkit-transform: translateX(0);
-ms-transform: translateX(0);
transform: translateX(0);
}
.nav-container {
display: flex;
flex-direction: row;
width: 100%;
height: 100%;
}
.nav-container>div {
border-left: 1px solid rgba(255, 255, 255, .05);
width: 100%;
height: 100%;
overflow: hidden;
position: relative;
}
.nav-container>div:nth-child(1) {
border-left: none;
}
.nav-container a {
position: relative;
width: 100%;
height: 100%;
top: 0;
left: 0;
overflow: hidden;
display: flex;
justify-content: center;
flex-direction: column;
-webkit-transform: translateX(-100%);
-ms-transform: translateX(-100%);
transform: translateX(-100%);
}
.nav-container a,
.nav-container a span,
.nav-container a h3,
.nav-container a .bg {
opacity: 0;
transition: all 1s cubic-bezier(.19, 1, .22, .95);
-webkit-transition: all 1s cubic-bezier(.19, 1, .22, .95);
}
.nav-container a span,
.nav-container a h3 {
margin-left: 10px;
}
.menu.active .nav-container a,
.menu.active .nav-container a span,
.menu.active .nav-container a h3 {
opacity: 1;
}
.menu.active .nav-container a {
-webkit-transform: translateX(0);
-ms-transform: translateX(0);
transform: translateX(0);
}
.menu.active .nav-container div:nth-child(2) a {
-webkit-transition-delay: 0.1s;
transition-delay: 0.1s
}
.menu.active .nav-container div:nth-child(3) a {
-webkit-transition-delay: 0.14s;
transition-delay: 0.14s
}
.menu.active .nav-container div:nth-child(4) a {
-webkit-transition-delay: 0.18s;
transition-delay: 0.18s
}
.menu.active .nav-container div:nth-child(5) a {
-webkit-transition-delay: 0.22s;
transition-delay: 0.22s
}
.menu.active .nav-container div:nth-child(6) a {
-webkit-transition-delay: 0.26s;
transition-delay: 0.26s
}
.menu.active .nav-container div:nth-child(7) a {
-webkit-transition-delay: 0.3s;
transition-delay: 0.3s
}
.menu.active .nav-container div:nth-child(8) a {
-webkit-transition-delay: 0.34s;
transition-delay: 0.34s
}
.menu.active .nav-container div:nth-child(9) a {
-webkit-transition-delay: 0.38s;
transition-delay: 0.38s
}
.nav-container a .bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0;
}
.nav-container a span {
display: block;
font: 700 80px/1 "Proxima Nova", Arial, Helvetica, sans-serif;
color: rgba(255, 255, 255, .1);
-webkit-transform: translateX(-30px);
-ms-transform: translateX(-30px);
transform: translateX(-30px);
}
@media screen and (max-width: 890px) {
.nav-container a span {
font-size: 60px;
}
}
.nav-container h3 {
font: 400 10px "Proxima Nova", Arial, Helvetica, sans-serif;
text-transform: uppercase;
color: rgba(255, 255, 255, .5);
letter-spacing: 2px;
margin-top: 0;
-webkit-transform: translateX(10px);
-ms-transform: translateX(10px);
transform: translateX(10px);
}
.nav-container a:hover .bg {
opacity: 1;
}
.nav-container a:hover span {
color: rgba(255, 255, 255, .2);
-webkit-transform: translateX(-20px);
-ms-transform: translateX(-20px);
transform: translateX(-20px);
}
.nav-container a:hover h3 {
color: rgba(255, 255, 255, 1);
-webkit-transform: translateX(0px);
-ms-transform: translateX(0px);
transform: translateX(0px);
}
.grad-darkpurple {
background: rgb(0,50,66); /* Old browsers */
background: -moz-linear-gradient(45deg, rgba(0,50,66,1) 0%, rgba(32,0,96,1) 50%, rgba(79,0,92,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(45deg, rgba(0,50,66,1) 0%,rgba(32,0,96,1) 50%,rgba(79,0,92,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(45deg, rgba(0,50,66,1) 0%,rgba(32,0,96,1) 50%,rgba(79,0,92,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#003242', endColorstr='#4f005c',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.grad-blue, .section .section__content h2::before {
background: rgb(130,0,244); /* Old browsers */
background: -moz-linear-gradient(45deg, rgba(130,0,244,1) 0%, rgba(37,247,255,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(45deg, rgba(130,0,244,1) 0%,rgba(37,247,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(45deg, rgba(130,0,244,1) 0%,rgba(37,247,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8200f4', endColorstr='#25f7ff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.grad-midblue {
background: #350096; /* Old browsers */
background: -moz-linear-gradient(45deg, #350096 0%, #00e3c6 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(45deg, #350096 0%,#00e3c6 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(45deg, #350096 0%,#00e3c6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#350096', endColorstr='#00e3c6',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.grad-darkblue {
background: #23075d; /* Old browsers */
background: -moz-linear-gradient(45deg, #23075d 0%, #00605c 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(45deg, #23075d 0%,#00605c 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(45deg, #23075d 0%,#00605c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#23075d', endColorstr='#00605c',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.grad-purple {
background: rgb(42,10,169); /* Old browsers */
background: -moz-linear-gradient(45deg, rgba(42,10,169,1) 0%, rgba(124,19,157,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(45deg, rgba(42,10,169,1) 0%,rgba(124,19,157,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(45deg, rgba(42,10,169,1) 0%,rgba(124,19,157,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2a0aa9', endColorstr='#7c139d',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.grad-pink, .section .section__content.grad-darkblue h2::before {
background: #fa49ff; /* Old browsers */
background: -moz-linear-gradient(45deg, #fa49ff 0%, #6267fc 64%, #5bead5 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(45deg, #fa49ff 0%,#6267fc 64%,#5bead5 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(45deg, #fa49ff 0%,#6267fc 64%,#5bead5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fa49ff', endColorstr='#5bead5',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.grad-red, .section .section__content.grad-midblue h2::before{
background: #221884; /* Old browsers */
background: -moz-linear-gradient(45deg, #221884 0%, #be3679 50%, #ffa458 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(45deg, #221884 0%,#be3679 50%,#ffa458 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(45deg, #221884 0%,#be3679 50%,#ffa458 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#221884', endColorstr='#ffa458',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.section {
position: relative;
height: 100%;
}
.section__clip {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
clip: rect(auto, auto, auto, auto);
-webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
}
.section__content {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
}
</style>

@ -1,81 +0,0 @@
<template>
<v-layout wrap>
<v-container>
<v-icon class="Menu" @click.stop="drawer = !drawer" dark>fas fa-bars</v-icon>
</v-container>
<v-navigation-drawer v-model="drawer" app temporary right>
<v-list class="pa-1">
<v-list-tile avatar>
<v-list-tile-avatar>
<img src="https://randomuser.me/api/portraits/men/85.jpg">
</v-list-tile-avatar>
<v-list-tile-content>
<v-list-tile-title>John Leider</v-list-tile-title>
</v-list-tile-content>
</v-list-tile>
</v-list>
<v-list class="pt-0" dense>
<v-divider></v-divider>
<v-list-tile v-for="item in items" :key="item.title">
<v-list-tile-action>
<v-icon>{{ item.icon }}</v-icon>
</v-list-tile-action>
<v-list-tile-content>
<v-list-tile-title>{{ item.title }}</v-list-tile-title>
</v-list-tile-content>
</v-list-tile>
</v-list>
</v-navigation-drawer>
</v-layout>
</template>
<script>
export default {
data() {
return {
drawer: false,
items: [
{ title: 'Home', icon: 'dashboard' },
{ title: 'About', icon: 'question_answer' }
]
}
}
}
</script>
<style lang="scss" scoped>
.Menu {
position: absolute;
right: 20px;
top: 20px;
}
.drawer-trigger {
position: fixed;
top: 0px;
padding: 40px;
background-color: white;
left: 400px;
}
.drawer-trigger.active {
color: red;
}
.drawer {
position: fixed;
top: 0px;
left: -400px;
bottom: 0px;
background-color: white;
width: 400px;
}
.drawer.open {
left: 0px;
}
</style>

@ -1,38 +0,0 @@
<template>
<div class="blurred-box">
Salam
</div>
</template>
<script>
export default {
}
</script>
<style lang="scss" scoped>
.blurred-box {
position: relative;
width: 250px;
height: 350px;
top: calc(50% - 175px);
left: calc(50% - 125px);
background: inherit;
border-radius: 2px;
overflow: hidden;
}
.blurred-box:after {
content: '';
width: 300px;
height: 300px;
background: inherit;
position: absolute;
left: -25px;
right: 0;
top: -25px;
bottom: 0;
box-shadow: inset 0 0 0 200px rgba(255, 255, 255, 0.05);
filter: blur(10px);
}
</style>

@ -1,34 +0,0 @@
import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
const router = new Router({
mode: 'history',
base: process.env.BASE_URL,
linkActiveClass: "WM-Active",
linkExactActiveClass: "WM-Exact-Active",
routes: [
// {
// path: '*',
// redirect: '/Login'
// },
]
})
router.beforeResolve((to, from, next) => {
if (to.name && router.app.$children[0] != undefined)
router.app.$children[0].loadingVisible = true;
setTimeout(() => {
next();
}, 500)
})
router.afterEach(() => {
if (router.app.$children[0] != undefined)
router.app.$children[0].loadingVisible = false;
})
export default router;

@ -1,20 +0,0 @@
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
export default new Vuex.Store({
state: {
UserDetails: false,
UserRoles: false,
OrderDetails: false,
OrderStatus: false,
SendEmail: false,
SendSMS: false
},
mutations: {
Log(state, ToLog) {
console.log(ToLog);
}
}
})

@ -1,129 +0,0 @@
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" rel="stylesheet">
{{-- <link href="{{ asset('css/styles.css') }}" rel="stylesheet"> --}}
<title> New Design </title>
<!-- Styles -->
</head>
<body>
<div id='cursor'></div>
{{-- <div class="Loader">
<div class="W">W</div>
<div class="I">I</div>
<div class="L">L</div>
<div class="L">L</div>
<div class="A">A</div>
<div class="E">E</div>
<div class="N">N</div>
<div class="G">G</div>
<div class="I">I</div>
<div class="N">N</div>
<div class="E">E</div>
</div> --}}
<div id="app"></div>
</body>
<style lang="scss">
#app {
background-color: transparent;
}
.backgrounds {
width: 100%;
height:100%;
}
.c-hamburger {
opacity: 1;
}
</style>
<script>
(function () {
"use strict";
var w = window;
const b = document.getElementsByTagName("body")[0];
b.addEventListener("mousemove", mouseMove);
var cursor = document.getElementById('cursor');
b.addEventListener("mousedown", cursorClick);
b.addEventListener("mouseup", cursorUnclick);
var panel = document.querySelectorAll(".section.active");
var text = document.querySelectorAll(".section-tagline-wrapper");
var img = document.querySelectorAll(".section-img-wrapper");
var no = document.querySelectorAll(".section-no-wrapper");
var cImg = document.querySelectorAll('.pattern');
var patterns = document.querySelectorAll('.pattern');
function mouseMove(e) {
// Custom Cursor
cursor.style.left = e.clientX + 'px';
cursor.style.top = e.clientY + 'px';
// if (menu.classList.contains('active')) {
// return
// }
};
function clipMask(pattern, e) {
pattern.style.setProperty("--clip-position", e.clientX + 'px ' + e.clientY + 'px');
}
function cursorClick(e) {
cursor.classList.add("clicked")
}
function cursorUnclick(e) {
setTimeout(function () {
cursor.classList.remove("clicked")
}, 300);
}
function cursorHover(e) {
cursor.classList.add("hover")
}
function cursorUnhover(e) {
cursor.classList.remove("hover")
}
var hovers = document.querySelectorAll(".hover-target");
for (var i = hovers.length - 1; i >= 0; i--) {
var hover = hovers[i];
hoverHandler(hover);
};
function hoverHandler(hover) {
hover.addEventListener("mouseover", cursorHover);
hover.addEventListener("mouseout", cursorUnhover);
}
})();
</script>
{{-- <script type="text/javascript" src="{{ asset('js/vendors.js') }}"></script>
<script type="text/javascript" src="{{ asset('js/scripts.js') }}"></script> --}}
<script src="{{ mix('js/vue/Authentication/app.js') }}"></script>
</html>

@ -23,9 +23,6 @@ Route::get('/WebsiteManagement/{any?}', function () {
}); });
Route::get( '/Login', function () {
return view( 'Authentication');
});
Route::get('/{any?}', function () { Route::get('/{any?}', function () {
return redirect('/Main/Home'); return redirect('/Main/Home');
}); });

3
webpack.mix.js vendored

@ -24,8 +24,7 @@ mix.webpackConfig({
}); });
mix.js('resources/js/Authentication/app.js', 'public/js/vue/Authentication') mix.js('resources/js/Home/app.js', 'public/js/vue/Home');
.js('resources/js/Home/app.js', 'public/js/vue/Home');
require('./modules/wm-core/webpack.mix'); require('./modules/wm-core/webpack.mix');

Loading…
Cancel
Save