Skip to content

Commit

Permalink
Fix columns for related movies/actors and iphone icons
Browse files Browse the repository at this point in the history
  • Loading branch information
1dagranholm committed Mar 16, 2020
1 parent e3b37bc commit 875787e
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/app/view-actor/view-actor.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ <h3>Facts</h3>
<h2 *ngIf="movies[0]">Featured in</h2>
<div class="row mt-4">
<div class="wrapper" *ngFor="let m of movies; let i = index">
<div *ngIf="i < 12" class="col-2 text-center mb-5">
<div *ngIf="i < 12" class="col-6 col-xl-2 text-center mb-5">
<a [routerLink]="['/view-movie', m.id]">
<img
src="{{
Expand Down
2 changes: 1 addition & 1 deletion src/app/view-movie/view-movie.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ <h2>Facts</h2>
<h2 *ngIf="cast[0]">Featured actors</h2>
<div class="row mt-4">
<div class="wrapper" *ngFor="let c of cast; let i = index">
<div *ngIf="i < 12" class="col-2 text-center mb-5">
<div *ngIf="i < 12" class="col-6 col-xl-2 text-center mb-5">
<a [routerLink]="['/view-actor', c.id]">
<img
src="{{
Expand Down
42 changes: 31 additions & 11 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,33 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>U07AngularMovieApp</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<app-root></app-root>
</body>
<head>
<meta charset="utf-8" />
<title>The Movie App</title>
<base href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="The Movie App">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-startup-image" href="startup.png">
<link rel="apple-touch-icon" href="touch-icon-iphone.png" />
<link
rel="apple-touch-icon"
sizes="152x152"
href="touch-icon-iphone.png"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="touch-icon-iphone.png"
/>
<link
rel="apple-touch-icon"
sizes="167x167"
href="touch-icon-iphone.png"
/>
<link rel="icon" type="image/x-icon" href="favicon.ico" />
</head>
<body>
<app-root></app-root>
</body>
</html>
Binary file added src/startup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/touch-icon-iphone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 875787e

Please sign in to comment.