Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bfd8d9a

Browse filesBrowse files
author
Evan You
committed
add some links
1 parent 88f4ff2 commit bfd8d9a
Copy full SHA for bfd8d9a

File tree

Expand file treeCollapse file tree

3 files changed

+11
-6
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+11
-6
lines changed

‎css/style.css

Copy file name to clipboardExpand all lines: css/style.css
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,14 @@ a {
4848
}
4949
#nav {
5050
padding: 10px 10px 10px 40px;
51-
background-color: #333;
52-
color: #fff;
51+
border-top: 2px solid #f60;
5352
}
5453
#nav a {
55-
color: #fff;
5654
margin-right: 10px;
5755
}
56+
#nav .source {
57+
float: right;
58+
}
5859
.story {
5960
padding: 2px 0 2px 40px;
6061
position: relative;

‎css/style.styl

Copy file name to clipboardExpand all lines: css/style.styl
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ a
4848

4949
#nav
5050
padding 10px 10px 10px 40px
51-
background-color #333
52-
color #fff
51+
border-top 2px solid #f60
5352
a
54-
color #fff
5553
margin-right 10px
54+
.source
55+
float right
5656

5757
.story
5858
padding 2px 0 2px 40px

‎index.html

Copy file name to clipboardExpand all lines: index.html
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ <h1><a href="#1">Hacker News</a></h1>
7272
<div id="nav" v-show="stories.length > 0">
7373
<a v-if="page > 1" href="#{{page - 1}}">&lt; prev</a>
7474
<a v-if="page < 4" href="#{{page + 1}}">more...</a>
75+
<span class="source">
76+
Built with <a href="http://vuejs.org" target="_blank">Vue.js</a> |
77+
<a href="https://github.com/yyx990803/vue-hackernews" target="_blank">Source</a>
78+
</span>
7579
</div>
7680

7781
<!-- comments sidebar -->

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.