mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-29 11:15:58 +00:00
added demo page with button redirection
(cherry picked from commit 37cc94aeda)
This commit is contained in:
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
const routesIndex = [
|
||||
{
|
||||
name: 'Demo',
|
||||
path: '/demo',
|
||||
component: () => import(/* webpackChunkName: "chunks/demo" */ '../views/Demo'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
]
|
||||
|
||||
export default routesIndex
|
||||
@@ -0,0 +1,34 @@
|
||||
<template>
|
||||
<AuthContentWrapper ref="auth" class="h-screen">
|
||||
<AuthContent :visible="true">
|
||||
<Headline
|
||||
title="You Are Nearly Here!"
|
||||
description="Just click on the button below."
|
||||
/>
|
||||
|
||||
<a :href="`${$store.getters.config.host}/sign-in`" target="_blank">
|
||||
<AuthButton
|
||||
class="mb-12 w-full justify-center md:w-min"
|
||||
icon="chevron-right"
|
||||
text="Visit Demo"
|
||||
/>
|
||||
</a>
|
||||
</AuthContent>
|
||||
</AuthContentWrapper>
|
||||
</template>
|
||||
<script>
|
||||
import AuthContentWrapper from '../components/Layout/AuthPages/AuthContentWrapper'
|
||||
import AuthContent from '../components/Layout/AuthPages/AuthContent'
|
||||
import AuthButton from '../components/UI/Buttons/AuthButton'
|
||||
import Headline from '../components/UI/Labels/LogoHeadline'
|
||||
|
||||
export default {
|
||||
name: 'Demo',
|
||||
components: {
|
||||
AuthContentWrapper,
|
||||
AuthContent,
|
||||
AuthButton,
|
||||
Headline,
|
||||
},
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user