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:
@@ -173,13 +173,19 @@ export default function Login({ data }: PageProps<Data, FreshContextState>) {
|
||||
</strong>.
|
||||
</p>
|
||||
|
||||
<h2 class='text-2xl mb-4 text-center'>Need help?</h2>
|
||||
<p class='text-center mt-2 mb-6'>
|
||||
If you're having any issues or have any questions,{' '}
|
||||
<strong>
|
||||
<a href={`mailto:${helpEmail}`}>please reach out</a>
|
||||
</strong>.
|
||||
</p>
|
||||
{helpEmail !== ''
|
||||
? (
|
||||
<>
|
||||
<h2 class='text-2xl mb-4 text-center'>Need help?</h2>
|
||||
<p class='text-center mt-2 mb-6'>
|
||||
If you're having any issues or have any questions,{' '}
|
||||
<strong>
|
||||
<a href={`mailto:${helpEmail}`}>please reach out</a>
|
||||
</strong>.
|
||||
</p>
|
||||
</>
|
||||
)
|
||||
: null}
|
||||
</section>
|
||||
</main>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user