-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: main
Are you sure you want to change the base?
Conversation
color: white; | ||
text-align: center; | ||
margin-top: -50px; | ||
} |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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!
src/app/app.component.scss
Outdated
width: 100%; | ||
text-align: right; | ||
margin-top: -50px; | ||
<<<<<<< HEAD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merge residue
src/app/app.component.scss
Outdated
<<<<<<< HEAD | ||
font-size: 14px; | ||
margin: -10px; | ||
======= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merge residue
src/app/app.component.scss
Outdated
@@ -37,4 +49,5 @@ | |||
cursor:pointer; | |||
color:#e33e47; | |||
font-family: $font-fam; | |||
>>>>>>> 55d361138c1509cfaf9660405b770c48fc18c605 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merge residue
src/app/app.component.html
Outdated
</div> | ||
<ng-template #darkVersion> | ||
<div class="footer"> | ||
<p style="color: white">Version {{ getVersion() }}<p> |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
No description provided.