Create template for emails
MODIFY
resources/views/emails/confirm_registration.blade.php
resources/views/emails/confirm_registration.blade.php
+@extends('emails.template')
+
+@section('content')
Welcome aboard, {{ $name }}
We're going to help you get insight into your personal finances.
@@ -5,3 +8,4 @@ We're going to help you get insight into your personal finances.
No more dealing with pesky, half-assed spreadsheets.
<a href="{{ config('app.url') . '/dashboard' }}">Go get started</a>
+@endsection

MODIFY
resources/views/emails/password_changed.blade.php
resources/views/emails/password_changed.blade.php
+@extends('emails.template')
+
+@section('content')
Heads up! Your password has been changed ({{ $updated_at }} CEST).
+@endsection

ADD
resources/views/emails/template.blade.php
+<!DOCTYPE html>
+<html>
+ <body style="font-family: Roboto, Arial, Helvetica, sans-serif;">
+ <div style="margin: 50px auto; width: 90%; max-width: 700px;">
+ @yield('content')
+ </div>
+ </body>
+</html>

MODIFY
resources/views/emails/weekly_report.blade.php
resources/views/emails/weekly_report.blade.php
+@extends('emails.template')
+
+@section('content')
Here's your weekly report for {{ $space->name }}.
This week (#{{ $week }}) you've
@@ -7,3 +10,4 @@ This week (#{{ $week }}) you've
</ul>
If you don't want to receive a weekly report, head over to <a href="{{ config('app.url') . '/settings' }}">settings</a> and let us know.
+@endsection

Create template for emails