Switched Font Awesome from JS to CSS

Decreases loading time
This commit is contained in:
Julian Prieber 2023-07-11 13:34:47 +02:00
parent 8de9d471ba
commit 6481770006
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
.share-icon {
padding: 0px 8px 3.5px 0px;
padding: 0px 5px 0.5px 0px;
vertical-align: middle;
width: 20px;
height: 20px;

View File

@ -112,7 +112,7 @@ if($customBackgroundExists == true){
<!--#### END Meta Tags social media preview images ####-->
<!-- Custom icons font-awesome -->
<script>{!! file_get_contents(base_path("assets/external-dependencies/fontawesome.js")) !!}</script>
{{-- <script>{!! file_get_contents(base_path("assets/external-dependencies/fontawesome.js")) !!}</script> --}}
<style>{!! str_replace('../', 'studio/', file_get_contents(base_path("assets/external-dependencies/fontawesome.css"))) !!}</style>
@include('layouts.fonts')