Skip to content

Commit

Permalink
added preview image for github
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristoGrab committed Feb 16, 2023
1 parent 0f91909 commit 2bee34b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
Binary file added public/Solarium-0.9.2-main.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/earth-2.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/InfoCard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const InfoCard = () => {
<div className="infocard-title">
{planetStats.name}
<button className="infocard-back-button"
onClick={returnToMainMenu}>System View</button>
onClick={returnToMainMenu}>Back</button>
</div>
<div className="infocard-field">
<span className="bold">Average Orbital Distance:</span> {convertKmToAU(planetStats.distance)} AU
Expand Down
2 changes: 1 addition & 1 deletion src/components/Navigation/Navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
color: #e8ab8c;
font-size: 1.3em;
font-weight: bold;
margin-right: clamp(20px, 50px, 50px);
margin-right: clamp(20px, 10%, 50px);
transition: 200ms all ease-out;
animation: 2s navbar-slide linear;
font-family: 'SpaceFont';
Expand Down
9 changes: 6 additions & 3 deletions src/components/SolarSystem/Size.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,22 @@
height: calc(58232vw / 4000);
width: calc(58232vw / 4000);
background: var(--saturn-background);
transform: rotate(225deg)
transform: rotate(225deg);
box-shadow: inset 8px -3px 20px 10px black;
}

.uranus-size {
height: calc(25362vw / 4000);
width: calc(25362vw / 4000);
background: var(--uranus-background);
transform: rotate(225deg)
transform: rotate(225deg);
box-shadow: inset 5px -5px 19px 5px black;
}

.neptune-size {
height: calc(24622vw / 4000);
width: calc(24622vw / 4000);
background: var(--neptune-background);
transform: rotate(225deg)
transform: rotate(225deg);
box-shadow: inset 5px -5px 19px 5px black;
}

0 comments on commit 2bee34b

Please sign in to comment.