Skip to content

Commit

Permalink
feat: link to the homepage from an individual tweet
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepinho committed Apr 24, 2017
1 parent c3c59ac commit aa554a1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
Empty file.
4 changes: 3 additions & 1 deletion src/app/single-tweet/single-tweet.component.html
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
<app-tweet [tweet]="tweet" [loading]="loading"></app-tweet>
<app-tweet [tweet]="tweet" [loading]="loading">
<a routerLink="/" footer>READ MORE OF MY TWEETS! &mdash;&gt;</a>
</app-tweet>
5 changes: 5 additions & 0 deletions src/app/single-tweet/single-tweet.component.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[footer]
font-family: 'Gloria Hallelujah', sans-serif
font-size: 1.5rem
line-height: 2rem
text-decoration: none
2 changes: 1 addition & 1 deletion src/app/single-tweet/single-tweet.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { TwitterService } from '../twitter.service';
@Component({
selector: 'app-single-tweet',
templateUrl: './single-tweet.component.html',
styleUrls: ['./single-tweet.component.css']
styleUrls: ['./single-tweet.component.sass']
})
export class SingleTweetComponent implements OnInit, OnDestroy {
loading: boolean = false;
Expand Down
1 change: 1 addition & 0 deletions src/app/tweet/tweet.component.sass
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ footer

font-family: 'Roboto Mono', sans-serif
font-size: 0.7rem
line-height: 2em

.explanation
text-align: right
Expand Down

0 comments on commit aa554a1

Please sign in to comment.