sidebar with elements
This commit is contained in:
parent
27fea6f0ed
commit
fcfccb09f6
|
@ -17,6 +17,7 @@ declare module 'vue' {
|
||||||
IMdiHexagonOutline: typeof import('~icons/mdi/hexagon-outline')['default']
|
IMdiHexagonOutline: typeof import('~icons/mdi/hexagon-outline')['default']
|
||||||
IMdiHome: typeof import('~icons/mdi/home')['default']
|
IMdiHome: typeof import('~icons/mdi/home')['default']
|
||||||
IMdiMonitorScreenshot: typeof import('~icons/mdi/monitor-screenshot')['default']
|
IMdiMonitorScreenshot: typeof import('~icons/mdi/monitor-screenshot')['default']
|
||||||
|
IMdiPagePreviousOutline: typeof import('~icons/mdi/page-previous-outline')['default']
|
||||||
IMdiShop: typeof import('~icons/mdi/shop')['default']
|
IMdiShop: typeof import('~icons/mdi/shop')['default']
|
||||||
IMdiVideo3d: typeof import('~icons/mdi/video3d')['default']
|
IMdiVideo3d: typeof import('~icons/mdi/video3d')['default']
|
||||||
Item: typeof import('./src/components/Floorplan/item.vue')['default']
|
Item: typeof import('./src/components/Floorplan/item.vue')['default']
|
||||||
|
|
|
@ -73,10 +73,15 @@ watch(() => route.params.target, () => {
|
||||||
<TresShadowMaterial :opacity="0.2" />
|
<TresShadowMaterial :opacity="0.2" />
|
||||||
</TresMesh>
|
</TresMesh>
|
||||||
</TresCanvas>
|
</TresCanvas>
|
||||||
<RouterLink to="/promo/main/" class="homelink">
|
<div class="homelink">
|
||||||
|
<a href="#" @click.prevent="sidebar.open" v-if="!sidebar.is_open">
|
||||||
|
<i-mdi-page-previous-outline />
|
||||||
|
</a>
|
||||||
|
<RouterLink to="/promo/main/">
|
||||||
<i-mdi-home />
|
<i-mdi-home />
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<Sidebar />
|
<Sidebar />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -96,18 +101,25 @@ watch(() => route.params.target, () => {
|
||||||
filter: blur(10px);
|
filter: blur(10px);
|
||||||
transition: all 300ms linear;
|
transition: all 300ms linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
.homelink {
|
.homelink {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|
||||||
|
svg {
|
||||||
|
font-size: 3rem;
|
||||||
|
padding: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
margin-bottom: 2rem;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
border: 1px solid white;
|
border: 1px solid white;
|
||||||
background: white;
|
background: white;
|
||||||
padding: 0.5rem;
|
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
svg {
|
display: block;
|
||||||
font-size: 5rem;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
Loading…
Reference in New Issue