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

fix: add meta tags #175

Merged
merged 2 commits into from
Apr 30, 2024
Merged

fix: add meta tags #175

merged 2 commits into from
Apr 30, 2024

Conversation

melniiv
Copy link
Contributor

@melniiv melniiv commented Apr 27, 2024

Description

When pasting the link to Miro, link is not displayed as a card. Og tags are not enough, but twitter tags should be provided to enable this feature.

Issues

Closes

DEV-XXX:

Related

Testing

Automated tests

Manual testing

Screenshots

Additional notes

@melniiv melniiv requested a review from nikomakela April 27, 2024 09:34
Copy link
Contributor

@nikomakela nikomakela left a comment

Choose a reason for hiding this comment

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

I think the content is set wrong

Comment on lines 56 to 59
{xTitle && <meta name="twitter:title" content={twitterTitle} />}
{xDescription && (
<meta name="twitter:description" content={twitterDescription} />
)}
Copy link
Contributor

Choose a reason for hiding this comment

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

Now I cannot follow. The xTitle is the twitterTitle or the title, but if it is defined, the twitterTitle is shown. Same with the description.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@melniiv melniiv merged commit c7ef71e into main Apr 30, 2024
2 checks passed
@melniiv melniiv deleted the page-meta branch April 30, 2024 10:50
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.

2 participants