adding latest
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
hide-on-scroll
|
hide-on-scroll
|
||||||
color="rgba(93.3%, 93.3%, 93.3%, 0.5)"
|
color="rgba(93.3%, 93.3%, 93.3%, 0.5)"
|
||||||
v-if="!this.$store.getters.fullScreen"
|
v-if="!this.$store.getters.fullScreen"
|
||||||
|
style="z-index: 15;"
|
||||||
>
|
>
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-spacer></v-spacer>
|
<v-spacer></v-spacer>
|
||||||
@@ -19,11 +20,11 @@
|
|||||||
</v-toolbar-title>
|
</v-toolbar-title>
|
||||||
</router-link>
|
</router-link>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="4" class="d-flex justify-end">
|
<v-col cols="4" class="d-flex justify-end align-center">
|
||||||
<vsm-menu
|
<vsm-menu
|
||||||
ref="header"
|
ref="header"
|
||||||
:menu="menu"
|
:menu="menu"
|
||||||
:screen-offset="250"
|
:screen-offset="25"
|
||||||
:base-width="380"
|
:base-width="380"
|
||||||
:base-height="400"
|
:base-height="400"
|
||||||
>
|
>
|
||||||
@@ -31,6 +32,21 @@
|
|||||||
<component :is="data.item.content" class="content" />
|
<component :is="data.item.content" class="content" />
|
||||||
<component :is="data.item.secondary" class="content--secondary" />
|
<component :is="data.item.secondary" class="content--secondary" />
|
||||||
</template>
|
</template>
|
||||||
|
<template
|
||||||
|
#title="data"
|
||||||
|
class="ma-0 pa-0"
|
||||||
|
style="margin-bottom: -20px;"
|
||||||
|
>
|
||||||
|
<router-link
|
||||||
|
:to="data.item.routerLink"
|
||||||
|
v-if="data.item.routerLink"
|
||||||
|
style="padding-bottom: -20px;"
|
||||||
|
>
|
||||||
|
<p class="ma-0 pa-0 underline routerLink">
|
||||||
|
{{ data.item.title }}
|
||||||
|
</p>
|
||||||
|
</router-link>
|
||||||
|
</template>
|
||||||
</vsm-menu>
|
</vsm-menu>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-spacer></v-spacer>
|
<v-spacer></v-spacer>
|
||||||
@@ -59,17 +75,17 @@ export default {
|
|||||||
title: "Random",
|
title: "Random",
|
||||||
dropdown: "random",
|
dropdown: "random",
|
||||||
content: Random
|
content: Random
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Triangle",
|
||||||
|
routerLink: { name: "Triangle" }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Playground",
|
||||||
|
routerLink: { name: "Playground" }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
onOpenDropdown() {
|
|
||||||
console.log("onOpenDropdown");
|
|
||||||
},
|
|
||||||
onCloseDropdown() {
|
|
||||||
console.log("onCloseDropdown");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -12,7 +12,8 @@ import AOS from "aos";
|
|||||||
import "aos/dist/aos.css";
|
import "aos/dist/aos.css";
|
||||||
// Stripe Appbar Menu
|
// Stripe Appbar Menu
|
||||||
import VueStripeMenu from "vue-stripe-menu";
|
import VueStripeMenu from "vue-stripe-menu";
|
||||||
import "vue-stripe-menu/dist/vue-stripe-menu.css";
|
// import "vue-stripe-menu/dist/vue-stripe-menu.css";
|
||||||
|
import "./scss/appbar.scss"
|
||||||
|
|
||||||
Vue.config.productionTip = false;
|
Vue.config.productionTip = false;
|
||||||
Vue.component("video-background", VideoBackground);
|
Vue.component("video-background", VideoBackground);
|
||||||
|
|||||||
10
src/scss/appbar.scss
Normal file
10
src/scss/appbar.scss
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
@import "../scss/_variables.scss";
|
||||||
|
|
||||||
|
$vsm-menu-link-height: 35px !default;
|
||||||
|
$vsm-color: $mainColor !default;
|
||||||
|
$vsm-color-hover: $mainColor !default;
|
||||||
|
$vsm-media: 768px !default;
|
||||||
|
$vsm-menu-border-radius: 15px !default;
|
||||||
|
$vsm-menu-transform-content: 150px !default;
|
||||||
|
|
||||||
|
@import "~vue-stripe-menu/src/scss/index";
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
<v-container
|
<v-container
|
||||||
fill-height
|
fill-height
|
||||||
class="d-flex align-center"
|
class="d-flex align-center"
|
||||||
style="position: relative; z-index: 10;"
|
style="position: static; z-index: 10;"
|
||||||
>
|
>
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col class="d-flex justify-center">
|
<v-col class="d-flex justify-center">
|
||||||
|
|||||||
16
temp.md
16
temp.md
@@ -289,3 +289,19 @@ To control the width, you should set the `width` in the css in the components th
|
|||||||
|
|
||||||
To have two menu content sections top and bottom: use `content` and `secondary`.
|
To have two menu content sections top and bottom: use `content` and `secondary`.
|
||||||
To have two menu content sections side by side: create the full layout in the Vue component.
|
To have two menu content sections side by side: create the full layout in the Vue component.
|
||||||
|
|
||||||
|
<vsm-menu ref="header" :menu="menu" :screen-offset="25">
|
||||||
|
<template #default="data">
|
||||||
|
<component :is="data.item.content" class="content" />
|
||||||
|
<component :is="data.item.secondary" class="content--secondary" />
|
||||||
|
</template>
|
||||||
|
</vsm-menu>
|
||||||
|
|
||||||
|
Tried inserting the appbar natively into App.vue not as a component
|
||||||
|
Doesn't seem to like it when you move mouse into a `<router-view>`
|
||||||
|
Try: Inserting appbar into each page component.
|
||||||
|
|
||||||
|
Doesn't like `d-flex` on the parent
|
||||||
|
Doesn't like anything before (use slots?)
|
||||||
|
|
||||||
|
Likes being in a `<v-row>`
|
||||||
|
|||||||
Reference in New Issue
Block a user