From 1622895cd467f59f25fe375f081aa59693ae4c8f Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 10 Oct 2023 22:23:24 -0400 Subject: Hey it looks like Four Island --- app/views/blogs/_blog.html.haml | 10 +++++++-- app/views/layouts/application.html.haml | 39 +++++++++++++++++++-------------- 2 files changed, 31 insertions(+), 18 deletions(-) (limited to 'app/views') diff --git a/app/views/blogs/_blog.html.haml b/app/views/blogs/_blog.html.haml index 91b1d20..317ef1f 100644 --- a/app/views/blogs/_blog.html.haml +++ b/app/views/blogs/_blog.html.haml @@ -1,3 +1,9 @@ %article#blog-post - %h2#blog-title= blog.title - %section#blog-content.entry-content= blog.body.html_safe + %header + .post-calendar{ class: "post-date-#{(blog.published_at.year - 2007) % 4 + 1}" } + %span.post-month= blog.published_at.strftime("%^b") + %span.post-day= blog.published_at.day + .blog-title + %h2= blog.title + .post-author Hatkirby + %blockquote#blog-content.entry-content.bubble.rounded.bottom= blog.body.html_safe diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index db45235..d529af6 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -11,19 +11,26 @@ - if flash[:notice] %div#flash.flash-notice= flash[:notice] #container - #sidebar - .sidebar-module - %h2 I'm Starlight. - %p Coding is what I do. I make a lot of things, including Twitter bots. I really like Pokémon, and I write about it a lot. - %p B.S. in CS, Carnegie Mellon 2017 - .sidebar-module - %h2 Meta - %ul - - if not user_signed_in? - %li= link_to "Log in", new_user_session_path - - if user_signed_in? - %li= link_to "Admin", admin_url - %li= link_to "Log out", destroy_user_session_path, method: :delete - #main - %header#banner= link_to "feffernoo.se", root_url - #content= yield + #page-header + %header#banner + %h1= link_to "Four Island", root_url + #page-body + #sidebar + .sidebar-module + %blockquote.pimped.bubble.rounded.bottom + %h2 I'm Hatkirby. + %p Coding is what I do. I make a lot of things, including Twitter bots. I really like Pokémon, and I write about it a lot. + %p B.S. in CS, Carnegie Mellon 2017 + %cite.bubble + Hatkirby on Four Island + .sidebar-module + .bubble.rounded + %h2 Meta + %ul + - if not user_signed_in? + %li= link_to "Log in", new_user_session_path + - if user_signed_in? + %li= link_to "Admin", admin_url + %li= link_to "Log out", destroy_user_session_path, method: :delete + #main + #content= yield -- cgit 1.4.1