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

Self-host CSS and JS assets #144

Merged
merged 2 commits into from
Jul 5, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions public/css/bootstrap.min.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions public/css/fontawesome-all.min.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions public/js/bootstrap.min.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions public/js/jquery-3.6.0.min.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions public/js/popper.min.js

Large diffs are not rendered by default.

Binary file added public/webfonts/fa-brands-400.eot
Binary file not shown.
3,717 changes: 3,717 additions & 0 deletions public/webfonts/fa-brands-400.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/webfonts/fa-brands-400.ttf
Binary file not shown.
Binary file added public/webfonts/fa-brands-400.woff
Binary file not shown.
Binary file added public/webfonts/fa-brands-400.woff2
Binary file not shown.
Binary file added public/webfonts/fa-regular-400.eot
Binary file not shown.
801 changes: 801 additions & 0 deletions public/webfonts/fa-regular-400.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/webfonts/fa-regular-400.ttf
Binary file not shown.
Binary file added public/webfonts/fa-regular-400.woff
Binary file not shown.
Binary file added public/webfonts/fa-regular-400.woff2
Binary file not shown.
Binary file added public/webfonts/fa-solid-900.eot
Binary file not shown.
5,034 changes: 5,034 additions & 0 deletions public/webfonts/fa-solid-900.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/webfonts/fa-solid-900.ttf
Binary file not shown.
Binary file added public/webfonts/fa-solid-900.woff
Binary file not shown.
Binary file added public/webfonts/fa-solid-900.woff2
Binary file not shown.
10 changes: 5 additions & 5 deletions resources/views/layouts/base.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
{{ config('app.name') }}
</title>

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" rel="stylesheet" crossorigin="anonymous">
<link href="{{ asset('vendor/sendportal/css/fontawesome-all.min.css') }}" rel="stylesheet">
<link href="{{ asset('vendor/sendportal/css/bootstrap.min.css') }}" rel="stylesheet">
<link href="{{ asset(mix('app.css', 'vendor/sendportal')) }}" rel="stylesheet">

@stack('css')
Expand All @@ -24,9 +24,9 @@

@yield('htmlBody')

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script src="{{ asset('vendor/sendportal/js/jquery-3.6.0.min.js') }}"></script>
<script src="{{ asset('vendor/sendportal/js/popper.min.js') }}"></script>
<script src="{{ asset('vendor/sendportal/js/bootstrap.min.js') }}"></script>

<script>
$('.sidebar-toggle').click(function (e) {
Expand Down