Commit graph

68 commits

Author SHA1 Message Date
Oliver Davies 6d2a12c2de Hide event date on talk pages
Don't render `field_event_date` when viewing a talk node.

It contains the latest event date for that talk, so doesn't need to be
displayed as it's duplication of information that's already displayed
and is only there to make it easier to sort the talks on the Talks
listing page.
2024-05-12 08:54:25 +02:00
Oliver Davies 919615ccb8 Revert "Show talks that have been on past days"
This reverts commit 700e7b478b.
2024-05-12 08:54:00 +02:00
Oliver Davies 700e7b478b Show talks that have been on past days
Technically, if a talk is due to be given today, it hasn't been
presented yet and shouldn't be included within the talk count.

This commit changes the comparison to match on talks that were given
yesterday instead of today.
2024-05-11 14:51:01 +02:00
Oliver Davies 9aec0bbff8 Update build configuration files 2024-05-11 13:46:57 +02:00
Oliver Davies 9a96363ff7 Fix event sorting
Re-add `field_event_date` to sort the talks by their most recent event
date in their custom order.
2024-05-02 23:15:33 +01:00
Oliver Davies 6eed26a756 Revert "Remove unused views sort plugin"
This reverts commit c9d44621ff.
2024-04-18 20:44:00 +01:00
Oliver Davies 89cb9a2283 Fix some PHPStan errors 2024-04-18 20:41:03 +01:00
Oliver Davies c9d44621ff Remove unused views sort plugin 2024-04-18 20:26:29 +01:00
Oliver Davies 1706502db3 Delete opdavies_talks.install 2024-04-18 19:52:19 +01:00
Oliver Davies f0caa8fd71 Disable user registration and contact forms 2024-04-18 19:37:18 +01:00
Oliver Davies ed34431abd Add theme screenshot 2024-04-18 18:00:35 +01:00
Oliver Davies 81b88d66c6 Use dark mode with Gin 2024-04-18 16:08:47 +01:00
Oliver Davies 17c2b20e71 Add Gin admin theme and Gin Toolbar module 2024-04-18 15:31:56 +01:00
Oliver Davies b04f403fa2 Add tools as an extra directory to apply patches 2024-04-15 08:03:07 +01:00
Oliver Davies b88c386003 Revert "Downgrade PHP to 8.1"
This reverts commit e3f18accef.
2024-04-15 07:51:52 +01:00
Oliver Davies d2ec2d4ab4 Fix token error 2024-04-15 07:49:30 +01:00
Oliver Davies f6de1df830 Don't sort events if there's only one event 2024-04-15 07:30:53 +01:00
Oliver Davies b1145ab613 Enable opcache 2024-04-14 12:10:34 +01:00
Oliver Davies e3f18accef Downgrade PHP to 8.1
Let's see if this fixes the token error on talk nodes:

> TypeError: Cannot access offset of type string on string in
Drupal\token\Token->prepareMultisort() (line 89 of
/var/www/html/web/modules/contrib/token/src/Token.php).
2024-04-14 12:09:48 +01:00
Oliver Davies ace0376969 Add metatag module 2024-04-14 00:48:19 +01:00
Oliver Davies 0864a6f5c8 Fix spacing 2024-04-13 22:04:15 +01:00
Oliver Davies b30cb1ff84 Revert "Reduce spacing in one column layout"
This reverts commit aec07978e6.
2024-04-13 20:23:16 +01:00
Oliver Davies f670165324 Change warning colour, add status colour 2024-04-13 19:51:07 +01:00
Oliver Davies 61b5afa03d Style warning status message
https://flowbite.com/docs/components/alerts
2024-04-13 19:36:13 +01:00
Oliver Davies aec07978e6 Reduce spacing in one column layout 2024-04-13 19:10:39 +01:00
Oliver Davies 620ad968b7 Uninstall markdown 2024-04-13 19:10:05 +01:00
Oliver Davies cc0ad7057d Update lock file 2024-04-13 16:06:02 +01:00
Oliver Davies f3ff716a08 Fix layout pages with Tailwind CSS dark mode 2024-04-13 15:51:19 +01:00
Oliver Davies c50bd8e32c Re-export node_talk pathauto pattern config 2024-04-13 15:11:11 +01:00
Oliver Davies d666a4da63 Style local tasks 2024-04-13 15:10:41 +01:00
Oliver Davies d5c1c26fa4 Add podcast content type 2024-04-13 13:22:09 +01:00
Oliver Davies bea7558324 Rename basic page 2024-04-13 11:52:44 +01:00
Oliver Davies f259de4836 Show the most recent talks first 2024-04-12 20:11:41 +01:00
Oliver Davies fd6eab8bb2 Use the talk count token 2024-04-12 20:07:28 +01:00
Oliver Davies 01398280c7 Re-add opdavies_talks module 2024-04-11 23:06:13 +01:00
Oliver Davies c4f976fcf7 No need to minify stylesheet
Drupal will do this automatically with its performance settings.
2024-04-11 07:50:39 +01:00
Oliver Davies d47c030010 Revert "Add @hotwired/turbo"
This reverts commit e1a7317431.
2024-04-10 22:55:07 +01:00
Oliver Davies e1a7317431 Add @hotwired/turbo 2024-04-10 22:49:32 +01:00
Oliver Davies 71bf97b891 Export config 2024-04-10 14:17:19 +01:00
Oliver Davies 7f33d137ba Export config 2024-04-10 13:15:32 +01:00
Oliver Davies f679931101 Talk page templates 2024-04-10 11:33:32 +01:00
Oliver Davies b59fe9eeac Fix event list spacing 2024-04-10 00:17:40 +01:00
Oliver Davies ff0a7246e5 Add events list view 2024-04-10 00:05:47 +01:00
Oliver Davies 5639baba18 Add prose classes to the events list 2024-04-09 23:48:25 +01:00
Oliver Davies dc1c2922f1 Re-add CKEditor to the basic HTML text format 2024-04-09 21:21:04 +01:00
Oliver Davies f10fd9b803 Configure pathauto for talk nodes 2024-04-09 21:21:04 +01:00
Oliver Davies ee375afb71 Add events to talks 2024-04-09 21:21:04 +01:00
Oliver Davies f3f8a41d6a Update talk field weights 2024-04-09 14:51:19 +01:00
Oliver Davies 87fa51ea7f Add initial talks
- Add a talk content type
- Add slides field to talks
- Add video field
- Add events field and paragraphs
2024-04-09 14:41:21 +01:00
Oliver Davies 3990247e64 Fix page margins to match Sculpin pages 2024-04-09 12:06:09 +01:00