VilnaCRM-Org / website

Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Add favicon #39

Open TuranC opened 2 months ago

TuranC commented 2 months ago

Description

We need to add a favicon to our website to enhance our branding and user recognition in browser tabs, bookmarks, and history. The favicon should be implemented using the best practices for React and Next.js frameworks to ensure compatibility and performance across all devices and browsers.

Tasks

  1. Prepare Favicon Files:

    • Create multiple favicon sizes to support various devices (e.g., 16x16, 32x32, 48x48, and 192x192 pixels).
    • Convert these images into ICO and PNG formats.
  2. Integrate Favicon with Next.js:

    • Place the favicon files in the public/ directory of the Next.js project.
    • Modify the Head component in the _app.js file or create a reusable custom Head component to include the favicon links.
    • Use the <link rel="icon"> tag to link to the favicon.ico for default browsers and <link rel="apple-touch-icon"> for Apple devices.
    • Include different sizes using the sizes attribute in the link tags for responsive handling.
  3. Testing Across Browsers:

    • Test the favicon implementation across different browsers (Chrome, Firefox, Safari, and Edge) to ensure it loads correctly.
    • Check compatibility on both desktop and mobile platforms.
  4. Documentation:

    • Update the project documentation to include steps and considerations taken for adding favicons.

Acceptance Criteria