-
Notifications
You must be signed in to change notification settings - Fork 62
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
Added Navbar to the Website. #336
Added Navbar to the Website. #336
Conversation
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.
There are accessibility issues in these changes.
index.html
Outdated
<a href="/lyrics" id="lyrics-btn" class="btn">Lyrics/Individual Song Page</a> | ||
<a href="/you-may-like" class="btn" id="yml" target="_blank">You May Also Like</a> | ||
<h1 class="heading g-col-4">A very Mogul Christmas</h1> | ||
<button class="navbar-toggler toggler" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasNavbar" aria-controls="offcanvasNavbar"> |
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.
Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.
index.html
Outdated
<div id="header"> | ||
<div id="switch"> | ||
<label class="switch"> | ||
<input type="checkbox"> |
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.
Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.
✅ Deploy Preview for mogulchristmas ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
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.
Desktop View
- Toggle of Darkmode button as been removed
- The text "A Very Mogul Christmas" is not perfectly aligned in the center.. Due to this, when you scroll down you can see the text, but I don't want it to be this way, I like how the original looked.:
- I don't really like the color of the buttons on the top left, can you check this site out (https://cssgradient.io/gradient-backgrounds/) and make the buttons a color that goes well with Pink? (Don't make both of them the same color, but around the same will do, ie. one be pink and purple, one be pink and violet, it just should look different!)
- For the buttons in the top left corner, can you make the background a little transparent?
- For the Rate Song and Other Similar Projects button (keep the color as is, Violet and Orange (no need to make it Blue))
- For the top left button, if possible can you make the text -"If you liked this album, you may also like", if not then You May Like will do.
Mobile View
Looks amazing, just a few edits:
- The Lyrics/Individual Song Page button text background is green color, instead of white:
- For the second button, instead of You May Like can you make it If you liked this album, You May Also Like?
- The toggle for darkmode on mobile view, can be in the left hand corner.
- The menu should have the background color as is (located in the /images directory), and the toggle button to change between backgrounds.
That's all I can think of for now, please do these edits and will have to look again.
I know, it's a lot of edits, so please take your time.
Sorry for the inconvenience,
Kendall Does Coding
@TechStudent10 Feel free to share your thoughts on this as well. |
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.
There are accessibility issues in these changes.
>If you liked this album, You May Also Like</a | ||
> | ||
<h1 class="heading g-col-4">A very Mogul Christmas</h1> | ||
<button |
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.
Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.
index.html
Outdated
<div id="header"> | ||
<div id="switch"> | ||
<label class="switch"> | ||
<input type="checkbox" /> |
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.
Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.
</div> | ||
<!-- Loop button --> | ||
<div class="random-text-container"> | ||
<button class="loop-btn-style loop-false" id="loop-btn"> |
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.
Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.
@@ -46,6 +47,19 @@ const updateMode = () => { | |||
isLight | |||
? (slider.style.backgroundImage = "url('./images/light.png')") | |||
: (slider.style.backgroundImage = "url('./images/dark.png')"); | |||
|
|||
isLight |
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.
[ESLint] Expected an assignment or function call and instead saw an expression. (view)
Rule | Severity | Recommended |
---|---|---|
no-unused-expressions |
warn |
No |
References:
You can close this issue if no need to fix it. Learn more.
? (canvasBody.style.backgroundColor = "#fdd7d1") | ||
: (canvasBody.style.backgroundColor = "#dadada"); | ||
|
||
isLight |
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.
[ESLint] Expected an assignment or function call and instead saw an expression. (view)
Rule | Severity | Recommended |
---|---|---|
no-unused-expressions |
warn |
No |
References:
You can close this issue if no need to fix it. Learn more.
? (canvasHead.style.backgroundColor = "#fdd7d1") | ||
: (canvasHead.style.backgroundColor = "#dadada"); | ||
|
||
isLight |
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.
[ESLint] Expected an assignment or function call and instead saw an expression. (view)
Rule | Severity | Recommended |
---|---|---|
no-unused-expressions |
warn |
No |
References:
You can close this issue if no need to fix it. Learn more.
} | ||
else{ | ||
function loopWatcher(start, end, apiURL) { | ||
const waitTime = (parseInt(end) - parseInt(start) + 5) * 1000; //seconds |
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.
[ESLint] Missing radix parameter. (view)
Rule | Severity | Recommended |
---|---|---|
radix |
warn |
No |
References:
You can close this issue if no need to fix it. Learn more.
@KendallDoesCoding I made the changes you asked and submitted PR for the same, have a look. |
You haven't done everything yet, but looks much better. |
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.
Desktop View
- The text "A Very Mogul Christmas" on the first line is still not centered
- Darkmode is removed.
- I want the "Rate Song" and the "Other Similar Projects" not as buttons but just as text with color, like the current website is.
Mobile View
- In the menu, the text You May Like is bold, and the toggle changes it to normal, please make the text normal first.
- Please include darkmode in the left hand side.
Other then that, it seems to be good! The darkmode is very important.
…ll, Heading is centered and tweeks with font colors.
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.
There are accessibility issues in these changes.
<div id="header"> | ||
<div id="switch"> | ||
<label class="switch"> | ||
<input type="checkbox" /> |
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.
Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.
<button class="stop-btn-style" id="stop-btn" onClick="stopVideo()">Stop</button> | ||
</div> | ||
|
||
<button |
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.
Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.
index.html
Outdated
<div id="header"> | ||
<div id="switch1"> | ||
<label class="switch"> | ||
<input type="checkbox" /> |
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.
Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.
</div> | ||
<!-- Loop button --> | ||
<div class="random-text-container"> | ||
<button class="loop-btn-style loop-false" id="loop-btn"> |
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.
Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.
? (toggle1.style.backgroundImage = "url('./images/light.png')") | ||
: (toggle1.style.backgroundImage = "url('./images/dark.png')"); | ||
|
||
isLight |
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.
[ESLint] Expected an assignment or function call and instead saw an expression. (view)
Rule | Severity | Recommended |
---|---|---|
no-unused-expressions |
warn |
No |
References:
You can close this issue if no need to fix it. Learn more.
? (canvasBody.style.backgroundColor = "#fdd7d1") | ||
: (canvasBody.style.backgroundColor = "#dadada"); | ||
|
||
isLight |
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.
[ESLint] Expected an assignment or function call and instead saw an expression. (view)
Rule | Severity | Recommended |
---|---|---|
no-unused-expressions |
warn |
No |
References:
You can close this issue if no need to fix it. Learn more.
? (canvasHead.style.backgroundColor = "#fdd7d1") | ||
: (canvasHead.style.backgroundColor = "#dadada"); | ||
|
||
isLight |
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.
[ESLint] Expected an assignment or function call and instead saw an expression. (view)
Rule | Severity | Recommended |
---|---|---|
no-unused-expressions |
warn |
No |
References:
You can close this issue if no need to fix it. Learn more.
} | ||
else{ | ||
function loopWatcher(start, end, apiURL) { | ||
const waitTime = (parseInt(end) - parseInt(start) + 5) * 1000; //seconds |
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.
[ESLint] Missing radix parameter. (view)
Rule | Severity | Recommended |
---|---|---|
radix |
warn |
No |
References:
You can close this issue if no need to fix it. Learn more.
@@ -46,6 +50,23 @@ const updateMode = () => { | |||
isLight | |||
? (slider.style.backgroundImage = "url('./images/light.png')") | |||
: (slider.style.backgroundImage = "url('./images/dark.png')"); | |||
|
|||
isLight |
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.
[ESLint] Expected an assignment or function call and instead saw an expression. (view)
Rule | Severity | Recommended |
---|---|---|
no-unused-expressions |
warn |
No |
References:
You can close this issue if no need to fix it. Learn more.
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.
Perfect!
Please add the darkmode toggle button on Mobile View in the left and then I may change the color of the buttons, and we're good to go to merge.
Nono, not the menu, the main screen/page. I require darkmode there on the left. |
Send screenshot of the change you want. |
I like the concept |
@KendallDoesCoding why there is no response to it? Don't you want the changes? |
Sorry, I got busy with exams. |
If not possible, then will go to merge. |
Yup, same!! |
It's possible, but the thing is since website's name "a very mogul Christmas" is already a big and adding another button next to it might ruin the aesthetics of the navbar due to overload of things as there is not much space in mobile view, but if aesthetics aren't an issue I can add it as you want. |
It's not really a issue but should look decent, can you do it and share a screenshot, if that's not a problem? |
Waiting for a update on this @Vedant-Manjrekar |
@Vedant-Manjrekar Please do the changes as soon as possible. This is a very important feature that I require to add. |
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.
There are accessibility issues in these changes.
<div id="header1"> | ||
<div id="switch1"> | ||
<label class="switch"> | ||
<input type="checkbox" /> |
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.
Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.
<div id="header"> | ||
<div id="switch"> | ||
<label class="switch"> | ||
<input type="checkbox" /> |
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.
Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.
</div> | ||
</div> | ||
|
||
<button |
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.
Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.
Done |
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.
There are accessibility issues in these changes.
<div id="header1"> | ||
<div id="switch1"> | ||
<label class="switch"> | ||
<input type="checkbox" /> |
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.
Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.
<div id="header"> | ||
<div id="switch"> | ||
<label class="switch"> | ||
<input type="checkbox" /> |
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.
Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.
</div> | ||
</div> | ||
|
||
<button |
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.
Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.
Perfect! Thanks for your contribution. |
@all-contributors please add @Vedant-Manjrekar to the doc |
I've put up a pull request to add @Vedant-Manjrekar! 🎉 |
You are most welcome. |
🛠️ Fixes #106
✔️ Check List (Check all the applicable boxes)