Skip to content

Commit 171a844

Browse files
committed
copyright validated, css background updated
1 parent 3fd3c6b commit 171a844

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/app/app.component.scss

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.bg-dark {
2+
background-color:black;
3+
background-image:
4+
radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 20px),
5+
radial-gradient(white, rgba(255,255,255,.08) 1px, transparent 25px),
6+
radial-gradient(white, rgba(255,255,255,.05) 2px, transparent 30px),
7+
radial-gradient(rgba(255,255,255,.4), rgba(255,255,255,.02) 2px, transparent 35px);
8+
background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px;
9+
background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
10+
}

src/app/components/home/home.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h1 class="display-5">{{nasaResponse?.title}}</h1>
1717
<div class="description mt-3">
1818
<p>{{nasaResponse?.explanation}}</p>
1919
</div>
20-
<div class="credits d-flex justify-content-between mt-3">
20+
<div *ngIf="nasaResponse?.copyright" class="credits d-flex justify-content-between mt-3">
2121
<p style="font-style: italic;
2222
color: #bebebe">Copyright: {{nasaResponse?.copyright}}</p>
2323
</div>

0 commit comments

Comments
 (0)