From 0929719a845897cc8567cf972e07a69a71f0fa6f Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 30 Nov 2023 13:29:08 -0500 Subject: Migrate to a full rails app --- app/views/layouts/application.html.haml | 13 +++++++++++++ app/views/layouts/mailer.html.erb | 13 +++++++++++++ app/views/layouts/mailer.text.erb | 1 + app/views/layouts/wittle/application.html.haml | 13 ------------- 4 files changed, 27 insertions(+), 13 deletions(-) create mode 100644 app/views/layouts/application.html.haml create mode 100644 app/views/layouts/mailer.html.erb create mode 100644 app/views/layouts/mailer.text.erb delete mode 100644 app/views/layouts/wittle/application.html.haml (limited to 'app/views/layouts') diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml new file mode 100644 index 0000000..cae8de9 --- /dev/null +++ b/app/views/layouts/application.html.haml @@ -0,0 +1,13 @@ +!!! 5 +%html + %head + %title Wittle + = csrf_meta_tags + = csp_meta_tag + = stylesheet_link_tag "application", "data-turbo-track": "reload" + = javascript_include_tag "application" + %body + #wrap + %header#banner + %h1= link_to "Wittle", root_url + = yield diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb new file mode 100644 index 0000000..3aac900 --- /dev/null +++ b/app/views/layouts/mailer.html.erb @@ -0,0 +1,13 @@ + + + + + + + + + <%= yield %> + + diff --git a/app/views/layouts/mailer.text.erb b/app/views/layouts/mailer.text.erb new file mode 100644 index 0000000..37f0bdd --- /dev/null +++ b/app/views/layouts/mailer.text.erb @@ -0,0 +1 @@ +<%= yield %> diff --git a/app/views/layouts/wittle/application.html.haml b/app/views/layouts/wittle/application.html.haml deleted file mode 100644 index 1226d79..0000000 --- a/app/views/layouts/wittle/application.html.haml +++ /dev/null @@ -1,13 +0,0 @@ -!!! 5 -%html - %head - %title Wittle - = csrf_meta_tags - = csp_meta_tag - = stylesheet_link_tag "wittle/application", media: "all" - = javascript_include_tag "wittle/application" - %body - #wrap - %header#banner - %h1= link_to "Wittle", root_url - = yield -- cgit 1.4.1