Commit graph

128 commits

Author SHA1 Message Date
Ruben
199b49ef9e Update announcement bar styling and structure
Add label element with uppercase styling
Adjust content font size for better readability
Maintain semantic HTML structure
2026-01-17 13:35:35 +01:00
Ruben
cb590ac1ab Change filenames for priority 2026-01-17 13:04:18 +01:00
Ruben
4e488ee403 Remove medical cannabis petition campaign files
Update metadata title for better context
2026-01-17 13:03:42 +01:00
Ruben
f0320cd870 Update image and grid container sizing
Fix image width to 100% for consistent sizing
Adjust grid container gutter to 0.8rem for symmetry
2026-01-17 13:03:36 +01:00
Ruben
673ff9400d Update list template structure to use semantic section element 2026-01-17 13:03:23 +01:00
Ruben
2cf9839152 Remove escape class from cover section 2026-01-17 01:05:39 +01:00
Ruben Solvang
e49aaa108f Fix merge conflicts 2026-01-17 01:04:57 +01:00
Ruben Solvang
4ad9a23b3f Innhold lagt til pfra server-siden 2026-01-17 00:29:54 +01:00
Ruben
8f88e242b7 Add newsletter signup plugin with Listmonk integration
Add newsletter signup page with small theme example
2026-01-17 00:03:41 +01:00
Ruben
e7f2832751 Add announcement bar for medical cannabis petition 2026-01-17 00:03:33 +01:00
Ruben
482e24c477 Update base.css 2026-01-17 00:03:19 +01:00
Ruben
30876a8ad5 Update metadata with newsletter signup plugin 2026-01-17 00:03:15 +01:00
Ruben
e23167d771 Add newsletter form translations for English and Norwegian
[newsletter]
Add labels, placeholders, and messages for both languages
Include success and error states for user feedback
2026-01-17 00:03:03 +01:00
Ruben
375db3c3f7 Add announcement bar styling
Implement responsive announcement bar with gradient background
and hover effects using modern CSS features like nesting
and clamp() for fluid typography
2026-01-17 00:02:58 +01:00
Ruben
8018157c7a Add unescape class to brochure CTA content
This change ensures the content is rendered without HTML escaping,
allowing proper formatting of the text and links.
2026-01-17 00:02:45 +01:00
Ruben
c50c4d481f Add base URL rewrite rules and secure petition data files
Add base URL rewrite rules for app routing
Secure petition data files with access restrictions
2026-01-16 22:02:14 +01:00
Ruben
93cfbea69a Add custom data CSV files to gitignore 2026-01-16 22:02:08 +01:00
Ruben
3965898c10 Update config.ini 2026-01-16 22:01:59 +01:00
Ruben
de2c121188 Remove English and Norwegian thank you pages for petition
The pages were deleted as they are no longer needed in the current
implementation of the petition system
2026-01-16 21:47:43 +01:00
Ruben
0ae35f6c8f Add Listmonk newsletter configuration example
This provides a template for integrating Listmonk's public API
with the newsletter functionality, including list UUIDs and
basic configuration options.
2026-01-16 21:46:39 +01:00
Ruben
4eadaea6c6 Add Listmonk newsletter configuration
Configure Listmonk integration with enabled status and list UUIDs
Add Listmonk newsletter configuration

Uses Listmonk's public subscription API with double opt-in
Includes two list UUIDs for newsletter subscriptions
Add Listmonk newsletter configuration

Add listmonk-config.php to .gitignore
2026-01-16 21:45:21 +01:00
Ruben
1f74cb3c84 Add thank you page for medical cannabis petition
Add English and Norwegian versions of the thank you page
with confirmation instructions and newsletter subscription
notification when applicable

Style the warning highlight with oklch color
2026-01-16 21:45:01 +01:00
Ruben
269bfe994c Add newsletter subscription option to petition form
Update email error message to suggest checking address
Add petition form plugin to thank you page metadata
2026-01-16 21:44:48 +01:00
Ruben
fcddc9af93 Add podman compose requirement to development workflow
Clarify PHP environment dependency and port usage
for development site access
2026-01-16 21:44:35 +01:00
Ruben
b092683513 Add margin to consent label after checkbox 2026-01-16 21:44:29 +01:00
Ruben
054c59f177 Add newsletter subscription to petition form
Add Listmonk integration for newsletter subscriptions
Add newsletter checkbox to form
Handle newsletter subscription on form submission
Add session flag for thank you page
Remove duplicate sign-now ID from form section
2026-01-16 21:43:48 +01:00
Ruben
afeeb658de Update call to action in medical cannabis campaign intro
Fix Norwegian text formatting and strengthen message
2026-01-16 19:49:48 +01:00
Ruben
e412902842 Reduce font size for yellow info box text 2026-01-16 19:49:41 +01:00
Ruben
cc27724bfe Update padding values for CTA button 2026-01-16 19:35:55 +01:00
Ruben
3a5e3004c7 Add medical cannabis petition campaign
Add cover image, introduction, call-to-action, and thank-you pages
Add petition form styling and functionality
Include bilingual support for English and Norwegian
Implement signature confirmation flow
Add metadata for campaign configuration
2026-01-16 00:37:42 +01:00
Ruben
ec7f87a574 Add English and Norwegian privacy policy documents
Add metadata for privacy policy page

Add privacy policy page with GDPR compliance details
2026-01-16 00:37:32 +01:00
Ruben
4a5d035c2e Add petition form plugin with GDPR-compliant double opt-in email
confirmation
2026-01-16 00:37:13 +01:00
Ruben
5068e814ff Add custom data directory to gitignore 2026-01-16 00:36:55 +01:00
Ruben
e21282112d Add huge class for larger table styling 2026-01-16 00:36:11 +01:00
Ruben
27a1ae0751 Add GDPR consent and privacy policy translations
Add month names in both languages
Clarify display preference wording
Update privacy policy and consent text for both English and Norwegian
Add GDPR rights information
2026-01-16 00:36:07 +01:00
Ruben
5e4bb59a78 Add escape class to hero section for styling 2026-01-16 00:36:00 +01:00
Ruben
3cce5d32d5 Add .claude to gitignore 2026-01-16 00:35:44 +01:00
Ruben
b452c73de3 Update translation keys to use dot notation
Update content rendering to use wrapped content fallback
2026-01-14 23:16:19 +01:00
Ruben
443c44d095 Add section headers to language files and update petition messages
Add GDPR-compliant expiration to confirmation links
Add IP rate limiting error message
Update region list to current Norwegian counties
Add signature deletion functionality
Add thank you email with deletion option
Improve error messages and user feedback
2026-01-14 23:16:14 +01:00
Ruben
22717168ae Update article structure and fix translation keys
Fix translation keys in FAQ template
Add article wrapper to page template
2026-01-14 23:15:58 +01:00
Ruben
6682e94798 Remove redundant article container and extra whitespace
Remove unnecessary closing article tags and extra whitespace
2026-01-14 23:15:43 +01:00
Ruben
7124812e4d Rename Dockerfile to Containerfile 2026-01-14 23:15:34 +01:00
Ruben
5f8284041c Add development environment and workflow section
Add edit instructions for AGENT.md file
2026-01-14 23:15:18 +01:00
Ruben
fd1f152e55 Update email validation to return false for invalid addresses
Fix email validation to properly handle invalid addresses by returning
false
2026-01-14 20:25:59 +01:00
Ruben
b1f19e2cdd Add inherit font to table elements 2026-01-14 20:25:51 +01:00
Ruben
82b94a1eb7 Add petition form translations for English and Norwegian
Add Norwegian region names for petition form

Add email confirmation messages for petition form

Add error handling messages for petition form

Add signature display options for petition form
2026-01-14 20:25:42 +01:00
Ruben
21216f4564 Update AGENT.md to reflect current project rules
Remove redundant documentation and reorganize content to match the
project's current structure and constraints. The updated file now aligns
with the minimalist philosophy and core constraints while maintaining
all essential information in a more concise format.
2026-01-14 20:25:25 +01:00
Ruben
ee7bb7a7a6 Add petition-specific SMTP configuration options
Add optional petition-specific SMTP configuration overrides
to the example configuration file, maintaining the existing
defaults while allowing customization for petition emails
2026-01-14 20:24:57 +01:00
Ruben
6cf9710ac1 Add Docker configuration for PHP 8.4 Apache container
Enable Apache rewrite module and custom configuration
Configure logging to container output streams
Update compose file to use build context instead of direct image
Remove redundant volume mount for apache.conf
Remove unnecessary command override
2026-01-14 20:24:41 +01:00
Ruben
7d12fe5654 Add custom SMTP config file to repository
This file is now essential for production deployment and should be
versioned
2026-01-14 20:23:49 +01:00