-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9a05f5
commit 647bc25
Showing
18 changed files
with
483 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@props([ | ||
'url', | ||
'color' => 'primary', | ||
'align' => 'center', | ||
]) | ||
<table class="action" align="{{ $align }}" width="100%" cellpadding="0" cellspacing="0" role="presentation"> | ||
<tr> | ||
<td align="{{ $align }}"> | ||
<table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation"> | ||
<tr> | ||
<td align="{{ $align }}"> | ||
<table border="0" cellpadding="0" cellspacing="0" role="presentation"> | ||
<tr> | ||
<td> | ||
<a href="{{ $url }}" class="button button-{{ $color }}" target="_blank" rel="noopener">{{ $slot }}</a> | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<tr> | ||
<td> | ||
<table class="footer" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation"> | ||
<tr> | ||
<td class="content-cell" align="center"> | ||
{{ Illuminate\Mail\Markdown::parse($slot) }} | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@props(['url']) | ||
<tr> | ||
<td class="header"> | ||
<a href="{{ $url }}" style="display: inline-block;"> | ||
<img src="{{ asset('mail_logo.png') }}" class="logo" alt="Vanguard Logo"> | ||
</a> | ||
</td> | ||
</tr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title>{{ config('app.name') }}</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | ||
<meta name="color-scheme" content="light"> | ||
<meta name="supported-color-schemes" content="light"> | ||
<style> | ||
@media only screen and (max-width: 600px) { | ||
.inner-body { | ||
width: 100% !important; | ||
} | ||
.footer { | ||
width: 100% !important; | ||
} | ||
} | ||
@media only screen and (max-width: 500px) { | ||
.button { | ||
width: 100% !important; | ||
} | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<table class="wrapper" width="100%" cellpadding="0" cellspacing="0" role="presentation"> | ||
<tr> | ||
<td align="center"> | ||
<table class="content" width="100%" cellpadding="0" cellspacing="0" role="presentation"> | ||
{{ $header ?? '' }} | ||
|
||
<!-- Email Body --> | ||
<tr> | ||
<td class="body" width="100%" cellpadding="0" cellspacing="0" style="border: hidden !important;"> | ||
<table class="inner-body" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation"> | ||
<!-- Body content --> | ||
<tr> | ||
<td class="content-cell"> | ||
{{ Illuminate\Mail\Markdown::parse($slot) }} | ||
|
||
{{ $subcopy ?? '' }} | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> | ||
|
||
{{ $footer ?? '' }} | ||
</table> | ||
</td> | ||
</tr> | ||
</table> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<x-mail::layout> | ||
{{-- Header --}} | ||
<x-slot:header> | ||
<x-mail::header :url="config('app.url')"> | ||
{{ config('app.name') }} | ||
</x-mail::header> | ||
</x-slot:header> | ||
|
||
{{-- Body --}} | ||
{{ $slot }} | ||
|
||
{{-- Subcopy --}} | ||
@isset($subcopy) | ||
<x-slot:subcopy> | ||
<x-mail::subcopy> | ||
{{ $subcopy }} | ||
</x-mail::subcopy> | ||
</x-slot:subcopy> | ||
@endisset | ||
|
||
{{-- Footer --}} | ||
<x-slot:footer> | ||
<x-mail::footer> | ||
© {{ date('Y') }} {{ config('app.name') }}. {{ __('All rights reserved.') }} | ||
</x-mail::footer> | ||
</x-slot:footer> | ||
</x-mail::layout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<table class="panel" width="100%" cellpadding="0" cellspacing="0" role="presentation"> | ||
<tr> | ||
<td class="panel-content"> | ||
<table width="100%" cellpadding="0" cellspacing="0" role="presentation"> | ||
<tr> | ||
<td class="panel-item"> | ||
{{ Illuminate\Mail\Markdown::parse($slot) }} | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> | ||
</table> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<table class="subcopy" width="100%" cellpadding="0" cellspacing="0" role="presentation"> | ||
<tr> | ||
<td> | ||
{{ Illuminate\Mail\Markdown::parse($slot) }} | ||
</td> | ||
</tr> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div class="table"> | ||
{{ Illuminate\Mail\Markdown::parse($slot) }} | ||
</div> |
Oops, something went wrong.