Commit graph

66 commits

Author SHA1 Message Date
Ruben Solvang
e0a0a7524c Legg til nyhet 2025-11-28 23:22:15 +00:00
Ruben
4d8c66fdfc Update .htaccess for PHP 8.4 compatibility 2025-11-04 23:12:39 +01:00
Ruben Solvang
c2833a1f06 Merge branch 'latest' of forge.dmz.skyfritt.net:stopplidelsen/innhold into latest
Conflicts:
	.gitignore
2025-11-04 22:06:18 +00:00
Ruben
6034ab6b59 Add content .htaccess to gitignore 2025-11-04 23:05:34 +01:00
Ruben Solvang
44a2a7f713 Merge branch 'latest' of forge.dmz.skyfritt.net:stopplidelsen/innhold into latest 2025-11-04 22:03:03 +00:00
Ruben
2f5d3e6063 Update title to remove introductory phrase 2025-11-04 23:02:59 +01:00
Ruben Solvang
cb38de1429 Merge branch 'latest' of forge.dmz.skyfritt.net:stopplidelsen/innhold into latest 2025-11-04 22:01:58 +00:00
Ruben
a558bf3afb Update title and add social media metadata
Add Open Graph and Twitter Card metadata for better social sharing
Implement dynamic title formatting with site title suffix Add support
for social sharing images with fallback to hero image Include default
description for better SEO Ensure proper URL handling for both HTTP and
HTTPS
2025-11-04 23:01:36 +01:00
Ruben Solvang
9f046a368d Merge branch 'latest' of forge.dmz.skyfritt.net:stopplidelsen/innhold into latest 2025-11-04 21:39:42 +00:00
Ruben Solvang
e44d0251ce Legg til ignorerte filer 2025-11-04 21:39:33 +00:00
Ruben
7e44e7e132 Add CSRF protection and rate limiting to contact form
Improve contact form styling with dedicated CSS file Move contact form
styles from base.css to separate file Add security measures to custom
directory with .htaccess Update honeypot field styling and
implementation
2025-11-04 22:33:14 +01:00
Ruben
c013c2cde3 Add contact form with spam protection
Add social media links to contact page

Move history content to dedicated page

Add SMTP configuration file

Update frontpage link styling
2025-11-04 22:19:58 +01:00
Ruben
b3cefcdc57 Add PHPMailer Lite vendor library
This commit adds the PHPMailer Lite library to the vendor directory. The
library is a lightweight version of PHPMailer designed for sending
emails with support for SMTP, Sendmail, and IMAP transports. It includes
features like HTML email composition, attachments, and embedded images.
The library is licensed under the MIT license and requires PHP version
8.0.0 or greater.
2025-11-04 22:19:44 +01:00
Ruben
b8d944cc9d Add dynamic meta description and page-specific CSS
Add meta description tag when available Include page-specific CSS when
provided
2025-11-03 23:10:09 +01:00
Ruben
09b014a756 Add hero and CTA section styles
Add responsive hero section with background image and centered text
Include CTA section with gradient background and centered content
2025-11-03 23:05:46 +01:00
Ruben
59fdc1a8ee Update frontpage.php 2025-11-03 23:05:38 +01:00
Ruben
f503e5289f Fix navigation list item structure in base template 2025-11-03 22:35:50 +01:00
Ruben Solvang
43b0abac3f Endre kontaktside 2025-11-03 20:53:02 +00:00
Ruben
45de82b8df Update PHP version to 8.4.14 and hide analytics pixel 2025-11-01 23:42:13 +01:00
Ruben
e00e8e790f Update README with content repository structure and documentation 2025-11-01 20:18:10 +01:00
Ruben Solvang
9fbfc1d466 Fjern debug.php 2025-11-01 15:10:13 +00:00
Ruben Solvang
012c68f7ab Legg til innhold 2025-11-01 14:33:06 +00:00
Ruben
102ad19f8d Update analytics tracking to use current page URL
Fix tracking to use the actual page URL instead of a hardcoded test path
2025-10-21 22:14:53 +02:00
Ruben
63dab82d1d Add GoatCounter tracking script to base template 2025-10-21 22:10:53 +02:00
Ruben
9cb7638892 Update link to use redirect URL instead of direct URL 2025-10-21 21:57:37 +02:00
Ruben
08feb3bdbf Reduce spacing between card action buttons 2025-10-21 21:55:41 +02:00
Ruben
a9b3b4e765 Remove commented article margin rule and apply to aside only 2025-10-21 21:44:32 +02:00
Ruben
0e9a488f10 Add about section and improve CTA styling
Update CTA section text and styling Move about section to top of page
Remove duplicate about section Adjust spacing and margins for better
layout
2025-10-21 21:42:29 +02:00
Ruben
76ed5e78ca Update frontpage and contact information
Update contact details and social media links Add "Learn more" button to
front page Remove English frontpage and contact page Improve
call-to-action section text
2025-10-21 21:15:27 +02:00
Ruben
e4f770626f Use pdf link if available for cover images 2025-10-21 20:33:06 +02:00
Ruben Solvang
8f879c998f Legg til innhold 2025-10-21 18:31:16 +00:00
Ruben
18782afc7d Add link to deep article when available
Add conditional logic to display "Les dybdeartikkel" link when redirect
URL is present, otherwise show "Les mer" link
2025-10-20 22:17:46 +02:00
Ruben
22eaf014e1 Add cover images and redirect paths for brochures
Add redirect paths to article pages for all brochure types Add cover
images for all brochure types
2025-10-20 22:17:34 +02:00
Ruben Solvang
42629eed10 Rediger artikkler 2025-10-20 19:38:36 +00:00
Ruben
5879af9a99 Add download link for organization's bylaws
Add styling for button element on contact page
2025-10-16 22:17:31 +02:00
Ruben Solvang
e30c9af879 Legg til nytt innhold 2025-10-16 19:49:26 +00:00
Ruben
89c4ce89b6 Add FAQ page template and improve button styling
Update frontpage content and styling Add metadata for new FAQ pages
Implement consistent button styling across templates
2025-10-15 20:51:38 +02:00
Ruben Solvang
f906c5b444 Merge branch 'latest' of forge.dmz.skyfritt.net:stopplidelsen/innhold into latest 2025-10-15 17:29:26 +00:00
Ruben Solvang
edf5838d39 Add content 2025-10-15 17:29:12 +00:00
Ruben
5d50632523 Add list-card-grid template and update metadata
Update brosjyrer and FAQ pages to use new list-card-grid template
instead of deprecated list_style grid option
2025-10-15 19:28:40 +02:00
Ruben
186259cb83 Update brochure download links and add article buttons
Add PDF files for all brochure types Remove redundant text and
formatting Standardize button links across all brochures
2025-10-14 21:07:44 +02:00
Ruben Solvang
13f129b290 Legg til nytt innhold 2025-10-14 18:29:36 +00:00
Ruben
32c470d2d6 Fix ordered list 2025-10-05 22:28:11 +02:00
Ruben Solvang
4f4dfe8eed Nytt innhold 2025-10-05 20:19:56 +00:00
Ruben
c501635912 Move documentation files from custom to content directory 2025-10-03 13:12:38 +02:00
Ruben
cea2c167ff Update internal links to use absolute paths
Update developer documentation paths and rename to "Utvikling"
2025-10-03 12:35:36 +02:00
Ruben
7ad0062dee Add documentation 2025-10-03 12:30:04 +02:00
Ruben
c3f821caef Remove doctor brochure and update related content
Update brochure descriptions and remove outdated references Refine
frontpage call-to-action for clarity Standardize QR code reference
across brochures Remove redundant sections from patient organization
brochure
2025-10-03 11:43:05 +02:00
Ruben
214b93ec88 Fix grammar and punctuation in cannabis brochure content 2025-10-03 00:40:09 +02:00
Ruben
75abd95fa5 Update brochure titles for clarity
Update titles to be more concise while maintaining context for each
target audience (health professionals, patient organizations, and
politicians)
2025-10-03 00:34:33 +02:00