Skip to content

Commit 0be53e2

Browse files
committed
feat(docs): use Bootstrap Icons in header
1 parent c3d6875 commit 0be53e2

File tree

1 file changed

+4
-62
lines changed

1 file changed

+4
-62
lines changed

docs/components/header.vue

Lines changed: 4 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -69,89 +69,31 @@
6969
target="_blank"
7070
:link-attrs="{ 'aria-label': 'GitHub' }"
7171
>
72-
<svg
73-
xmlns="http://www.w3.org/2000/svg"
74-
viewBox="0 0 32 32"
75-
width="32"
76-
height="32"
77-
class="navbar-nav-svg"
78-
focusable="false"
79-
role="img"
80-
>
81-
<title>GitHub</title>
82-
<g fill="currentColor">
83-
<path
84-
fill-rule="evenodd"
85-
clip-rule="evenodd"
86-
d="M16,0.4c-8.8,0-16,7.2-16,16c0,7.1,4.6,13.1,10.9,15.2 c0.8,0.1,1.1-0.3,1.1-0.8c0-0.4,0-1.4,0-2.7c-4.5,1-5.4-2.1-5.4-2.1c-0.7-1.8-1.8-2.3-1.8-2.3c-1.5-1,0.1-1,0.1-1 c1.6,0.1,2.5,1.6,2.5,1.6c1.4,2.4,3.7,1.7,4.7,1.3c0.1-1,0.6-1.7,1-2.1c-3.6-0.4-7.3-1.8-7.3-7.9c0-1.7,0.6-3.2,1.6-4.3 c-0.2-0.4-0.7-2,0.2-4.2c0,0,1.3-0.4,4.4,1.6c1.3-0.4,2.6-0.5,4-0.5c1.4,0,2.7,0.2,4,0.5C23.1,6.6,24.4,7,24.4,7 c0.9,2.2,0.3,3.8,0.2,4.2c1,1.1,1.6,2.5,1.6,4.3c0,6.1-3.7,7.5-7.3,7.9c0.6,0.5,1.1,1.5,1.1,3c0,2.1,0,3.9,0,4.4 c0,0.4,0.3,0.9,1.1,0.8C27.4,29.5,32,23.5,32,16.4C32,7.6,24.8,0.4,16,0.4z"
87-
/>
88-
</g>
89-
</svg>
72+
<b-icon icon="github"></b-icon>
9073
</b-nav-item>
9174

9275
<b-nav-item
9376
href="https://twitter.com/BootstrapVue"
9477
target="_blank"
9578
:link-attrs="{ 'aria-label': 'Twitter' }"
9679
>
97-
<svg
98-
xmlns="http://www.w3.org/2000/svg"
99-
viewBox="0 0 32 32"
100-
width="32"
101-
height="32"
102-
class="navbar-nav-svg"
103-
focusable="false"
104-
role="img"
105-
>
106-
<title>Twitter</title>
107-
<g fill="currentColor">
108-
<path d="M32,6.1c-1.2,0.5-2.4,0.9-3.8,1c1.4-0.8,2.4-2.1,2.9-3.6c-1.3,0.8-2.7,1.3-4.2,1.6C25.7,3.8,24,3,22.2,3 c-3.6,0-6.6,2.9-6.6,6.6c0,0.5,0.1,1,0.2,1.5C10.3,10.8,5.5,8.2,2.2,4.2c-0.6,1-0.9,2.1-0.9,3.3c0,2.3,1.2,4.3,2.9,5.5 c-1.1,0-2.1-0.3-3-0.8c0,0,0,0.1,0,0.1c0,3.2,2.3,5.8,5.3,6.4c-0.6,0.1-1.1,0.2-1.7,0.2c-0.4,0-0.8,0-1.2-0.1 c0.8,2.6,3.3,4.5,6.1,4.6c-2.2,1.8-5.1,2.8-8.2,2.8c-0.5,0-1.1,0-1.6-0.1C2.9,27.9,6.4,29,10.1,29c12.1,0,18.7-10,18.7-18.7 c0-0.3,0-0.6,0-0.8C30,8.5,31.1,7.4,32,6.1z" />
109-
</g>
110-
</svg>
80+
<b-icon icon="twitter"></b-icon>
11181
</b-nav-item>
11282

11383
<b-nav-item
11484
href="https://discord.gg/j2Mtcny"
11585
target="_blank"
11686
:link-attrs="{ 'aria-label': 'Discord' }"
11787
>
118-
<svg
119-
xmlns="http://www.w3.org/2000/svg"
120-
viewBox="0 0 32 32"
121-
width="32"
122-
height="32"
123-
class="navbar-nav-svg"
124-
focusable="false"
125-
role="img"
126-
>
127-
<title>Discord</title>
128-
<g fill="currentColor">
129-
<path d="M13.1,13.424a1.782,1.782,0,0,0,0,3.552A1.7,1.7,0,0,0,14.736,15.2,1.694,1.694,0,0,0,13.1,13.424Zm5.84,0A1.782,1.782,0,1,0,20.576,15.2,1.7,1.7,0,0,0,18.944,13.424Z" />
130-
<path d="M26.72,0H5.28A3.288,3.288,0,0,0,2,3.3V24.928a3.288,3.288,0,0,0,3.28,3.3H23.424l-.848-2.96,2.048,1.9L26.56,28.96,30,32V3.3A3.288,3.288,0,0,0,26.72,0ZM20.544,20.9s-.576-.688-1.056-1.3a5.049,5.049,0,0,0,2.9-1.9,9.156,9.156,0,0,1-1.84.944,10.531,10.531,0,0,1-2.32.688,11.208,11.208,0,0,1-4.144-.016,13.431,13.431,0,0,1-2.352-.688A9.6,9.6,0,0,1,9.9,17.68a4.976,4.976,0,0,0,2.8,1.888c-.48.608-1.072,1.328-1.072,1.328a5.8,5.8,0,0,1-4.88-2.432,21.426,21.426,0,0,1,2.3-9.328,7.912,7.912,0,0,1,4.5-1.68l.16.192A10.794,10.794,0,0,0,9.5,9.744s.352-.192.944-.464A12.015,12.015,0,0,1,14.08,8.272a1.576,1.576,0,0,1,.272-.032,13.538,13.538,0,0,1,3.232-.032A13.043,13.043,0,0,1,22.4,9.744a10.648,10.648,0,0,0-3.984-2.032l.224-.256a7.912,7.912,0,0,1,4.5,1.68,21.426,21.426,0,0,1,2.3,9.328A5.849,5.849,0,0,1,20.544,20.9Z" />
131-
</g>
132-
</svg>
88+
<b-icon icon="discord"></b-icon>
13389
</b-nav-item>
13490

13591
<b-nav-item
13692
href="https://opencollective.com/bootstrap-vue/"
13793
target="_blank"
13894
:link-attrs="{ 'aria-label': 'Open Collective' }"
13995
>
140-
<svg
141-
xmlns="http://www.w3.org/2000/svg"
142-
viewBox="0 0 40 41"
143-
width="32"
144-
height="32"
145-
class="navbar-nav-svg"
146-
fill="currentColor"
147-
fill-rule="evenodd"
148-
focusable="false"
149-
role="img"
150-
>
151-
<title>Open Collective</title>
152-
<path fill-opacity=".4" d="M32.8 21c0 2.4-.8 4.9-2 6.9l5.1 5.1c2.5-3.4 4.1-7.6 4.1-12 0-4.6-1.6-8.8-4-12.2L30.7 14c1.2 2 2 4.3 2 7z" />
153-
<path d="M20 33.7a12.8 12.8 0 0 1 0-25.6c2.6 0 5 .7 7 2.1L32 5a20 20 0 1 0 .1 31.9l-5-5.2a13 13 0 0 1-7 2z" />
154-
</svg>
96+
<b-icon icon="opencollective"></b-icon>
15597
</b-nav-item>
15698
</b-navbar-nav>
15799
</b-navbar>

0 commit comments

Comments
 (0)