initial commit
This commit is contained in:
commit
1e1aa7d461
215 changed files with 35140 additions and 0 deletions
36
resources/views/layouts/app.blade.php
Normal file
36
resources/views/layouts/app.blade.php
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<x-layout class="bg-gray-200">
|
||||
|
||||
@include('partials.navigation')
|
||||
|
||||
<!-- Page title starts -->
|
||||
<div class="relative z-10 bg-gray-800 pt-8 pb-16">
|
||||
<div class="max-w-7xl px-6 mx-auto flex flex-col lg:flex-row items-start lg:items-center justify-between">
|
||||
<div>
|
||||
<h4 class="text-2xl font-bold leading-tight text-white">
|
||||
{{ $title }}
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
@if (isset($page_links))
|
||||
<div>
|
||||
{{ $page_links }}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<!-- Page title ends -->
|
||||
|
||||
<!-- Main content -->
|
||||
<div class="mx-4">
|
||||
<main class="max-w-7xl min-h-16 mx-auto -mt-8 relative z-10 rounded shadow bg-white">
|
||||
|
||||
<x-notifications />
|
||||
|
||||
{{ $slot }}
|
||||
</main>
|
||||
</div>
|
||||
<!-- Main content ends -->
|
||||
|
||||
@include('partials.footer')
|
||||
|
||||
</x-layout>
|
||||
10
resources/views/layouts/auth.blade.php
Normal file
10
resources/views/layouts/auth.blade.php
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<x-layout class="bg-gray-100">
|
||||
|
||||
<div class="mx-auto max-w-sm mt-48 border rounded p-4 bg-white">
|
||||
|
||||
<x-notifications />
|
||||
|
||||
{{ $slot }}
|
||||
</div>
|
||||
|
||||
</x-layout>
|
||||
22
resources/views/layouts/default.blade.php
Normal file
22
resources/views/layouts/default.blade.php
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>{{ config('app.name') }}</title>
|
||||
|
||||
<!-- Styles -->
|
||||
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
|
||||
@livewireStyles
|
||||
</head>
|
||||
<body {{ $attributes->merge(['class' => 'antialiased']) }}>
|
||||
|
||||
{{ $slot }}
|
||||
|
||||
<!-- Scripts -->
|
||||
<script type="text/javascript" src="{{ asset('js/app.js') }}"></script>
|
||||
@livewireScripts
|
||||
|
||||
</body>
|
||||
</html>
|
||||
17
resources/views/layouts/error.blade.php
Normal file
17
resources/views/layouts/error.blade.php
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<x-layout name="app">
|
||||
|
||||
<x-slot name="title">
|
||||
{{ __('Error') }} - {{ $title }}
|
||||
</x-slot>
|
||||
|
||||
<div class="py-12 text-center text-gray-500">
|
||||
|
||||
@if (isset($icon))
|
||||
<x-icon :name="$icon" class="h-24 w-24 mx-auto {{ $icon_color ?? 'text-red-500' }} mb-4" />
|
||||
@endif
|
||||
|
||||
<h1 class="text-3xl mb-4">{{ $title }}</h1>
|
||||
<p>{{ $slot }}</p>
|
||||
</div>
|
||||
|
||||
</x-layout>
|
||||
Reference in a new issue