Skip to content

Commit caa2060

Browse files
committed
playground: add help menu
1 parent 4f915b5 commit caa2060

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

playground/nuxt.config.ts

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
import { mdiAccountMultiple, mdiViewDashboard, mdiHome, mdiFirebase, mdiTestTube, mdiLogin, mdiAccountPlus, mdiAccountCog } from '@mdi/js'
1+
import {
2+
mdiAccountCog,
3+
mdiAccountMultiple,
4+
mdiAccountPlus,
5+
mdiCommentQuote,
6+
mdiFirebase,
7+
mdiForum,
8+
mdiHome,
9+
mdiLifebuoy,
10+
mdiLogin,
11+
mdiTelevisionPlay,
12+
mdiTestTube,
13+
mdiViewDashboard,
14+
} from '@mdi/js'
215

316
export default defineNuxtConfig({
417
modules: ['../src/module'],
@@ -67,6 +80,40 @@ export default defineNuxtConfig({
6780
icon: mdiAccountCog,
6881
},
6982
],
83+
// Help menu
84+
altPrimary: [
85+
{
86+
title: '',
87+
links: [
88+
{
89+
text: 'Getting Started',
90+
href: '/signup/complete',
91+
icon: mdiTelevisionPlay,
92+
},
93+
],
94+
},
95+
{
96+
title: 'GET IN TOUCH',
97+
links: [
98+
{
99+
text: 'Join Our Community',
100+
href: '/community',
101+
icon: mdiForum,
102+
openInNew: true,
103+
},
104+
{
105+
text: 'Help & Support',
106+
to: '/support',
107+
icon: mdiLifebuoy,
108+
},
109+
{
110+
text: 'Leave A Review',
111+
to: '/review',
112+
icon: mdiCommentQuote,
113+
},
114+
],
115+
},
116+
],
70117
// Overflow menu
71118
altSecondary: [
72119
{

src/runtime/components/app/AppHelpMenu.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const nuxtifyConfig = useNuxtifyConfig()
3838
:target="link.href ? '_blank' : undefined"
3939
:rel="link.href ? 'noopener noreferrer' : undefined"
4040
exact
41+
slim
4142
color="secondary"
4243
>
4344
<template #prepend>

0 commit comments

Comments
 (0)