From 816ec4ed89ab9dd6755b5204f449389408c86d6a Mon Sep 17 00:00:00 2001 From: Bruno Fontes Date: Sat, 22 Sep 2018 15:40:03 -0300 Subject: [PATCH] Improving email contents On email body, it usually appeared as the button to the website would take directly an action, so the text was changed to make sure the user will understand he is only going to access the website. --- resources/views/emails/itemAvailable.blade.php | 7 +++++-- resources/views/emails/userWaiting.blade.php | 6 +++--- resources/views/emails/welcome.blade.php | 12 +++++------- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/resources/views/emails/itemAvailable.blade.php b/resources/views/emails/itemAvailable.blade.php index 0e7d11e..c0d36dc 100644 --- a/resources/views/emails/itemAvailable.blade.php +++ b/resources/views/emails/itemAvailable.blade.php @@ -6,7 +6,10 @@ Hi, {{$username}},  
The item {{$item->name}} ({{$item->product->name}}) is now available on **Share It**.  

-Take it before anyone else. +**Take It** before anyone else at the website: +@component('mail::button', ['url' => 'https://shareit.brunofontes.net/home']) +Share It! @endcomponent + +@endcomponent \ No newline at end of file diff --git a/resources/views/emails/userWaiting.blade.php b/resources/views/emails/userWaiting.blade.php index eda97d8..6e1ae58 100644 --- a/resources/views/emails/userWaiting.blade.php +++ b/resources/views/emails/userWaiting.blade.php @@ -5,12 +5,12 @@ Are you still using {{$item->name}}? We just want to let you know that {{$waitingUser}} asked us to be alerted when this item were available. -So, if you are not using it anymore, please go to our site and... +So, if you are not using it anymore, please **Return It** at the website: @component('mail::button', ['url' => 'https://shareit.brunofontes.net/home']) -Return it! +Share It! @endcomponent Thanks,
{{ config('app.name') }} -@endcomponent +@endcomponent \ No newline at end of file diff --git a/resources/views/emails/welcome.blade.php b/resources/views/emails/welcome.blade.php index 3fed0ee..3bcf297 100644 --- a/resources/views/emails/welcome.blade.php +++ b/resources/views/emails/welcome.blade.php @@ -3,12 +3,10 @@ Thank's for registering at **Share It!** -Your account was created and it is active. And you? Are you ready to Share It with your friends? :) +Your account was created, but you still need to activate it. We've sent you another e-mail and we are ready to go! + +And you? Are you ready to Share It with your friends? :) @component('mail::button', ['url' => 'https://shareit.brunofontes.net']) -Share it! -@endcomponent - -Thanks,
-{{ config('app.name') }} -@endcomponent +Share It! +@endcomponent \ No newline at end of file