Password Reset work

This commit is contained in:
Deon George
2020-01-22 21:05:31 +11:00
parent b42f9990b5
commit 436c3d6787
10 changed files with 72 additions and 62 deletions

View File

@@ -1,6 +1,6 @@
<div class="header">
<div class="fixedw">
<img src="{{ $logo }}"><br>
<img src="{{ url($site->email_logo) }}"><br>
<div class="subject">{{ $slot }}</div>
</div>
</div>

View File

@@ -1,7 +1,7 @@
@component('mail::layout')
{{-- Header --}}
@slot('header')
@component('mail::header', ['url' => config('app.url'),'logo'=>url($site->email_logo)])
@component('mail::header',['site'=>$site])
{{ $heading }}
@endcomponent
@endslot

View File

@@ -1,5 +1,9 @@
<div style="margin: auto; text-align: center; padding-bottom: 20px;">
<div class="panel">
{{ $slot }}
@isset($url)
<a href="{{ $url }}">{{ $slot }}</a>
@else
{{ $slot }}
@endisset
</div>
</div>

View File

@@ -41,8 +41,9 @@ body{
border-radius: 10px;
padding: 10px;
font-weight: 300;
margin-top: 20px;
margin-top: 10px;
font-size: 0.8em;
margin-bottom: 10px;
}
.main-body{
background: #ffffff;
@@ -74,13 +75,16 @@ body{
font-weight: 300;
font-style: normal;
}
/* -- TO VALIDATE -- */
a{
.panel a{
text-decoration: underline;
color: #1cbbb4
color: #f4f4f4;
}
.panel a:hover{
text-decoration: none;
color: #ffffff;
}
a:hover{text-decoration: none;}
/* -- TO VALIDATE -- */
h1{
font-weight: 300;
color: #121212;