-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
71 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,26 @@ | ||
<div class="col"> | ||
<hr> | ||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Labore distinctio, iste accusamus consequatur ut eligendi quos et tempore explicabo delectus, inventore voluptas corporis maiores incidunt illum. Voluptatem quo ab eveniet?</p> | ||
|
||
|
||
<div class="row"> | ||
<div *ngFor="let gif of resultados" | ||
class="col-md-4 col-sm-6"> | ||
<div class="card"> | ||
<img | ||
[src]="gif.images.downsized_medium.url" | ||
[alt]="gif.title" | ||
class="card-image-top | ||
"> | ||
<div class="card-body"> | ||
<div class="card-text"> | ||
<!-- {{ gif.title }} --> | ||
{{ gif.images.downsized_medium.url }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
import { Component } from '@angular/core'; | ||
import { GifsService } from '../sevices/gifs.service'; | ||
|
||
@Component({ | ||
selector: 'app-resultados', | ||
templateUrl: './resultados.component.html', | ||
styles: [ | ||
] | ||
}) | ||
export class ResultadosComponent implements OnInit { | ||
export class ResultadosComponent { | ||
|
||
constructor() { } | ||
|
||
ngOnInit(): void { | ||
get resultados(){ | ||
return this._gifsService.resultados; | ||
} | ||
|
||
constructor( private _gifsService:GifsService, ) { } | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,6 @@ export class SidebarComponent { | |
|
||
constructor( private _gifsService: GifsService, ){} | ||
|
||
|
||
|
||
} |