From 504513d1b47a8dfc9dccfca7b7113bbfdfbaa21c Mon Sep 17 00:00:00 2001 From: David Gay Date: Mon, 5 Apr 2021 23:28:30 -0400 Subject: Basic FE setup --- app/views/application/_footer.html.erb | 7 +++++++ app/views/application/_header.html.erb | 7 +++++++ app/views/home/index.html.erb | 15 +++++++++++++-- app/views/layouts/application.html.erb | 10 ++++++++-- 4 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 app/views/application/_footer.html.erb create mode 100644 app/views/application/_header.html.erb (limited to 'app/views') diff --git a/app/views/application/_footer.html.erb b/app/views/application/_footer.html.erb new file mode 100644 index 0000000..d4ba8fb --- /dev/null +++ b/app/views/application/_footer.html.erb @@ -0,0 +1,7 @@ + diff --git a/app/views/application/_header.html.erb b/app/views/application/_header.html.erb new file mode 100644 index 0000000..0b317ad --- /dev/null +++ b/app/views/application/_header.html.erb @@ -0,0 +1,7 @@ +
+
+ Appendix Q +
+
+
+
diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index d87f31a..e255981 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -1,3 +1,14 @@ -

Appendix Q

+

Welcome to Appendix Q.

-

Testing Tailwind

+

Appendix Q is intended to eventually be a collection of free tools and utilities for use with various tabletop + role-playing games, for gamemasters and players alike.

+ +

This is a brand new project by one person (myself). I've recently started running a + <%= link_to "PTU", "https://pokemontabletop.com/" %> game for my group, and the available community tools for + this system are either out of date or don't have all the features I want. So I figured I'd make them myself. + Likely, tools for other systems will come along as well.

+ +

If you'd like to see a certain tool made, + <%= link_to "open an issue on GitHub", "https://github.com/dtgay/appendix-q/issues" %> + or send an email to <%= link_to "hello@davidgay.org", "mailto:hello@davidgay.org" %>. If you know how to program, + you can also fork Appendix Q on GitHub and submit a pull request with the feature!

diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 303ac9d..ac331aa 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,5 +1,5 @@ - + AppendixQ @@ -11,6 +11,12 @@ - <%= yield %> +
+ <%= render "header" %> +
+ <%= yield %> +
+ <%= render "footer" %> +
-- cgit v1.2.3