PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved
kaprinkey1

Sep 6th, 2023 05:07 PM

Hey DevDojo admin team,

How are y'all? It has been a while since I posted here. I have my altered wave application on production at this point. I posted the link below if anyone is interested in seeing the final product. I am not quite done with menu and other smaller items.

One thing I noticed is that after I switched our company server to Linux our site favicon stopped working. I thought maybe for some reason this line of code <link rel="icon" href="{{ setting('site.favicon') }}" type="image/x-icon"> was making the application default back to the default wave image. I removed this /wave/Wordpress.png and still had the favicon issue. I attached a screenshot to show the favicon is being used.

I am not sure how to resolve the issue. Originally, none of my images worked and I recreated the storage:link and they came back but not the favicon.

Shop 4 Charities

Screenshot (61).png

bobbyiliev

Sep 7th, 2023 05:52 AM

Hi there!

Good catch with the favicon, to fix this, edit the layout file at:

resources/views/themes/tailwind/layouts/app.blade.php

And update line 17 to:

<link rel="icon" href="{{ Voyager::image(setting('site.favicon', '/wave/favicon.png')) }}" type="image/x-icon">

If you are using the Tallstack theme change the path accordingly.

I will submit a PR with a fix for that soon.

kaprinkey1

Sep 7th, 2023 06:34 AM

Thank you Bobby.

bobbyiliev

Sep 7th, 2023 09:26 AM

No problem! Your project looks great btw! Well done!

kaprinkey1

Sep 7th, 2023 06:50 PM

Thank you. That code snippet worked and the favicon loaded immediately.

The site still needs some minor work done to it but the major alterations have taken place. For instance, I kept the menu layout but removed the authenticated menu since I do not need user management on a publishing website. I used Laravel Wave because of theme and how easy it is to continue using tailwind with the project.

Looking forward to Foundation.