Improved contact form and responsive aspect

This commit is contained in:
N0Xx committed 2026-10-22 23:21:07 +02:00
1 parent 216077cd32
commit 98d513acb7
19 files changed
+584 -733

No files matched your search

+9 -2
View File
@@ -14,13 +14,13 @@ return [
// (Proton: Settings > All settings > Proton Mail > IMAP/SMTP > SMTP tokens).
// A @proton.me / @pm.me address will NOT work here: Proton only issues
// SMTP tokens for custom-domain addresses.
'smtp_user' => 'contact@your-domain.tld',
'smtp_user' => 'contact@nelson-thomas.fr',
// The token itself (not your Proton password).
'smtp_token' => 'PASTE_YOUR_SMTP_TOKEN_HERE',
// Where the messages are delivered. Can be any of your addresses.
'to' => 'you@example.com',
'to' => 'nelson.thomas.contact@domain.com',
// Only these sites may post to the form (scheme + host, no trailing slash).
'allowed_origins' => [
@@ -31,6 +31,13 @@ return [
// Anti-spam: messages allowed per visitor IP per hour.
'max_per_hour' => 5,
// Optional: name shown in the email ("... formulaire de contact de <site_name>").
// Leave empty to use the site's domain automatically.
'site_name' => '',
// Time zone used for the date at the bottom of the email.
'timezone' => 'Europe/Paris',
// Random string used to anonymise IPs in the rate-limit files.
// Generate one with: openssl rand -hex 16
'rate_salt' => 'CHANGE_ME_RANDOM_STRING',