43 lines
686 B
TypeScript
43 lines
686 B
TypeScript
import Header from "./components/Header";
|
|
import {
|
|
default as SideBar,
|
|
IMenuItem
|
|
} from "../shared/components/SideBar/SideBar";
|
|
const menu: IMenuItem[] = [
|
|
{
|
|
href: '#',
|
|
text: 'Start a session',
|
|
isActive: false,
|
|
icon: 'fa fa-bookmark'
|
|
},
|
|
{
|
|
href: '#',
|
|
text: 'Create something',
|
|
isActive: true,
|
|
icon: 'fa fa-book',
|
|
},
|
|
{
|
|
href: '/logout',
|
|
text: 'Logout',
|
|
icon: 'fa fa-gears',
|
|
isActive: false
|
|
},
|
|
{
|
|
href: '/logout',
|
|
text: 'Logout',
|
|
icon: 'fa fa-sign-out',
|
|
isActive: false
|
|
}
|
|
]
|
|
|
|
export default {
|
|
name: "app",
|
|
components: {
|
|
SideBar,
|
|
Header
|
|
},
|
|
data: () => ({
|
|
appName: "Home",
|
|
menu
|
|
})
|
|
};
|