Custom Title, Description and Help Email (#54)

* Add configuration of Help email, Title, Description

* Format configuration changes

* Use fragments for help sections

* Revert cleanup in misc.ts
This commit is contained in:
Prefex
2025-03-20 16:18:09 +01:00
committed by GitHub
parent 9e05f591b8
commit 5467fb3533
5 changed files with 47 additions and 19 deletions

View File

@@ -194,8 +194,13 @@ export default function Settings({ formData: formDataObject, error, notice, curr
<h2 class='text-2xl mb-4 text-left px-4 max-w-screen-md mx-auto lg:min-w-96'>Delete your account</h2>
<p class='text-left mt-2 mb-6 px-4 max-w-screen-md mx-auto lg:min-w-96'>
Deleting your account is instant and deletes all your data. If you need help, please{' '}
<a href={`mailto:${helpEmail}`}>reach out</a>.
Deleting your account is instant and deletes all your data. {helpEmail !== ''
? (
<>
If you need help, please <a href={`mailto:${helpEmail}`}>reach out</a>.
</>
)
: null}
</p>
<form method='POST' class='mb-12'>