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

Remove <main> element from Avatar.vue #4

Merged
merged 2 commits into from Sep 21, 2021
Merged

Conversation

davatron5000
Copy link
Contributor

@davatron5000 davatron5000 commented Sep 20, 2021

Per MDN

A document mustn't have more than one <main> element that doesn't have the hidden attribute specified.

This PR removes the <main> element from Avatar.vue and brings it more inline with what the Vue 3 Boring Avatars variant is doing with a single <component is=""> component inside.

https://github.com/mujahidfa/vue-boring-avatars/blob/master/src/components/Avatar.vue#L1-L9

Per MDN, A document mustn't have more than one <main> element that doesn't have the hidden attribute specified.
@netlify
Copy link

netlify bot commented Sep 20, 2021

✔️ Deploy Preview for quirky-minsky-fde6e8 ready!

🔨 Explore the source changes: 402a708

🔍 Inspect the deploy log: https://app.netlify.com/sites/quirky-minsky-fde6e8/deploys/6148c602bee97a000718a235

😎 Browse the preview: https://deploy-preview-4--quirky-minsky-fde6e8.netlify.app/

@stonega stonega merged commit f19d588 into stonega:main Sep 21, 2021
@stonega
Copy link
Owner

stonega commented Sep 21, 2021

Thanks! Merged!

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.

None yet

2 participants