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: missing favicon #261

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

forbesus
Copy link

ref

Copy link

changeset-bot bot commented Oct 22, 2024

⚠️ No Changeset found

Latest commit: 68dc472

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pcfreak30 pcfreak30 requested a review from ditorodev October 22, 2024 19:50
@@ -44,6 +45,7 @@ const url = "https://lumeweb.com";
<meta property="twitter:description" content={description} />
<meta property="twitter:image" content={opengraph.src} />
<link rel="sitemap" href="/sitemap-index.xml" />
<link rel="icon" type="image/x-icon" href={favicon}>
Copy link
Collaborator

Choose a reason for hiding this comment

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

We dont change the favicon depending on the route, so no need for the layout to receive the favicon, we can simply import it directly

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also please use this favicon https://github.com/LumeWeb/web/pull/262/files#diff-818aad2366db5a8bfcdaf1c251383895f1fdc612d487f62a064ae1c6f51fa485

Feel free to copy/paste the .svg file. (prefer to use svg file for the favicon)

@ditorodev
Copy link
Collaborator

Thanks for the contribution @forbesus! This looks good, small change tho, no need to be passing the favicon as a parameter as we dont plan to change the favicon

@forbesus
Copy link
Author

Hello @ditorodev Some browser like safari is not supporting svg favicon now

https://caniuse.com/link-icon-svg
image

Are you still okay with this?

@pcfreak30
Copy link
Member

@forbesus if you want me to merge/use this, please squash all commits into 1 conventional commit. There is too much noise here, and im not wanting 5-6 commits for this to be in the repo.

Kudos.

fix: add new file to .gitignore

fix: add favicon to all pages

fix: import favicon directly in layout

fix: remove unnecessary space
@forbesus forbesus force-pushed the fix/missing-favicon branch from bd04069 to 68dc472 Compare October 30, 2024 16:12
@forbesus
Copy link
Author

Hello @pcfreak30 I just squashed all commits

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.

3 participants