diff --git a/angular.json b/angular.json index dd51ccc..9cc4e64 100644 --- a/angular.json +++ b/angular.json @@ -87,5 +87,8 @@ } } } + }, + "cli": { + "analytics": false } } diff --git a/src/app/app.css b/src/app/app.css index 84936b0..121c205 100644 --- a/src/app/app.css +++ b/src/app/app.css @@ -1,5 +1,6 @@ main { width: 100%; margin: 2rem; - display: flex; + display: flex; + justify-content: center; } diff --git a/src/app/pages/potd/potd.html b/src/app/pages/potd/potd.html index d9aaa80..dd5310d 100644 --- a/src/app/pages/potd/potd.html +++ b/src/app/pages/potd/potd.html @@ -1,4 +1,4 @@ -
+ + +
+
+ +
+

{{nasaPOTD()?.title}}

+

Copyright: {{nasaPOTD()?.copyright}}

+

+ {{nasaPOTD()?.explanation}} +

+ + +
+
+
diff --git a/src/app/pages/search/search.css b/src/app/pages/search/search.css index 416f8a7..6d2572b 100644 --- a/src/app/pages/search/search.css +++ b/src/app/pages/search/search.css @@ -1,5 +1,5 @@ .searchcontainer { - width:100vw; + width:80vw; display: flex; flex-direction: column; align-items: center; @@ -8,5 +8,7 @@ } .inputSearch { - margin-bottom: 1rem; + margin-bottom: 1rem; + display: flex; + flex-direction: row; } \ No newline at end of file diff --git a/src/app/pages/search/search.html b/src/app/pages/search/search.html index 0e37296..d1a3fde 100644 --- a/src/app/pages/search/search.html +++ b/src/app/pages/search/search.html @@ -24,26 +24,30 @@ +@if(searchResults()!==null && searchResults()!.collection.items.length==0){ +
+

No results for this search

+
+} - - +@if(searchResults()!==null && searchResults()!.collection.items.length!==0){
@@ -51,9 +55,9 @@ --> - } - } + }
+ } diff --git a/src/app/pages/video/video.html b/src/app/pages/video/video.html index f8e4bd5..431a331 100644 --- a/src/app/pages/video/video.html +++ b/src/app/pages/video/video.html @@ -1,5 +1,18 @@ -

-