Switched Font Awesome from JS to CSS
Decreases loading time
This commit is contained in:
parent
8de9d471ba
commit
6481770006
|
@ -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;
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue