Skip to content

Commit

Permalink
Added link to open street map to the front page
Browse files Browse the repository at this point in the history
The more people know about it - the better it will become.
  • Loading branch information
anvaka committed Sep 23, 2017
1 parent c0d78d8 commit e467178
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@
<a class='about-link' href='#' @click.prevent='aboutVisible = true'>about...</a>
<a class='bold' href='http://github.com/anvaka/ngraph.path'>source code</a>
</div>
<div class='osm-note'>
Graph was extracted from <a href='https://www.openstreetmap.org' target='_blank'>www.openstreetmap.org</a>.
It is made available under <a href='https://opendatacommons.org/licenses/odbl/summary/' target='_blank'>ODbL</a>
</div>
<about v-if='aboutVisible' @close='aboutVisible = false'></about>
</div>
</template>
Expand Down Expand Up @@ -438,7 +442,26 @@ a.about-link {
}
}
.osm-note {
position: absolute;
color: #6285b7;
width: 290px;
background-color: hsla(215, 74%, 18%, 0.8);
font-size: 11px;
text-align: right;
top: 14px;
right: 14px;
a {
color: #6285b7;
}
}
@media (max-width: 800px) {
.osm-note {
// The screen size is too small for this. Visitors can read it
// in the about page.
display: none;
}
.progress {
font-size: 18px;
}
Expand Down

0 comments on commit e467178

Please sign in to comment.