22
22
border-top : 1px solid # e2e2e2 ;
23
23
}
24
24
25
- .logo {
26
- width : 100% ;
27
- padding : 1em ;
25
+ .Logo {
26
+ display : flex;
27
+ justify-content : center;
28
+ align-items : center;
29
+ position : relative;
30
+ height : 200px ;
31
+ background-color : # 35495e ;
28
32
}
29
33
30
- .logo img {
31
- width : 100% ;
34
+ .Logo img {
35
+ width : 200px ;
36
+ height : auto;
37
+ position : absolute;
38
+ transition : opacity .5s ease-in-out;
32
39
}
33
40
34
- .logo h1 {
35
- text-align : center;
36
- margin : 0 ;
37
- color : # 99a9bf ;
38
- font-family : 'Roboto Mono' , monospace;
41
+ .Logo : hover img : last-child {
42
+ opacity : 0 ;
43
+ }
44
+
45
+ .sidebar {
46
+ /*background-color: #35495e;*/
39
47
}
40
48
41
49
.sidebar span {
123
131
( { registerComponent } ) => {
124
132
registerComponent ( 'sidebar:start' , {
125
133
template : `
126
- <div class="logo" router-link="/">
127
- <img src="https://raw.githubusercontent.com/rigor789/nativescript-vue/master/logo.png"/>
128
-
129
- <h1>{N}-Vue</h1>
134
+ <div class="Logo" router-link="/">
135
+ <img src="https://raw.githubusercontent.com/rigor789/nativescript-vue-artwork/master/NativeScript-Vue-Green-White.png" alt="NativeScript-Vue">
136
+ <img src="https://raw.githubusercontent.com/rigor789/nativescript-vue-artwork/master/NativeScript-Vue-White-Green.png" alt="NativeScript-Vue">
130
137
</div>
131
138
` ,
132
139
} )
@@ -140,15 +147,15 @@ <h1>{N}-Vue</h1>
140
147
( i [ r ] . q = i [ r ] . q || [ ] ) . push ( arguments ) } , i [ r ] . l = 1 * new Date ( ) ; a = s . createElement ( o ) ,
141
148
m = s . getElementsByTagName ( o ) [ 0 ] ; a . async = 1 ; a . src = g ; m . parentNode . insertBefore ( a , m )
142
149
} ) ( window , document , 'script' , 'https://www.google-analytics.com/analytics.js' , 'ga' ) ;
143
-
150
+
144
151
ga ( 'create' , 'UA-106632905-1' , 'auto' ) ;
145
152
ga ( 'send' , 'pageview' ) ;
146
153
147
154
docute . router . afterEach ( ( to ) => {
148
155
ga ( 'set' , 'page' , to . fullPath )
149
156
ga ( 'send' , 'pageview' )
150
157
} )
151
-
158
+
152
159
</ script >
153
160
</ body >
154
161
</ html >
0 commit comments