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

Added Navbar to the Website. #336

Merged

Conversation

Vedant-Manjrekar
Copy link
Contributor

@Vedant-Manjrekar Vedant-Manjrekar commented Oct 3, 2022

🛠️ Fixes #106

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

✔️ Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Copy link

@accesslint accesslint bot left a 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">
Copy link

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">
Copy link

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.

@netlify
Copy link

netlify bot commented Oct 3, 2022

Deploy Preview for mogulchristmas ready!

Name Link
🔨 Latest commit 6974e58
🔍 Latest deploy log https://app.netlify.com/sites/mogulchristmas/deploys/634555af2534140009dddb19
😎 Deploy Preview https://deploy-preview-336--mogulchristmas.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Owner

@KendallDoesCoding KendallDoesCoding left a 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.:
    image
  • 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!)
    image
  • 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:
    image
  • 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

@KendallDoesCoding
Copy link
Owner

@TechStudent10 Feel free to share your thoughts on this as well.

@pull-request-size pull-request-size bot added size/XL and removed size/L labels Oct 4, 2022
Copy link

@accesslint accesslint bot left a 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
Copy link

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" />
Copy link

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">
Copy link

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
Copy link

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
Copy link

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
Copy link

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
Copy link

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.

@Vedant-Manjrekar
Copy link
Contributor Author

@KendallDoesCoding I made the changes you asked and submitted PR for the same, have a look.

@KendallDoesCoding
Copy link
Owner

@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.

Copy link
Owner

@KendallDoesCoding KendallDoesCoding left a 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.
Copy link

@accesslint accesslint bot left a 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" />
Copy link

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
Copy link

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" />
Copy link

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">
Copy link

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.

@Vedant-Manjrekar Vedant-Manjrekar requested review from KendallDoesCoding and removed request for TechStudent10 October 4, 2022 11:56
? (toggle1.style.backgroundImage = "url('./images/light.png')")
: (toggle1.style.backgroundImage = "url('./images/dark.png')");

isLight
Copy link

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
Copy link

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
Copy link

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
Copy link

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
Copy link

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.

Copy link
Owner

@KendallDoesCoding KendallDoesCoding left a 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.

@Vedant-Manjrekar
Copy link
Contributor Author

Its in left already, isn't it ?
Screenshot 2022-10-04 at 5 30 22 PM

@KendallDoesCoding
Copy link
Owner

Nono, not the menu, the main screen/page. I require darkmode there on the left.

@Vedant-Manjrekar
Copy link
Contributor Author

Vedant-Manjrekar commented Oct 4, 2022

Send screenshot of the change you want.

@TechStudent10
Copy link
Collaborator

I like the concept

@Vedant-Manjrekar
Copy link
Contributor Author

Send screenshot of the change you want.

@KendallDoesCoding why there is no response to it? Don't you want the changes?

@KendallDoesCoding
Copy link
Owner

Send screenshot of the change you want.

@KendallDoesCoding why there is no response to it? Don't you want the changes?

Sorry, I got busy with exams.

@KendallDoesCoding
Copy link
Owner

Send screenshot of the change you want.

I want the button on the home page, if possible.

image

Currently, users have to go to the menu, and toggle it on a off.

@KendallDoesCoding
Copy link
Owner

If not possible, then will go to merge.

@KendallDoesCoding
Copy link
Owner

I like the concept

Yup, same!!

@Vedant-Manjrekar
Copy link
Contributor Author

If not possible, then will go to merge.

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.

@KendallDoesCoding
Copy link
Owner

If not possible, then will go to merge.

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?

@KendallDoesCoding
Copy link
Owner

If not possible, then will go to merge.

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

@KendallDoesCoding
Copy link
Owner

@Vedant-Manjrekar Please do the changes as soon as possible. This is a very important feature that I require to add.

Copy link

@accesslint accesslint bot left a 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" />
Copy link

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" />
Copy link

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
Copy link

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.

@Vedant-Manjrekar
Copy link
Contributor Author

If not possible, then will go to merge.

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

Done

Copy link

@accesslint accesslint bot left a 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" />
Copy link

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" />
Copy link

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
Copy link

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.

@KendallDoesCoding
Copy link
Owner

Perfect! Thanks for your contribution.

@KendallDoesCoding KendallDoesCoding merged commit 820b6ca into KendallDoesCoding:main Oct 11, 2022
@KendallDoesCoding
Copy link
Owner

@all-contributors please add @Vedant-Manjrekar to the doc

@allcontributors
Copy link
Contributor

@KendallDoesCoding

I've put up a pull request to add @Vedant-Manjrekar! 🎉

@Vedant-Manjrekar
Copy link
Contributor Author

Perfect! Thanks for your contribution.

You are most welcome.

@Vedant-Manjrekar Vedant-Manjrekar deleted the vedant_navbar branch October 12, 2022 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move the Lyrics/Individual Song Page and Mogul Christmas Playlist button to the top right/left corner
3 participants