forgot about the tags, local service urls
This commit is contained in:
parent
f977ffd65d
commit
3c221dc99b
@ -6,7 +6,7 @@ import { Observable } from 'rxjs';
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class ArticleService {
|
||||
private articleUrl = 'http://midaiganes.irw.ee/api/list/dad2ec5d';
|
||||
private articleUrl = 'https://proovitoo.lunasqu.ee/article.json';
|
||||
|
||||
constructor(private http: HttpClient) { }
|
||||
|
||||
|
@ -6,3 +6,8 @@
|
||||
</div>
|
||||
</ng-container>
|
||||
<div class="content-wrapper" [innerHTML]="article.body"></div>
|
||||
<div class="tags">
|
||||
<ul>
|
||||
<li *ngFor="let tag of article.tags">{{ tag }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -14,3 +14,11 @@
|
||||
left: 0
|
||||
width: 100%
|
||||
height: 100%
|
||||
|
||||
.tags li
|
||||
display: inline-block
|
||||
padding: 5px 10px
|
||||
color: #fff
|
||||
background: #ff57a2
|
||||
border-radius: 99px
|
||||
margin-right: 10px
|
||||
|
@ -8,7 +8,7 @@ import { Observable } from 'rxjs';
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class ListService {
|
||||
private listUrl = 'http://midaiganes.irw.ee/api/list?limit=100';
|
||||
private listUrl = 'https://proovitoo.lunasqu.ee/list.json';
|
||||
|
||||
constructor(private http: HttpClient) { }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user