elixirschool / school_house

The new era of Elixir School now powered by @phoenixframework
https://elixirschool.com/
Apache License 2.0
155 stars 49 forks source link

Update All Templates To heex #149

Closed kinson closed 3 years ago

kinson commented 3 years ago

Overview

This pr updates all templates from .eex & .leex -> .heex . This completes (unless I am forgetting something) the Phoenix upgrade to 1.6 🎉

Still a WIP - I need to validate the updated pages

~Todo:~ _section_header.html.heex

~I still need to update this template (and is the reason tests/builds are failing). It is different than the other templates in that it determines the tag type at compile time right now - this may be a good candidate for a LiveComponent.~

I just updated this to use Phoenix.HTML.content_tag/2 instead since the template is rendered at compile time so a live component would not work here afaik.