forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHeaderMenu.vue
More file actions
190 lines (157 loc) · 6.51 KB
/
HeaderMenu.vue
File metadata and controls
190 lines (157 loc) · 6.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<template lang="pug">
div
q-btn-dropdown.text-bold(:align="align", flat, no-caps, stretch, :label="`v${$q.version}`", auto-close)
q-list(dense padding)
q-item-label(header) Latest (v{{ $q.version }})
q-item(clickable, to="/start/release-notes")
q-item-section.text-teal(avatar)
q-icon(:name="mdiClipboardText")
q-item-section Release notes
q-item(clickable, tag="a", href="https://github.com/quasarframework/quasar/issues", target="_blank", rel="noopener")
q-item-section.text-purple(avatar)
q-icon(:name="mdiBugCheck")
q-item-section Report a bug
q-item(clickable, tag="a", href="https://github.com/quasarframework/quasar", target="_blank", rel="noopener")
q-item-section(avatar)
q-icon(:name="fabGithub")
q-item-section Repository
q-separator.q-mb-sm.q-mt-md
q-item-label(header) Older Releases
q-item(
v-for="version in ['17', '16', '15', '14', '13']"
:key="version"
clickable
tag="a"
:href="`https://v0-${version}.quasar-framework.org/`"
target="_blank"
rel="noopener"
)
q-item-section {{ `v0.${version}` }} docs
q-btn-dropdown.text-bold(:align="align", flat, no-caps, stretch, label="Tools", auto-close)
q-list(dense padding)
q-item(clickable, tag="a", href="https://awesome.quasar.dev", rel="noopener", target="_blank")
q-item-section.text-yellow-9(avatar)
q-icon(:name="mdiFlare")
q-item-section Awesome List
q-item(to="/app-extensions/discover")
q-item-section.text-primary(avatar)
q-icon(:name="mdiFilePlus")
q-item-section App Extensions
q-item-label.q-mt-md(header) Helpers
q-item(clickable, to="/style/theme-builder")
q-item-section.text-teal(avatar)
q-icon(:name="mdiPaletteSwatch")
q-item-section Theme Builder
q-item(clickable, to="/style/dark-mode")
q-item-section(avatar)
q-icon(:name="mdiInvertColors")
q-item-section
.row.no-wrap.items-center
span Dark Mode
q-badge.q-ml-sm new
q-item(clickable, tag="a", href="/layout-builder", target="_blank")
q-item-section.text-primary(avatar)
q-icon(:name="mdiViewDashboard")
q-item-section Layout Builder
q-item(clickable, to="/layout/gallery")
q-item-section.text-grey-8(avatar)
q-icon(:name="mdiShoppingMusic")
q-item-section Layout Gallery
q-item(clickable, to="/layout/grid/flex-playground")
q-item-section.text-orange(avatar)
q-icon(:name="fasFlask")
q-item-section
.row.no-wrap.items-center
span Flex Playground
q-item-label.q-mt-md(header) Playground
q-item(clickable, tag="a", href="https://codepen.quasar.dev", target="_blank", rel="noopener")
q-item-section.text-brown-5(avatar)
q-icon(:name="fabCodepen")
q-item-section Codepen
q-item(clickable, tag="a", href="https://jsfiddle.quasar.dev", target="_blank", rel="noopener")
q-item-section.text-primary(avatar)
q-icon(:name="fabJsfiddle")
q-item-section jsFiddle
q-item(clickable, tag="a", href="https://codesandbox.quasar.dev", target="_blank", rel="noopener")
q-item-section.text-black(avatar)
q-icon(:name="fasCubes")
q-item-section Codesandbox
q-btn-dropdown.text-bold(:align="align", flat, no-caps, stretch, label="Support", auto-close)
q-list(dense padding)
q-item(clickable, tag="a", href="https://chat.quasar.dev", rel="noopener", target="_blank")
q-item-section.text-primary(avatar)
q-icon(:name="mdiChat")
q-item-section Discord Chat
q-item(clickable, tag="a", href="https://forum.quasar.dev/", rel="noopener", target="_blank")
q-item-section.text-secondary(avatar)
q-icon(:name="mdiForum")
q-item-section Forum
q-item(clickable, tag="a", href="https://github.com/quasarframework", rel="noopener", target="_blank")
q-item-section(avatar)
q-icon(:name="fabGithub")
q-item-section Github Repositories
q-item-label.q-mt-md(header) Social
q-item(clickable, tag="a", href="https://blog.quasar.dev", rel="noopener", target="_blank")
q-item-section.text-primary(avatar)
q-icon(:name="mdiBlogger")
q-item-section Blog
q-item(clickable, tag="a", href="https://forum.quasar.dev/category/1/announcements", target="_blank", rel="noopener")
q-item-section.text-purple(avatar)
q-icon(:name="mdiBullhorn")
q-item-section Announcements
q-item(clickable, tag="a", href="https://twitter.quasar.dev", target="_blank", rel="noopener")
q-item-section.text-blue(avatar)
q-icon(:name="fabTwitter")
q-item-section Twitter
q-item(clickable, tag="a", href="https://facebook.quasar.dev", target="_blank", rel="noopener")
q-item-section.text-primary(avatar)
q-icon(:name="fabFacebook")
q-item-section
.row.no-wrap.items-center
span Facebook
q-item-label.q-mt-md(header) Donate
q-item(clickable, tag="a", href="https://donate.quasar.dev", target="_blank", rel="noopener")
q-item-section(avatar)
q-icon(:name="mdiCharity")
q-item-section Github Sponsorship
</template>
<script>
import {
fabGithub, fasFlask, fabCodepen, fabJsfiddle,
fasCubes, fabTwitter, fabFacebook
} from '@quasar/extras/fontawesome-v5'
import {
mdiBlogger, mdiForum, mdiChat, mdiBullhorn,
mdiViewDashboard, mdiShoppingMusic, mdiClipboardText,
mdiBugCheck, mdiFlare, mdiFilePlus, mdiPaletteSwatch,
mdiInvertColors, mdiCharity
} from '@quasar/extras/mdi-v4'
export default {
name: 'HeaderMenu',
props: {
align: String
},
created () {
this.fabGithub = fabGithub
this.fasFlask = fasFlask
this.fabCodepen = fabCodepen
this.fabJsfiddle = fabJsfiddle
this.fasCubes = fasCubes
this.fabTwitter = fabTwitter
this.fabFacebook = fabFacebook
this.mdiBlogger = mdiBlogger
this.mdiChat = mdiChat
this.mdiForum = mdiForum
this.mdiBullhorn = mdiBullhorn
this.mdiViewDashboard = mdiViewDashboard
this.mdiShoppingMusic = mdiShoppingMusic
this.mdiClipboardText = mdiClipboardText
this.mdiBugCheck = mdiBugCheck
this.mdiFlare = mdiFlare
this.mdiFilePlus = mdiFilePlus
this.mdiPaletteSwatch = mdiPaletteSwatch
this.mdiInvertColors = mdiInvertColors
this.mdiCharity = mdiCharity
}
}
</script>