Skip to content

Commit f23706b

Browse files
author
Pooya Parsa
committed
update nav
1 parent 2a57647 commit f23706b

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

docs/components/nav.vue

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,15 @@
33

44
<b-navbar-toggle target="bd-main-nav"></b-navbar-toggle>
55

6-
<b-navbar-brand to="/" exact>Home</b-navbar-brand>
6+
<b-navbar-brand to="/" exact>
7+
<svg class="d-block" width="36" height="36" viewBox="0 0 612 612" xmlns="http://www.w3.org/2000/svg" focusable="false" fill="#fff">
8+
<path d="M510,8 C561.846401,8.16468012 603.83532,50.1535995 604,102 L604,510 C603.83532,561.846401 561.846401,603.83532 510,604 L102,604 C50.1535995,603.83532 8.16468012,561.846401 8,510 L8,102 C8.16468012,50.1535995 50.1535995,8.16468012 102,8 L510,8 L510,8 Z M510,0 L102,0 C45.9,6.21724894e-15 0,45.9 0,102 L0,510 C0,566.1 45.9,612 102,612 L510,612 C566.1,612 612,566.1 612,510 L612,102 C612,45.9 566.1,6.21724894e-15 510,0 Z" fill-rule="nonzero"></path>
9+
<text id="BV" font-family="Arial" font-size="350" font-weight="light" letter-spacing="2">
10+
<tspan x="72.0527344" y="446">B</tspan>
11+
<tspan x="307.5" y="446">V</tspan>
12+
</text>
13+
</svg>
14+
</b-navbar-brand>
715

816
<b-collapse isNav class="justify-content-between" id="bd-main-nav">
917

@@ -54,30 +62,30 @@
5462

5563
<style>
5664
.main-nav {
57-
box-shadow: 0 0 5px rgba(57, 70, 78, .2) !important;
58-
background: white;
59-
z-index: 1050;
60-
padding-bottom: 0;
65+
box-shadow: 0 0 5px rgba(57, 70, 78, 0.2) !important;
66+
background: white;
67+
z-index: 1050;
68+
padding-bottom: 0;
6169
}
6270
6371
.main-nav .nav-link,
6472
.main-nav .navbar-brand {
65-
padding-bottom: 10px;
66-
border-bottom: 3px solid transparent;
73+
padding-bottom: 10px;
74+
border-bottom: 3px solid transparent;
6775
}
6876
6977
.main-nav .nav-link.nuxt-link-active {
70-
border-bottom: 3px solid #4fc08d;
78+
border-bottom: 3px solid #4fc08d;
7179
}
7280
7381
.navbar-brand img {
74-
height: 1.5em;
75-
padding-right: .5em;
82+
height: 1.5em;
83+
padding-right: 0.5em;
7684
}
7785
</style>
7886

7987
<script>
80-
import { version } from '~/content';
88+
import { version } from "~/content";
8189
8290
export default {
8391
computed: {

0 commit comments

Comments
 (0)