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

[Bug] Broken Icons #60

Open
GusrifarisYudaAlhafis opened this issue Aug 2, 2024 · 4 comments
Open

[Bug] Broken Icons #60

GusrifarisYudaAlhafis opened this issue Aug 2, 2024 · 4 comments

Comments

@GusrifarisYudaAlhafis
Copy link

Version

1.0.7

Reproduction link

https://demos.creative-tim.com/soft-ui-dashboard-pro/pages/dashboards/default.html

Operating System

Windows 10

Device

Asus ROG GL503VD

Browser & Version

Mozila Firefox latest

Steps to reproduce

  1. Go to the Live Preview of Soft UI Dashboard Free or Pro.
  2. The Icons of Font Awesome is broken.

What is expected?

Icons should be display

What is actually happening?

https://kit.fontawesome.com/42d5adcbca.js is forbidden


Solution

Additional comments

@laandrad
Copy link

laandrad commented Aug 2, 2024

I am experiencing the same issue. The social button icons are not displaying.

@sn0wm1ku
Copy link

sn0wm1ku commented Aug 5, 2024

Experiencing same issue. Drop Down icon become cross in square.

@Rottenland
Copy link

It problably means that the kit is expired somehow. Providing own FontAwesome handle or hosting FA yourself fixes the issue, so a fix would be to generate new kit to be expected by the live preview

@alexandru-paduraru
Copy link
Member

@GusrifarisYudaAlhafis @laandrad @sn0wm1ku @Rottenland thank you for pointing out. Font Awesome became a Paid service so the solution would be to have the Official Bootstrap Icons itegrated: https://icons.getbootstrap.com/

We will integrate them in the next release.

Till then:

  1. Replace the code from
    <script src="https://kit.fontawesome.com/42d5adcbca.js" crossorigin="anonymous"></script> with <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css">

  2. Replace the icons where you have them <i class="fas fa-search" aria-hidden="true"></i> with <i class="bi bi-search"></i>

More icons istallation can be found here: https://icons.getbootstrap.com/#install

@dragosct @marqbeniamin please note this for future updates and we also need to check other products and replace the icons.

Best,
Alex

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

No branches or pull requests

5 participants