Skip to content

Commit

Permalink
Merge pull request #115 from DJKnaeckebrot/main
Browse files Browse the repository at this point in the history
Fix Fontawesome import issues
  • Loading branch information
DJKnaeckebrot authored Jun 29, 2024
2 parents 713e1fd + 1448d0b commit 087e8c4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dbd-soft-ui",
"version": "1.7.23-beta.1",
"version": "1.7.24-beta.1",
"typings": "dbd-soft-ui.d.ts",
"author": {
"name": "iMidnight"
Expand Down
2 changes: 1 addition & 1 deletion views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<% if (stats.icon.startsWith('fa-')) { %>
<i class="<%= stats.icon %> text-lg opacity-10" aria-hidden="true"></i>
<% } else { %>
<i class="ni-<%= stats.icon %> text-lg opacity-10" aria-hidden="true"></i>
<i class="ni ni-<%= stats.icon %> text-lg opacity-10" aria-hidden="true"></i>
<% } %>
</div>
</div>
Expand Down
5 changes: 3 additions & 2 deletions views/partials/scripts.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,6 @@
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/select2.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/Assistants-Center/DBD-Soft-UI/views/src/js/core/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="https://kit.fontawesome.com/5c57f03f9b.js" crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/42d5adcbca.js" crossorigin="anonymous"></script>
<!-- <script src="https://kit.fontawesome.com/5c57f03f9b.js" crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/42d5adcbca.js" crossorigin="anonymous"></script> -->
<script src="https://kit.fontawesome.com/9d7cb957e0.js" crossorigin="anonymous"></script>

0 comments on commit 087e8c4

Please sign in to comment.