Commit graph

7 commits

Author SHA1 Message Date
ebff42d899
Brutal legends (albums) data (#13)
* Improve Directus client event sorting and filtering

* Add Directus client getters: albums, album

* Rearrange home view

Add brutal legends move some things around.
2024-10-03 09:55:44 +02:00
84f4b8007a
Article list view (#12)
* Add article list view

* Add article view CSS

* Cleanup scaffold app layout

Most importantly, fix issue with page title.

* Add article view to Page controller

* Add article list view to router
2024-10-03 09:38:07 +02:00
f17558daaf
Add homepage view (#10)
* Ignore rel dir

* Add assets

* Add assets to esbuild bundle

* Add upcoming filter to Directus events

* Add homepage
2024-10-01 16:44:34 +02:00
0d4c743403
Ship using container image (#8)
* Ignore files when creating container image

* Add Containerfile

Generated using mix phx.gen.release --docker.

Updated to use Alpine instead of Debian (-50% disk
usage), and stripped away comments.
2024-09-15 22:45:00 +02:00
8bbe8a1b24
Item views (#7)
* Add Earmark dependency

For markdown to HTML conversion

* Display items by slug: articles, pages

* Handle 401 Forbidden responses in Directus

* Add item controller as pokemon route

* Strip out generated layouts

* Plan future routes

* Look for item in order: article, link, event, album

* Add item templates
2024-09-06 22:41:12 +02:00
e907e347c9
Directus client (#1)
* Add Req dependency

* Introduce dev.secrets file

* Configure directus by env vars in prod

* Add Directus module

* Add item getters

* Add list getters

---------

Co-authored-by: Anders Englöf Ytterström <anders@playmaker.ai>
2024-09-05 00:45:14 +02:00
Anders Englöf Ytterström
8e1f1bae97 Initiate next madr.se site
mix phx.new mse25 \
  --no-ecto \
  --no-tailwind \
  --no-dashboard \
  --no-live \
  --no-mailer
2024-09-04 10:12:36 +02:00