Skip to content

Commit

Permalink
[Updated: view_render_event changes for the admin blades.]
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek-webkul committed Nov 1, 2023
1 parent 1f6ee25 commit 4861fc6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,25 +47,25 @@
{!! core()->getConfigData('general.content.custom_scripts.custom_css') !!}
</style>

{!! view_render_event('bagisto.shop.layout.head') !!}
{!! view_render_event('bagisto.admin.layout.head') !!}
</head>

<body>
{!! view_render_event('bagisto.shop.layout.body.before') !!}
{!! view_render_event('bagisto.admin.layout.body.before') !!}

<div id="app">
{{-- Flash Message Blade Component --}}
<x-admin::flash-group />

{!! view_render_event('bagisto.shop.layout.content.before') !!}
{!! view_render_event('bagisto.admin.layout.content.before') !!}

{{-- Page Content Blade Component --}}
{{ $slot }}

{!! view_render_event('bagisto.shop.layout.content.after') !!}
{!! view_render_event('bagisto.admin.layout.content.after') !!}
</div>

{!! view_render_event('bagisto.shop.layout.body.after') !!}
{!! view_render_event('bagisto.admin.layout.body.after') !!}

@stack('scripts')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
{!! core()->getConfigData('general.content.custom_scripts.custom_css') !!}
</style>

{!! view_render_event('bagisto.shop.layout.head') !!}
{!! view_render_event('bagisto.admin.layout.head') !!}
</head>

<body class="h-full dark:bg-gray-950">
{!! view_render_event('bagisto.shop.layout.body.before') !!}
{!! view_render_event('bagisto.admin.layout.body.before') !!}

<div id="app" class="h-full">
{{-- Flash Message Blade Component --}}
Expand All @@ -61,7 +61,7 @@
{{-- Confirm Modal Blade Component --}}
<x-admin::modal.confirm />

{!! view_render_event('bagisto.shop.layout.content.before') !!}
{!! view_render_event('bagisto.admin.layout.content.before') !!}

{{-- Page Header Blade Component --}}
<x-admin::layouts.header />
Expand All @@ -85,10 +85,10 @@ class="flex gap-[16px] group/container {{ (request()->cookie('sidebar_collapsed'
</div>
</div>

{!! view_render_event('bagisto.shop.layout.content.after') !!}
{!! view_render_event('bagisto.admin.layout.content.after') !!}
</div>

{!! view_render_event('bagisto.shop.layout.body.after') !!}
{!! view_render_event('bagisto.admin.layout.body.after') !!}

@stack('scripts')
</body>
Expand Down

0 comments on commit 4861fc6

Please sign in to comment.