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 / Render favicons dynamically #126

Merged
merged 1 commit into from
Feb 20, 2024
Merged

Conversation

langemike
Copy link

@langemike langemike commented Feb 19, 2024

This renders the favicon tags dynamically. This will make it less prone to errors.

Based on PR feedback: jwplayer#450 (comment)

@langemike langemike changed the title Feat / Render dynamic favicons Feat / Render favicons dynamicly Feb 19, 2024
Copy link

@royschut royschut left a comment

Choose a reason for hiding this comment

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

Great work Mike!

@@ -80,7 +89,7 @@ export default ({ mode, command }: ConfigEnv): UserConfigExport => {
minify: true,
inject: {
tags: [getGoogleVerificationTag(env), fontTags, getGtmTags(env)].flat(),
data: app,
data: { ...app, favicons },
Copy link

@royschut royschut Feb 20, 2024

Choose a reason for hiding this comment

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

Not sure, but maybe we want to add favicons to app in the OTTConfig typing?
Edit: I think we don't, but still want to mention it. :)

Copy link
Author

Choose a reason for hiding this comment

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

I think these 2 are conceptually two separate things. Also adding typing for the favicons (a lengthy string), doesn't feel right to me. I keep it as is ;)

@MelissaDTH MelissaDTH changed the title Feat / Render favicons dynamicly Feat / Render favicons dynamically Feb 20, 2024
Copy link
Member

@ChristiaanScheermeijer ChristiaanScheermeijer left a comment

Choose a reason for hiding this comment

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

Very nice @langemike!

@langemike langemike merged commit 0071df3 into feat/sprint-3 Feb 20, 2024
6 of 7 checks passed
@langemike langemike deleted the feat/dynamic-favicons branch February 20, 2024 12:12
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.

5 participants