Skip to content

Commit 452d94c

Browse files
committed
Improved home page loading time
1 parent 2435812 commit 452d94c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/home.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ function themeAsset($path){
4343
@endif
4444

4545
<!-- Custom icons font-awesome -->
46-
<script src="{{ asset('studio/external-dependencies/fontawesome.js') }}" crossorigin="anonymous"></script>
47-
<link rel="stylesheet" href="{{ asset('studio/external-dependencies/fontawesome.css') }}" />
46+
<script>{!! file_get_contents(base_path("studio/external-dependencies/fontawesome.js")) !!}</script>
47+
<style>{!! str_replace('../', 'studio/', file_get_contents(base_path("studio/external-dependencies/fontawesome.css"))) !!}</style>
4848

4949
@include('layouts.fonts')
5050
<link rel="stylesheet" href="{{ asset('littlelink/css/normalize.css') }}">

0 commit comments

Comments
 (0)