feat(07-03): add avatars, mail templates, and password-change command

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jakub Zych
2026-09-22 16:43:44 +02:00
parent 5c1f857d54
commit 63d6d049b7
16 changed files with 777 additions and 20 deletions

View File

@@ -0,0 +1,9 @@
subject = "Activate your account"
description = "Account activation"
layout = "user"
==
Hello **{{ .Name }}**.
[Activate your account]({{ .Link }})
Code: {{ .Code }}

9
views/mail/activate.htm Normal file
View File

@@ -0,0 +1,9 @@
subject = "Activate your account"
description = "Aktywacja konta"
layout = "user"
==
Cześć **{{ .Name }}**.
[Aktywuj konto]({{ .Link }})
Kod: {{ .Code }}

View File

@@ -0,0 +1,14 @@
name = "User"
==
-- {{ .Content }} --
==
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css">{{ .brandCss }}{{ .css }}</style>
</head>
<body>
<div class="layout-user">{{ .Content }}</div>
</body>
</html>

View File

@@ -0,0 +1,7 @@
subject = "Welcome back"
description = "Account reactivated"
layout = "user"
==
Hello **{{ .Name }}**.
Your account was reactivated when you signed in.

View File

@@ -0,0 +1,7 @@
subject = "Welcome back"
description = "Konto zostało ponownie aktywowane"
layout = "user"
==
Cześć **{{ .Name }}**.
Twoje konto zostało ponownie aktywowane przy logowaniu.

View File

@@ -0,0 +1,9 @@
subject = "Reset your password"
description = "Password reset"
layout = "user"
==
Hello **{{ .Name }}**.
[Reset your password]({{ .Link }})
Code: {{ .Code }}

9
views/mail/restore.htm Normal file
View File

@@ -0,0 +1,9 @@
subject = "Reset your password"
description = "Reset hasła"
layout = "user"
==
Cześć **{{ .Name }}**.
[Ustaw nowe hasło]({{ .Link }})
Kod: {{ .Code }}