deleted default layouts
This commit is contained in:
parent
f418724bb8
commit
05d748c7f6
|
@ -5,17 +5,6 @@
|
|||
<title>{{ $title ?? '' }}</title>
|
||||
<meta content="width=device-width, initial-scale=1" name="viewport">
|
||||
<link href='favicon.ico' rel='shortcut icon' type='image/x-icon'/>
|
||||
<!--
|
||||
<link rel="dns-prefetch" href="//cdnjs.cloudflare.com">
|
||||
<link rel="dns-prefetch" href="//fonts.googleapis.com">
|
||||
<link rel="dns-prefetch" href="//code.jquery.com">
|
||||
<link rel="dns-prefetch" href="//netdna.bootstrapcdn.com">
|
||||
<link rel="dns-prefetch" href="//cdn.jsdelivr.net">
|
||||
<link rel="dns-prefetch" href="//site.yandex.net">
|
||||
<link rel="dns-prefetch" href="//mc.yandex.ru">
|
||||
<link rel="dns-prefetch" href="//yastatic.net">
|
||||
<link rel="dns-prefetch" href="//fonts.gstatic.com">
|
||||
-->
|
||||
@if(!empty($feeds))
|
||||
@foreach ($feeds as $feed)
|
||||
<link href="{{$feed->url}}" rel="alternate" type="application/rss+xml" title="{{$feed->title}}">
|
||||
|
@ -24,56 +13,54 @@
|
|||
@vite('resources/sass/main.scss')
|
||||
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.8.1/css/lightbox.css">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans&subset=latin,cyrillic">
|
||||
{!! $head_scripts ?? ''!!}
|
||||
</head>
|
||||
<body vocab="http://schema.org">
|
||||
@include('_partials.navbar')
|
||||
{!! $head_scripts ?? ''!!}
|
||||
</head>
|
||||
<body vocab="http://schema.org">
|
||||
@include('_partials.navbar')
|
||||
|
||||
<div class="container">
|
||||
<div class = "main_content">
|
||||
{!! $breadcrumbs ?? ''!!}
|
||||
@if(!empty($title))
|
||||
<h1>{{ $title }}</h1>
|
||||
@endif
|
||||
@if(!empty($flashes))
|
||||
@foreach($flashes as $flash)
|
||||
@if(!empty($flash->info))
|
||||
<div class="alert alert-info">{{$flash->info}}</div>
|
||||
@endif
|
||||
@if(!empty($flash->error))
|
||||
<div class="alert alert-danger">{{$flash->error}}</div>
|
||||
@endif
|
||||
@if(!empty($flash->warning))
|
||||
<div class="alert alert-warning">{{$flash->warning}}</div>
|
||||
@endif
|
||||
@if(!empty($flash->success))
|
||||
<div class="alert alert-success">{{$flash->success}}</div>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@if (!empty($get_paging))
|
||||
<div class="row">
|
||||
<nav class="paging">
|
||||
{!! $get_paging !!}
|
||||
</nav>
|
||||
</div>
|
||||
@endif
|
||||
@yield('content')
|
||||
@if (!empty($get_paging))
|
||||
<div class="row">
|
||||
<nav class="paging">
|
||||
{!! $get_paging !!}
|
||||
</nav>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<footer>
|
||||
<div class="footer_text">Сайт сделан на фреймворке Laravel.</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
@stack('scripts')
|
||||
@vite('resources/js/app.js')
|
||||
</body>
|
||||
<div class="container">
|
||||
<div class = "main_content">
|
||||
{!! $breadcrumbs ?? ''!!}
|
||||
@if(!empty($title))
|
||||
<h1>{{ $title }}</h1>
|
||||
@endif
|
||||
@if(!empty($flashes))
|
||||
@foreach($flashes as $flash)
|
||||
@if(!empty($flash->info))
|
||||
<div class="alert alert-info">{{$flash->info}}</div>
|
||||
@endif
|
||||
@if(!empty($flash->error))
|
||||
<div class="alert alert-danger">{{$flash->error}}</div>
|
||||
@endif
|
||||
@if(!empty($flash->warning))
|
||||
<div class="alert alert-warning">{{$flash->warning}}</div>
|
||||
@endif
|
||||
@if(!empty($flash->success))
|
||||
<div class="alert alert-success">{{$flash->success}}</div>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@if (!empty($get_paging))
|
||||
<div class="row">
|
||||
<nav class="paging">
|
||||
{!! $get_paging !!}
|
||||
</nav>
|
||||
</div>
|
||||
@endif
|
||||
@yield('content')
|
||||
@if (!empty($get_paging))
|
||||
<div class="row">
|
||||
<nav class="paging">
|
||||
{!! $get_paging !!}
|
||||
</nav>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<footer>
|
||||
<div class="footer_text">Сайт сделан на фреймворке Laravel.</div>
|
||||
</footer>
|
||||
</div>
|
||||
@stack('scripts')
|
||||
@vite('resources/js/app.js')
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
<title>{{ config('app.name', 'Laravel') }}</title>
|
||||
|
||||
<!-- Fonts -->
|
||||
<link rel="stylesheet" href="https://fonts.bunny.net/css2?family=Nunito:wght@400;600;700&display=swap">
|
||||
|
||||
<!-- Scripts -->
|
||||
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
||||
</head>
|
||||
<body class="font-sans antialiased">
|
||||
<div class="min-h-screen bg-gray-100">
|
||||
@include('layouts.navigation')
|
||||
|
||||
<!-- Page Heading -->
|
||||
<header class="bg-white shadow">
|
||||
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
|
||||
{{ $header }}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- Page Content -->
|
||||
<main>
|
||||
{{ $slot }}
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,21 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
<title>{{ config('app.name', 'Laravel') }}</title>
|
||||
|
||||
<!-- Fonts -->
|
||||
<link rel="stylesheet" href="https://fonts.bunny.net/css2?family=Nunito:wght@400;600;700&display=swap">
|
||||
|
||||
<!-- Scripts -->
|
||||
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
||||
</head>
|
||||
<body>
|
||||
<div class="font-sans text-gray-900 antialiased">
|
||||
{{ $slot }}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue