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

feat: support rel attribute for social links #129

Merged
merged 4 commits into from May 16, 2023

Conversation

jdebarochez
Copy link
Contributor

Following issue #128, I'm proposing this implementation, up for debate. I was not finding a cleaner way to introduce this without a method.

Here's the generated output, with the me added:

<a href="https://m.webtoo.ls/@nuxt" rel="noopener noreferrer me" target="_blank" title="Mastodon" aria-label="Mastodon" data-v-c22758af="">{{ icon }}</a>

I've tested when socials has a rel property or not. Do you see other test to perform?

@codesandbox
Copy link

codesandbox bot commented Apr 20, 2023

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@nuxt-studio
Copy link

nuxt-studio bot commented Apr 20, 2023

Live Preview ready!

Name Edit Preview Latest Commit
Alpine Edit on Studio ↗︎ View Live Preview df5c4a9

@vercel
Copy link

vercel bot commented Apr 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
alpine ✅ Ready (Inspect) Visit Preview May 16, 2023 3:16pm

@jdebarochez jdebarochez changed the title feat: support rel attribute for social links #128 feat: support rel attribute for social links Apr 20, 2023
Copy link
Contributor

@Tahul Tahul left a comment

Choose a reason for hiding this comment

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

LGTM, thanks a lot! :)

@Tahul Tahul merged commit ffe2b70 into nuxt-themes:main May 16, 2023
2 checks passed
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