initial
This commit is contained in:
14
resources/views/app.blade.php
Normal file
14
resources/views/app.blade.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<!-- <link rel="stylesheet" type="text/css" href="https://unpkg.com/trix@2.0.0/dist/trix.css">
|
||||
<script type="text/javascript" src="https://unpkg.com/trix@2.0.0/dist/trix.umd.min.js"></script> -->
|
||||
<title>STEMMechanics</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
@vite('resources/js/main.js')
|
||||
</body>
|
||||
</html>
|
||||
103
resources/views/emails/user/change_email_verify.blade.php
Normal file
103
resources/views/emails/user/change_email_verify.blade.php
Normal file
@@ -0,0 +1,103 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>STEMMechanics - Verify Email Address</title>
|
||||
<style>
|
||||
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800&display=swap');
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-size: 1.1rem;
|
||||
font-family: Nunito, Arial, Helvetica, sans-serif !important;
|
||||
color: #000000;
|
||||
padding: 2rem;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale
|
||||
}
|
||||
|
||||
div.main {
|
||||
margin: 0 auto;
|
||||
background-color: #ffffff;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
div.footer {
|
||||
margin: 2rem auto;
|
||||
max-width: 48rem;
|
||||
font-size: 70%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a.brand {
|
||||
display: block;
|
||||
margin-bottom: 2rem;
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
a.brand:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
a.brand img {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.code {
|
||||
display: block;
|
||||
font-size: 200%;
|
||||
text-align: center;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
letter-spacing: 0.5rem;
|
||||
}
|
||||
|
||||
.feedback {
|
||||
font-size: 90%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.border {
|
||||
border-top: 1px solid #ddd;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
a, a:visited, a:hover {
|
||||
color: #2563EB;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
<a href="https://www.stemmechanics.com.au/" class="brand">
|
||||
<img alt="STEMMechanics Logo" src="{{ $message->embed(public_path('img').'/logo.png') }}">
|
||||
</a>
|
||||
<h2>Hey {{ $user?->username }},</h2>
|
||||
<p>We just need to confirm that this is your new email address. Click this link <a href="https://www.stemmechanics.com.au/verify-email?code={{ $code }}">stemmechanics.com.au/verify-email</a> and if you are asked, use the confirm code:</p>
|
||||
<strong class="code">{{ $code }}</strong>
|
||||
<div class="border"></div>
|
||||
<p class="feedback">Need help or got feedback? <a href="https://www.stemmechanics.com.au/contact">Contact us</a> or touch base at <a href="https://twitter.com/stemmechanics">@stemmechanics</a>.</p>
|
||||
</div>
|
||||
<div class="footer">Sent by STEMMechanics · <a href="https://www.stemmechanics.com.au/">Visit our Website</a> · <a href="https://twitter.com/stemmechanics">@stemmechanics</a><br>PO Box 36, Edmonton, QLD 4869, Australia</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,16 @@
|
||||
Hey {{ $user?->username }},
|
||||
|
||||
We just need to confirm that this is your new email address.
|
||||
|
||||
Enter the following URL in your browser:
|
||||
|
||||
https://www.stemmechanics.com.au/verify-email
|
||||
|
||||
and when asked, use the confirm code: {{ $code }}
|
||||
|
||||
Need help or got feedback? Contact us at https://www.stemmechanics.com.au/contact or touch base on twitter at @stemmechanics
|
||||
|
||||
--
|
||||
Sent by STEMMechanics
|
||||
https://www.stemmechanics.com.au/
|
||||
PO Box 36, Edmonton, QLD 4869, Australia
|
||||
116
resources/views/emails/user/changed_email.blade.php
Normal file
116
resources/views/emails/user/changed_email.blade.php
Normal file
@@ -0,0 +1,116 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>STEMMechanics - Changed Password</title>
|
||||
<style>
|
||||
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800&display=swap');
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-size: 1.1rem;
|
||||
font-family: Nunito, Arial, Helvetica, sans-serif !important;
|
||||
color: #000000;
|
||||
padding: 2rem;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale
|
||||
}
|
||||
|
||||
div.main {
|
||||
margin: 0 auto;
|
||||
background-color: #ffffff;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
div.footer {
|
||||
margin: 2rem auto;
|
||||
max-width: 48rem;
|
||||
font-size: 70%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a.brand {
|
||||
display: block;
|
||||
margin-bottom: 2rem;
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
a.brand:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
a.brand img {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.code {
|
||||
display: block;
|
||||
font-size: 200%;
|
||||
text-align: center;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
letter-spacing: 0.5rem;
|
||||
}
|
||||
|
||||
.feedback {
|
||||
font-size: 90%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.border {
|
||||
border-top: 1px solid #ddd;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
a, a:visited, a:hover {
|
||||
color: #2563EB;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
div.list {
|
||||
padding-left: 2rem;
|
||||
padding-right: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.list ul {
|
||||
list-style-position: inside;
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
<a href="https://www.stemmechanics.com.au/" class="brand">
|
||||
<img alt="STEMMechanics Logo" src="{{ $message->embed(public_path('img').'/logo.png') }}">
|
||||
</a>
|
||||
<h2>Yo {{ $user?->username }}</h2>
|
||||
<p>Just a quick word that your email has been changed to {{ $new_email }}.</p>
|
||||
<p>If this was not you, please contact us by replying to this email so we can disable your account.</p>
|
||||
<div class="border"></div>
|
||||
<p class="feedback">Need help or got feedback? <a href="https://www.stemmechanics.com.au/contact">Contact us</a> or touch base at <a href="https://twitter.com/stemmechanics">@stemmechanics</a>.</p>
|
||||
</div>
|
||||
<div class="footer">Sent by STEMMechanics · <a href="https://www.stemmechanics.com.au/">Visit our Website</a> · <a href="https://twitter.com/stemmechanics">@stemmechanics</a><br>PO Box 36, Edmonton, QLD 4869, Australia</div>
|
||||
</body>
|
||||
</html>
|
||||
12
resources/views/emails/user/changed_email_plain.blade.php
Normal file
12
resources/views/emails/user/changed_email_plain.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
Yo {{ $user?->username }}
|
||||
|
||||
Just a quick word that your email has been changed to {{ $new_email }}.
|
||||
|
||||
If this was not you, please contact us by replying to this email so we can disable your account.
|
||||
|
||||
Need help or got feedback? Contact us at https://www.stemmechanics.com.au/contact or touch base on twitter at @stemmechanics
|
||||
|
||||
--
|
||||
Sent by STEMMechanics
|
||||
https://www.stemmechanics.com.au/
|
||||
PO Box 36, Edmonton, QLD 4869, Australia
|
||||
116
resources/views/emails/user/changed_password.blade.php
Normal file
116
resources/views/emails/user/changed_password.blade.php
Normal file
@@ -0,0 +1,116 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>STEMMechanics - Changed Password</title>
|
||||
<style>
|
||||
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800&display=swap');
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-size: 1.1rem;
|
||||
font-family: Nunito, Arial, Helvetica, sans-serif !important;
|
||||
color: #000000;
|
||||
padding: 2rem;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale
|
||||
}
|
||||
|
||||
div.main {
|
||||
margin: 0 auto;
|
||||
background-color: #ffffff;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
div.footer {
|
||||
margin: 2rem auto;
|
||||
max-width: 48rem;
|
||||
font-size: 70%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a.brand {
|
||||
display: block;
|
||||
margin-bottom: 2rem;
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
a.brand:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
a.brand img {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.code {
|
||||
display: block;
|
||||
font-size: 200%;
|
||||
text-align: center;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
letter-spacing: 0.5rem;
|
||||
}
|
||||
|
||||
.feedback {
|
||||
font-size: 90%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.border {
|
||||
border-top: 1px solid #ddd;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
a, a:visited, a:hover {
|
||||
color: #2563EB;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
div.list {
|
||||
padding-left: 2rem;
|
||||
padding-right: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.list ul {
|
||||
list-style-position: inside;
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
<a href="https://www.stemmechanics.com.au/" class="brand">
|
||||
<img alt="STEMMechanics Logo" src="{{ $message->embed(public_path('img').'/logo.png') }}">
|
||||
</a>
|
||||
<h2>Yo {{ $user?->username }}</h2>
|
||||
<p>Just a quick word that your password has been changed.</p>
|
||||
<p>If this was not you, please contact us by replying to this email so we can disable your account.</p>
|
||||
<div class="border"></div>
|
||||
<p class="feedback">Need help or got feedback? <a href="https://www.stemmechanics.com.au/contact">Contact us</a> or touch base at <a href="https://twitter.com/stemmechanics">@stemmechanics</a>.</p>
|
||||
</div>
|
||||
<div class="footer">Sent by STEMMechanics · <a href="https://www.stemmechanics.com.au/">Visit our Website</a> · <a href="https://twitter.com/stemmechanics">@stemmechanics</a><br>PO Box 36, Edmonton, QLD 4869, Australia</div>
|
||||
</body>
|
||||
</html>
|
||||
12
resources/views/emails/user/changed_password_plain.blade.php
Normal file
12
resources/views/emails/user/changed_password_plain.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
Yo {{ $user?->username }}
|
||||
|
||||
Just a quick word that your password has been changed.
|
||||
|
||||
If this was not you, please contact us by replying to this email so we can disable your account.
|
||||
|
||||
Need help or got feedback? Contact us at https://www.stemmechanics.com.au/contact or touch base on twitter at @stemmechanics
|
||||
|
||||
--
|
||||
Sent by STEMMechanics
|
||||
https://www.stemmechanics.com.au/
|
||||
PO Box 36, Edmonton, QLD 4869, Australia
|
||||
58
resources/views/emails/user/contact.blade.php
Normal file
58
resources/views/emails/user/contact.blade.php
Normal file
@@ -0,0 +1,58 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>STEMMechanics - Contact from Website</title>
|
||||
<style>
|
||||
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800&display=swap');
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-size: 1.1rem;
|
||||
font-family: Nunito, Arial, Helvetica, sans-serif !important;
|
||||
color: #000000;
|
||||
padding: 2rem;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale
|
||||
}
|
||||
|
||||
div.main {
|
||||
margin: 0 auto;
|
||||
background-color: #ffffff;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
div.footer {
|
||||
margin: 2rem auto;
|
||||
max-width: 48rem;
|
||||
font-size: 70%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
a, a:visited, a:hover {
|
||||
color: #2563EB;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
<p>{{ $content }}</p>
|
||||
<p>From: {{ $name }} - {{ $email }}</p>
|
||||
</div>
|
||||
<div class="footer">Sent by STEMMechanics · <a href="https://www.stemmechanics.com.au/">Visit our Website</a> · <a href="https://twitter.com/stemmechanics">@stemmechanics</a><br>PO Box 36, Edmonton, QLD 4869, Australia</div>
|
||||
</body>
|
||||
</html>
|
||||
8
resources/views/emails/user/contact_plain.blade.php
Normal file
8
resources/views/emails/user/contact_plain.blade.php
Normal file
@@ -0,0 +1,8 @@
|
||||
{{ $content }}
|
||||
|
||||
From: {{ $name }} - {{ $email }}
|
||||
|
||||
--
|
||||
Sent by STEMMechanics
|
||||
https://www.stemmechanics.com.au/
|
||||
PO Box 36, Edmonton, QLD 4869, Australia
|
||||
104
resources/views/emails/user/email_verify.blade.php
Normal file
104
resources/views/emails/user/email_verify.blade.php
Normal file
@@ -0,0 +1,104 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>STEMMechanics - Verify Email Address</title>
|
||||
<style>
|
||||
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800&display=swap');
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-size: 1.1rem;
|
||||
font-family: Nunito, Arial, Helvetica, sans-serif !important;
|
||||
color: #000000;
|
||||
padding: 2rem;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale
|
||||
}
|
||||
|
||||
div.main {
|
||||
margin: 0 auto;
|
||||
background-color: #ffffff;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
div.footer {
|
||||
margin: 2rem auto;
|
||||
max-width: 48rem;
|
||||
font-size: 70%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a.brand {
|
||||
display: block;
|
||||
margin-bottom: 2rem;
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
a.brand:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
a.brand img {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.code {
|
||||
display: block;
|
||||
font-size: 200%;
|
||||
text-align: center;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
letter-spacing: 0.5rem;
|
||||
}
|
||||
|
||||
.feedback {
|
||||
font-size: 90%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.border {
|
||||
border-top: 1px solid #ddd;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
a, a:visited, a:hover {
|
||||
color: #2563EB;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
<a href="https://www.stemmechanics.com.au/" class="brand">
|
||||
<img alt="STEMMechanics Logo" src="{{ $message->embed(public_path('img').'/logo.png') }}">
|
||||
</a>
|
||||
<h2>Welcome {{ $user?->username }},</h2>
|
||||
<p>We've heard you would like to try out our workshops and courses!</p>
|
||||
<p>Before we can let you loose on our website, we need to make sure you are a real person and not a pesky robot or cat. Click this link <a href="https://www.stemmechanics.com.au/verify-email?code={{ $code }}">stemmechanics.com.au/verify-email</a> and if you are asked, use the confirm code:</p>
|
||||
<strong class="code">{{ $code }}</strong>
|
||||
<div class="border"></div>
|
||||
<p class="feedback">Need help or got feedback? <a href="https://www.stemmechanics.com.au/contact">Contact us</a> or touch base at <a href="https://twitter.com/stemmechanics">@stemmechanics</a>.</p>
|
||||
</div>
|
||||
<div class="footer">Sent by STEMMechanics · <a href="https://www.stemmechanics.com.au/">Visit our Website</a> · <a href="https://twitter.com/stemmechanics">@stemmechanics</a><br>PO Box 36, Edmonton, QLD 4869, Australia</div>
|
||||
</body>
|
||||
</html>
|
||||
17
resources/views/emails/user/email_verify_plain.blade.php
Normal file
17
resources/views/emails/user/email_verify_plain.blade.php
Normal file
@@ -0,0 +1,17 @@
|
||||
Welcome {{ $user?->username }},
|
||||
|
||||
We've heard you would like to try out our workshops and courses!
|
||||
Before we can let you loose on our website, we need to make sure you are a real person and not a pesky robot or cat.
|
||||
|
||||
Enter the following URL in your browser:
|
||||
|
||||
https://www.stemmechanics.com.au/verify-email
|
||||
|
||||
and when asked, use the confirm code: {{ $code }}
|
||||
|
||||
Need help or got feedback? Contact us at https://www.stemmechanics.com.au/contact or touch base on twitter at @stemmechanics
|
||||
|
||||
--
|
||||
Sent by STEMMechanics
|
||||
https://www.stemmechanics.com.au/
|
||||
PO Box 36, Edmonton, QLD 4869, Australia
|
||||
117
resources/views/emails/user/forgot_password.blade.php
Normal file
117
resources/views/emails/user/forgot_password.blade.php
Normal file
@@ -0,0 +1,117 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>STEMMechanics - Forgot Password</title>
|
||||
<style>
|
||||
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800&display=swap');
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-size: 1.1rem;
|
||||
font-family: Nunito, Arial, Helvetica, sans-serif !important;
|
||||
color: #000000;
|
||||
padding: 2rem;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale
|
||||
}
|
||||
|
||||
div.main {
|
||||
margin: 0 auto;
|
||||
background-color: #ffffff;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
div.footer {
|
||||
margin: 2rem auto;
|
||||
max-width: 48rem;
|
||||
font-size: 70%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a.brand {
|
||||
display: block;
|
||||
margin-bottom: 2rem;
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
a.brand:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
a.brand img {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.code {
|
||||
display: block;
|
||||
font-size: 200%;
|
||||
text-align: center;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
letter-spacing: 0.5rem;
|
||||
}
|
||||
|
||||
.feedback {
|
||||
font-size: 90%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.border {
|
||||
border-top: 1px solid #ddd;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
a, a:visited, a:hover {
|
||||
color: #2563EB;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
div.list {
|
||||
padding-left: 2rem;
|
||||
padding-right: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.list ul {
|
||||
list-style-position: inside;
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
<a href="https://www.stemmechanics.com.au/" class="brand">
|
||||
<img alt="STEMMechanics Logo" src="{{ $message->embed(public_path('img').'/logo.png') }}">
|
||||
</a>
|
||||
<h2>Yo {{ $user?->username }}</h2>
|
||||
<p>We all forget things sometimes! But you can reset your password by clicking the link <a href="https://www.stemmechanics.com.au/reset-password?code={{ $code }}">Reset Password</a> and entering the following code:</p>
|
||||
<strong class="code">{{ $code }}</strong>
|
||||
<p>But if you didn't ask to reset your password, you can delete this email and your password will remain the same.</p>
|
||||
<div class="border"></div>
|
||||
<p class="feedback">Need help or got feedback? <a href="https://www.stemmechanics.com.au/contact">Contact us</a> or touch base at <a href="https://twitter.com/stemmechanics">@stemmechanics</a>.</p>
|
||||
</div>
|
||||
<div class="footer">Sent by STEMMechanics · <a href="https://www.stemmechanics.com.au/">Visit our Website</a> · <a href="https://twitter.com/stemmechanics">@stemmechanics</a><br>PO Box 36, Edmonton, QLD 4869, Australia</div>
|
||||
</body>
|
||||
</html>
|
||||
14
resources/views/emails/user/forgot_password_plain.blade.php
Normal file
14
resources/views/emails/user/forgot_password_plain.blade.php
Normal file
@@ -0,0 +1,14 @@
|
||||
Yo {{ $user?->username }}
|
||||
|
||||
We all forget things sometimes! But you can reset your password typing the following into your browser https://www.stemmechanics.com.au/reset-password and entering the following code:
|
||||
|
||||
{{ $code }}
|
||||
|
||||
But if you didn't ask to reset your password, you can delete this email and we will keep your current password.
|
||||
|
||||
Need help or got feedback? Contact us at https://www.stemmechanics.com.au/contact or touch base on twitter at @stemmechanics
|
||||
|
||||
--
|
||||
Sent by STEMMechanics
|
||||
https://www.stemmechanics.com.au/
|
||||
PO Box 36, Edmonton, QLD 4869, Australia
|
||||
132
resources/views/emails/user/forgot_username.blade.php
Normal file
132
resources/views/emails/user/forgot_username.blade.php
Normal file
@@ -0,0 +1,132 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>STEMMechanics - Forgot Username</title>
|
||||
<style>
|
||||
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800&display=swap');
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-size: 1.1rem;
|
||||
font-family: Nunito, Arial, Helvetica, sans-serif !important;
|
||||
color: #000000;
|
||||
padding: 2rem;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale
|
||||
}
|
||||
|
||||
div.main {
|
||||
margin: 0 auto;
|
||||
background-color: #ffffff;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
div.footer {
|
||||
margin: 2rem auto;
|
||||
max-width: 48rem;
|
||||
font-size: 70%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a.brand {
|
||||
display: block;
|
||||
margin-bottom: 2rem;
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
a.brand:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
a.brand img {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.code {
|
||||
display: block;
|
||||
font-size: 200%;
|
||||
text-align: center;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
letter-spacing: 0.5rem;
|
||||
}
|
||||
|
||||
.feedback {
|
||||
font-size: 90%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.border {
|
||||
border-top: 1px solid #ddd;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
a, a:visited, a:hover {
|
||||
color: #2563EB;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
div.list {
|
||||
padding-left: 2rem;
|
||||
padding-right: 2rem;
|
||||
/* text-align: center; */
|
||||
}
|
||||
|
||||
div.list ul {
|
||||
list-style-position: inside;
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
<a href="https://www.stemmechanics.com.au/" class="brand">
|
||||
<img alt="STEMMechanics Logo" src="{{ $message->embed(public_path('img').'/logo.png') }}">
|
||||
</a>
|
||||
@if (count($usernames) > 2)
|
||||
<h2>Yo {{ $usernames[0] }}, {{ $usernames[1] }}, or is it {{ $usernames[count($usernames)-1] }}?</h2>
|
||||
@elseif (count($usernames) > 1)
|
||||
<h2>Yo {{ $usernames[0] }} or is it {{ $usernames[1] }}?</h2>
|
||||
@else
|
||||
<h2>Yo {{ $usernames[0] }},</h2>
|
||||
@endif
|
||||
@if (count($usernames) == 1)
|
||||
<p>Guess what, your username is {{ $usernames[0] }}.</p>
|
||||
@else
|
||||
<p>We have the following usernames registered to this email address:</p>
|
||||
<div class="list">
|
||||
<ul>
|
||||
@foreach($usernames as $username)
|
||||
<li>{{ $username }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
<div class="border"></div>
|
||||
<p class="feedback">Need help or got feedback? <a href="https://www.stemmechanics.com.au/contact">Contact us</a> or touch base at <a href="https://twitter.com/stemmechanics">@stemmechanics</a>.</p>
|
||||
</div>
|
||||
<div class="footer">Sent by STEMMechanics · <a href="https://www.stemmechanics.com.au/">Visit our Website</a> · <a href="https://twitter.com/stemmechanics">@stemmechanics</a><br>PO Box 36, Edmonton, QLD 4869, Australia</div>
|
||||
</body>
|
||||
</html>
|
||||
24
resources/views/emails/user/forgot_username_plain.blade.php
Normal file
24
resources/views/emails/user/forgot_username_plain.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
@if (count($usernames) > 2)
|
||||
Yo {{ $usernames[0] }}, {{ $usernames[1] }}, or is it {{ $usernames[count($usernames)-1] }}?
|
||||
@elseif (count($usernames) > 1)
|
||||
Yo {{ $usernames[0] }} or is it {{ $usernames[1] }}?
|
||||
@else
|
||||
Yo {{ $usernames[0] }},
|
||||
@endif
|
||||
|
||||
@if (count($usernames) == 1)
|
||||
Guess what, your username is {{ $usernames[0] }}.
|
||||
@else
|
||||
We have the following usernames registered to this email address:
|
||||
|
||||
@foreach($usernames as $username)
|
||||
- {{ $username }}
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
Need help or got feedback? Contact us at https://www.stemmechanics.com.au/contact or touch base on twitter at @stemmechanics
|
||||
|
||||
--
|
||||
Sent by STEMMechanics
|
||||
https://www.stemmechanics.com.au/
|
||||
PO Box 36, Edmonton, QLD 4869, Australia
|
||||
Reference in New Issue
Block a user