Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display app version and created Dockerfile #38

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

fsrodriguezm
Copy link
Collaborator

No description provided.

color: white;
text-align: center;
margin-top: -50px;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few things:

  • Setting colors like "color" for text or "background-color" for background doesnt allow for angular material to automatically change based on light vs dark mode, so this should generally be avoided.
  • To have the bottom bar dynamic change be handled by angular you can use a component, instead of a div https://material.angular.io/components/toolbar/overview. This is also a place where a toolbar may not be necessary, and just some color:grey text with the version number could work.
  • having commented out code is generally frowned upon

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I wanted to do a toolbar at first but now I think the site looks a lot cleaner with just tge version number at the bottom right corner. I cleaned up that comment part. ty!

width: 100%;
text-align: right;
margin-top: -50px;
<<<<<<< HEAD
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merge residue

<<<<<<< HEAD
font-size: 14px;
margin: -10px;
=======
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merge residue

@@ -37,4 +49,5 @@
cursor:pointer;
color:#e33e47;
font-family: $font-fam;
>>>>>>> 55d361138c1509cfaf9660405b770c48fc18c605
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merge residue

</div>
<ng-template #darkVersion>
<div class="footer">
<p style="color: white">Version {{ getVersion() }}<p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

convention: all styling should be done in scss files. Classes should then be applied to HTML tags

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. I will use a span tag instead.

Base automatically changed from master to main March 8, 2021 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants