Commit a88b2ac7 authored by SadeghPM's avatar SadeghPM

use page layout to show checkout page

parent 3e711306
......@@ -2,16 +2,12 @@
@section('head')
<link href="{{asset('vendor/mehr4-payment/app.css')}}" rel="stylesheet">
@endsection
@section('main')
@if(View::exists('component.hero'))
@component('component.hero')
خرید {{$course->title}}
@endcomponent
@endif
@section('title')
خرید {{$course->title}}
@endsection
@section('content')
<div class="container mt-5 mb-5" style="direction: rtl">
<h5 class="mb-5 mt-5">
خرید {{$course->title}}
</h5>
<div id="buy-wizard">
<ul>
<li><a href="#login-step">ورود<br class="d-sm-block"><small class="d-sm-block">تایید موبایل و ورود به سامانه</small></a></li>
......
......@@ -20,7 +20,7 @@ class CheckoutPageController extends Controller
public function __construct()
{
$this->layout = config('app.theme') ? config('app.theme')."::layout" : 'layout';
$this->layout = config('app.theme') ? config('app.theme')."::layout-page" : 'layout-page';
}
public function __invoke(Course $course)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment