Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b2040f
commit 3acfe7d
Showing
6 changed files
with
88 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
resources/views/components/layouts/error/content.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@stack('content_start') | ||
<div id="app"> | ||
@stack('content_content_start') | ||
|
||
{!! $slot !!} | ||
|
||
@stack('content_content_end') | ||
|
||
<notifications></notifications> | ||
|
||
<form id="form-dynamic-component" method="POST" action="#"></form> | ||
|
||
<component v-bind:is="component"></component> | ||
</div> | ||
@stack('content_end') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
@props([ | ||
'title', | ||
]) | ||
|
||
<head> | ||
@stack('head_start') | ||
|
||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8; charset=ISO-8859-1"/> | ||
|
||
<title>{!! $title !!} - {{ config('app.name') }}</title> | ||
|
||
<base href="{{ config('app.url') . '/' }}"> | ||
|
||
<x-layouts.pwa.head /> | ||
|
||
<!-- Favicon --> | ||
<link rel="icon" href="{{ asset('public/img/favicon.ico') }}" type="image/png"> | ||
|
||
<!--Icons--> | ||
<link rel="stylesheet" href="{{ asset('public/css/fonts/material-icons/style.css?v=' . version('short')) }}" type="text/css"> | ||
|
||
<!-- Font --> | ||
<link rel="stylesheet" href="{{ asset('public/vendor/quicksand/css/quicksand.css?v=' . version('short')) }}" type="text/css"> | ||
|
||
<!-- Css --> | ||
<link rel="stylesheet" href="{{ asset('public/css//third_party/swiper-bundle.min.css?v=' . version('short')) }}" type="text/css"> | ||
<link rel="stylesheet" href="{{ asset('public/css/element.css?v=' . version('short')) }}" type="text/css"> | ||
<link rel="stylesheet" href="{{ asset('public/css/app.css?v=' . version('short')) }}" type="text/css"> | ||
|
||
@stack('css') | ||
|
||
@stack('stylesheet') | ||
|
||
<script type="text/javascript"><!-- | ||
var url = '{{ url("/") }}'; | ||
var app_url = '{{ config("app.url") }}'; | ||
//--></script> | ||
|
||
@stack('js') | ||
|
||
<script type="text/javascript"><!-- | ||
window.Laravel = <?php echo json_encode([ | ||
'csrfToken' => csrf_token(), | ||
]); ?>; | ||
var flash_notification = {!! (session()->has('flash_notification')) ? json_encode(session()->get('flash_notification')) : 'false' !!}; | ||
//--></script> | ||
|
||
{{ session()->forget('flash_notification') }} | ||
|
||
@stack('scripts') | ||
|
||
@stack('head_end') | ||
</head> |
11 changes: 11 additions & 0 deletions
11
resources/views/components/layouts/error/scripts.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@stack('scripts_start') | ||
|
||
@stack('body_css') | ||
|
||
@stack('body_stylesheet') | ||
|
||
@stack('body_js') | ||
|
||
@stack('body_scripts') | ||
|
||
@stack('scripts_end') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters