From 392cc8a0f938b0f363e1a9227d5ff9a3ecbdbe10 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sun, 29 Oct 2023 21:50:03 -0400 Subject: some website formatting --- app/views/layouts/wittle/application.html.haml | 5 ++++- app/views/wittle/puzzles/show.html.haml | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'app/views') diff --git a/app/views/layouts/wittle/application.html.haml b/app/views/layouts/wittle/application.html.haml index 80519f4..1226d79 100644 --- a/app/views/layouts/wittle/application.html.haml +++ b/app/views/layouts/wittle/application.html.haml @@ -7,4 +7,7 @@ = stylesheet_link_tag "wittle/application", media: "all" = javascript_include_tag "wittle/application" %body - #wrap= yield + #wrap + %header#banner + %h1= link_to "Wittle", root_url + = yield diff --git a/app/views/wittle/puzzles/show.html.haml b/app/views/wittle/puzzles/show.html.haml index c46e5ce..8628298 100644 --- a/app/views/wittle/puzzles/show.html.haml +++ b/app/views/wittle/puzzles/show.html.haml @@ -1,4 +1,5 @@ %h1 Wittle ##{@puzzle.id} +.puzzle-description #{@puzzle.category.capitalize} - #{@puzzle.created_at.strftime("%B %-d, %Y")} #puzzle-container{ style: "display: flex; justify-content: center; align-items: center" } %svg#puzzle{ style: "pointer-events: auto"} #submission-form -- cgit 1.4.1