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

Webfiles and Metatags: Upload and serve app icons #37

Open
leandrocp opened this issue Apr 17, 2023 · 0 comments
Open

Webfiles and Metatags: Upload and serve app icons #37

leandrocp opened this issue Apr 17, 2023 · 0 comments
Labels
area:seo Impacts SEO enhancement New feature or improvement roadmap Priority issues that will be released in the short term

Comments

@leandrocp
Copy link
Contributor

leandrocp commented Apr 17, 2023

Managing app icons may be complex and time consuming for end users. We want to 1) have a page on beacon admin to upload icons, and 2) generate the html tags for displaying such icons.

upload icons on beacon admin

Ideally users would upload a high-res .svg file that beacon can convert to:

  • 1 favicon.ico with 2 layers 32x32 and 16x16
  • apple-touch-icon.png size 180x180
  • icon-192.png size 192x192
  • icon-512.png size 512x512
  • optimized icon.svg

We may allow users uploading individual files, either to overwrite the generated one or because users may not have the high-res .svg file.

display icons

The expected tags are:

<link rel="icon" href="{site_prefix}/favicon.ico" sizes="any">
<link rel="icon" href="{site_prefix}/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="{site_prefix}/apple-touch-icon.png"><!-- 180×180 -->
<link rel="manifest" href="{site_prefix}/manifest.webmanifest">

Note that {site_prefix} has to be replaced with router(conn).__beacon_site_prefix__(site), see asset_path/2 for example.

Refs

Read https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs for the full explanation.

Extra:

@leandrocp leandrocp added the enhancement New feature or improvement label Apr 17, 2023
@AZholtkevych AZholtkevych changed the title App Icons Core -> Webfiles and Metatags: Serve app Icons Apr 27, 2023
@AZholtkevych AZholtkevych added enhancement New feature or improvement help wanted Looking for contributors and removed enhancement New feature or improvement labels Apr 27, 2023
@AZholtkevych AZholtkevych changed the title Core -> Webfiles and Metatags: Serve app Icons Core -> Webfiles and Metatags: Upload and serve app Icons Apr 27, 2023
@AZholtkevych AZholtkevych changed the title Core -> Webfiles and Metatags: Upload and serve app Icons Core & Admin -> Webfiles and Metatags: Upload and serve app Icons Apr 27, 2023
@AZholtkevych AZholtkevych changed the title Core & Admin -> Webfiles and Metatags: Upload and serve app Icons Core & Admin -> Webfiles and Metatags: Upload and serve app icons May 1, 2023
@AZholtkevych AZholtkevych changed the title Core & Admin -> Webfiles and Metatags: Upload and serve app icons Admin -> Webfiles and Metatags: Upload and serve app icons Aug 8, 2023
@AZholtkevych AZholtkevych transferred this issue from BeaconCMS/beacon Aug 9, 2023
@AZholtkevych AZholtkevych added this to the Version 0.1.0 milestone Sep 15, 2023
@leandrocp leandrocp removed the status in Beacon Oct 20, 2023
@leandrocp leandrocp moved this to Todo in Beacon Oct 20, 2023
@AZholtkevych AZholtkevych changed the title Admin -> Webfiles and Metatags: Upload and serve app icons Webfiles and Metatags: Upload and serve app icons Oct 23, 2023
@leandrocp leandrocp removed this from the v0.1.0 milestone Nov 1, 2023
@leandrocp leandrocp added roadmap Priority issues that will be released in the short term area:seo Impacts SEO area:content-ux Improve Content Creating experience and removed area:content-ux Improve Content Creating experience help wanted Looking for contributors labels Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:seo Impacts SEO enhancement New feature or improvement roadmap Priority issues that will be released in the short term
Projects
Status: Todo
Development

No branches or pull requests

2 participants