1
1
<script setup lang="ts">
2
+ import { RouterLink } from ' vue-router'
2
3
import { useColorModes } from ' @coreui/vue/src'
3
4
4
5
const props = defineProps ({
@@ -12,16 +13,60 @@ const { colorMode, setColorMode } = useColorModes('coreui-vue-docs-theme')
12
13
<CHeaderToggler class =" ms-md-3" @click =" $emit('toggle-sidebar')" >
13
14
<CIcon icon =" cil-menu" size =" lg" />
14
15
</CHeaderToggler >
15
- <div class =" docs-search" id =" docsearch" ></div >
16
- <CHeaderNav class =" ms-auto" >
16
+ <CHeaderBrand
17
+ :as =" RouterLink"
18
+ class =" d-lg-none"
19
+ to =" /"
20
+ aria-label =" Go to CoreUI for Vue.js documentation"
21
+ >
22
+ <svg xmlns =" http://www.w3.org/2000/svg" viewBox =" 0 0 102 116" height =" 32" >
23
+ <g fill =" var(--cui-body-color, currentColor)" fillRule =" nonzero" >
24
+ <path
25
+ d =" M96 25.091 57 2.574a12 12 0 0 0-12 0L6 25.091a12.034 12.034 0 0 0-6 10.392v45.034a12.033 12.033 0 0 0 6 10.392l39 22.517a12 12 0 0 0 12 0l39-22.517a12.033 12.033 0 0 0 6-10.392V35.483a12.034 12.034 0 0 0-6-10.392Zm-2 55.426a4 4 0 0 1-2 3.464l-39 22.516a4 4 0 0 1-4 0L10 83.981a4 4 0 0 1-2-3.464V35.483a4 4 0 0 1 2-3.464L49 9.502a4 4 0 0 1 4 0L92 32.02a4 4 0 0 1 2 3.464v45.034Z"
26
+ ></path >
27
+ <path
28
+ d =" M74.022 71.038h-2.866a4 4 0 0 0-1.925.493L51.95 81.017 32 69.498V46.521l19.95-11.519 17.29 9.455a4 4 0 0 0 1.919.49h2.863a2 2 0 0 0 2-2v-2.711a2 2 0 0 0-1.04-1.755L55.793 27.985a8.04 8.04 0 0 0-7.843.09L28 39.593a8.024 8.024 0 0 0-4 6.929v22.976a8 8 0 0 0 4 6.928l19.95 11.518a8.042 8.042 0 0 0 7.843.088l19.19-10.53a2 2 0 0 0 1.038-1.754v-2.71a2 2 0 0 0-2-2Z"
29
+ ></path >
30
+ </g >
31
+ </svg >
32
+ </CHeaderBrand >
33
+ <CHeaderNav class =" me-auto d-none d-xl-flex" role =" {undefined}" >
34
+ <CNavItem
35
+ href =" https://coreui.io/pricing/?framework=vue&src=react-docs&cta=coreui-header-pricing"
36
+ >
37
+ Pricing
38
+ </CNavItem >
39
+ <CNavItem
40
+ href =" https://coreui.requestshub.com/p/coreui-for-vuejs/roadmap"
41
+ target =" blank"
42
+ rel =" noopener noreferrer"
43
+ >
44
+ Roadmap
45
+ <CIcon icon =" cil-external-link" class =" ms-2" size =" sm" />
46
+ </CNavItem >
47
+ </CHeaderNav >
48
+ <div class =" docs-search ms-auto" id =" docsearch" ></div >
49
+ <CHeaderNav class =" ms-2" >
17
50
<CNavItem href =" https://github.com/coreui" >
18
51
<CIcon icon =" cib-github" size =" xl" />
19
52
</CNavItem >
20
- <CNavItem href =" https://twitter.com/core_ui" >
21
- <CIcon icon =" cib-twitter" size =" xl" />
53
+ <CNavItem href =" https://x.com/core_ui" >
54
+ <CIconSvg size =" xl" >
55
+ <svg xmlns =" http://www.w3.org/2000/svg" viewBox =" 0 0 300 271" >
56
+ <path
57
+ d =" M236 0h46L181 115l118 156h-92.6l-72.5-94.8-83 94.8h-46l107-123L-1.1 0h94.9l65.5 86.6zm-16.1 244h25.5L80.4 26H53z"
58
+ ></path >
59
+ </svg >
60
+ </CIconSvg >
22
61
</CNavItem >
23
- <CNavItem href =" https://opencollective.com/coreui" >
24
- <CIcon icon =" cib-open-collective" size =" xl" />
62
+ <CNavItem href =" https://discord.gg/pQRWe5XdGm" >
63
+ <CIconSvg size =" xl" >
64
+ <svg xmlns =" http://www.w3.org/2000/svg" fill =" currentColor" viewBox =" 0 0 16 16" >
65
+ <path
66
+ d =" M13.545 2.907a13.2 13.2 0 0 0-3.257-1.011.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.2 12.2 0 0 0-3.658 0 8 8 0 0 0-.412-.833.05.05 0 0 0-.052-.025c-1.125.194-2.22.534-3.257 1.011a.04.04 0 0 0-.021.018C.356 6.024-.213 9.047.066 12.032q.003.022.021.037a13.3 13.3 0 0 0 3.995 2.02.05.05 0 0 0 .056-.019q.463-.63.818-1.329a.05.05 0 0 0-.01-.059l-.018-.011a9 9 0 0 1-1.248-.595.05.05 0 0 1-.02-.066l.015-.019q.127-.095.248-.195a.05.05 0 0 1 .051-.007c2.619 1.196 5.454 1.196 8.041 0a.05.05 0 0 1 .053.007q.121.1.248.195a.05.05 0 0 1-.004.085 8 8 0 0 1-1.249.594.05.05 0 0 0-.03.03.05.05 0 0 0 .003.041c.24.465.515.909.817 1.329a.05.05 0 0 0 .056.019 13.2 13.2 0 0 0 4.001-2.02.05.05 0 0 0 .021-.037c.334-3.451-.559-6.449-2.366-9.106a.03.03 0 0 0-.02-.019m-8.198 7.307c-.789 0-1.438-.724-1.438-1.612s.637-1.613 1.438-1.613c.807 0 1.45.73 1.438 1.613 0 .888-.637 1.612-1.438 1.612m5.316 0c-.788 0-1.438-.724-1.438-1.612s.637-1.613 1.438-1.613c.807 0 1.451.73 1.438 1.613 0 .888-.631 1.612-1.438 1.612"
67
+ ></path >
68
+ </svg >
69
+ </CIconSvg >
25
70
</CNavItem >
26
71
<li class =" nav-item py-2 py-lg-1" >
27
72
<div class =" vr d-none d-lg-flex h-100 mx-lg-2 text-body text-opacity-75" ></div >
@@ -68,30 +113,21 @@ const { colorMode, setColorMode } = useColorModes('coreui-vue-docs-theme')
68
113
<hr class =" d-lg-none my-2 text-white-50" />
69
114
</li >
70
115
</CHeaderNav >
71
- <CButton
72
- class =" d-lg-inline-block my-2 my-md-0 ms-md-3"
73
- color =" primary"
74
- as =" a"
75
- href =" https://coreui.io/vue/docs/getting-started/introduction.html"
76
- variant =" outline"
77
- >
78
- <CIcon icon =" cil-cloud-download" /> Download
79
- </CButton >
80
116
<CButton
81
117
class =" d-lg-inline-block my-2 my-md-0 ms-md-3"
82
118
color =" primary"
83
119
href =" https://coreui.io/about/services/?docs=coreui-header-button"
84
120
variant =" outline"
85
121
>
86
- <CIcon class =" me-2 " icon =" cil-handshake" /> Hire Us
122
+ <CIcon class =" me-xxl-2 d-none d-xxl-inline " icon =" cil-handshake" /> Hire Us
87
123
</CButton >
88
124
<CButton
89
125
class =" d-lg-inline-block my-2 my-md-0 ms-md-3"
90
126
color =" primary"
91
127
as =" a"
92
128
href =" https://coreui.io/pricing/?framework=vue&docs=coreui-header-button"
93
129
>
94
- Get CoreUI PRO
130
+ Get CoreUI PRO< span className = " d-none d-xxl-inline " > all-access</ span > →
95
131
</CButton >
96
132
</CHeader >
97
133
</template >
0 commit comments