8000 Added the new logo! · galaxyblur/nativescript-vue@649201b · GitHub
[go: up one dir, main page]

Skip to content

Commit 649201b

Browse files
committed
Added the new logo!
1 parent 8f3593b commit 649201b

File tree

1 file changed

+23
-16
lines changed

1 file changed

+23
-16
lines changed

docs/index.html

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,28 @@
2222
border-top: 1px solid #e2e2e2;
2323
}
2424

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;
2832
}
2933

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;
3239
}
3340

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;*/
3947
}
4048

4149
.sidebar span {
@@ -123,10 +131,9 @@
123131
({ registerComponent }) => {
124132
registerComponent('sidebar:start', {
125133
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">
130137
</div>
131138
`,
132139
})
@@ -140,15 +147,15 @@ <h1>{N}-Vue</h1>
140147
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
141148
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
142149
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
143-
150+
144151
ga('create', 'UA-106632905-1', 'auto');
145152
ga('send', 'pageview');
146153

147154
docute.router.afterEach((to) => {
148155
ga('set', 'page', to.fullPath)
149156
ga('send', 'pageview')
150157
})
151-
158+
152159
</script>
153160
</body>
154161
</html>

0 commit comments

Comments
 (0)
0