Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial support of laravel 6 #75

Open
wants to merge 8 commits into
base: 2.6
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add autogenerated blade files
JonathanMM committed Nov 14, 2021
commit b884cd17e4d76a6b72fd03c3edf28a505830f809
62 changes: 62 additions & 0 deletions resources/views/errors/minimal.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>@yield('title')</title>

<!-- Fonts -->
<link rel="dns-prefetch" href="//fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">

<!-- Styles -->
<style>
html, body {
background-color: #fff;
color: #636b6f;
font-family: 'Nunito', sans-serif;
font-weight: 100;
height: 100vh;
margin: 0;
}

.full-height {
height: 100vh;
}

.flex-center {
align-items: center;
display: flex;
justify-content: center;
}

.position-ref {
position: relative;
}

.code {
border-right: 2px solid;
font-size: 26px;
padding: 0 15px 0 15px;
text-align: center;
}

.message {
font-size: 18px;
text-align: center;
}
</style>
</head>
<body>
<div class="flex-center position-ref full-height">
<div class="code">
@yield('code')
</div>

<div class="message" style="padding: 10px;">
@yield('message')
</div>
</div>
</body>
</html>
1 change: 1 addition & 0 deletions resources/views/vendor/mail/text/button.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ $slot }}: {{ $url }}
1 change: 1 addition & 0 deletions resources/views/vendor/mail/text/footer.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ $slot }}
1 change: 1 addition & 0 deletions resources/views/vendor/mail/text/header.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{{ $slot }}]({{ $url }})
9 changes: 9 additions & 0 deletions resources/views/vendor/mail/text/layout.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{!! strip_tags($header) !!}

{!! strip_tags($slot) !!}
@isset($subcopy)

{!! strip_tags($subcopy) !!}
@endisset

{!! strip_tags($footer) !!}
27 changes: 27 additions & 0 deletions resources/views/vendor/mail/text/message.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
@component('mail::layout')
{{-- Header --}}
@slot('header')
@component('mail::header', ['url' => config('app.url')])
{{ config('app.name') }}
@endcomponent
@endslot

{{-- Body --}}
{{ $slot }}

{{-- Subcopy --}}
@isset($subcopy)
@slot('subcopy')
@component('mail::subcopy')
{{ $subcopy }}
@endcomponent
@endslot
@endisset

{{-- Footer --}}
@slot('footer')
@component('mail::footer')
© {{ date('Y') }} {{ config('app.name') }}. @lang('All rights reserved.')
@endcomponent
@endslot
@endcomponent
1 change: 1 addition & 0 deletions resources/views/vendor/mail/text/panel.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ $slot }}
1 change: 1 addition & 0 deletions resources/views/vendor/mail/text/promotion.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ $slot }}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{{ $slot }}]({{ $url }})
1 change: 1 addition & 0 deletions resources/views/vendor/mail/text/subcopy.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ $slot }}
1 change: 1 addition & 0 deletions resources/views/vendor/mail/text/table.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ $slot }}