about summary refs log tree commit diff stats
path: root/app/views/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/application.html.haml39
1 files changed, 23 insertions, 16 deletions
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 @@
11 - if flash[:notice] 11 - if flash[:notice]
12 %div#flash.flash-notice= flash[:notice] 12 %div#flash.flash-notice= flash[:notice]
13 #container 13 #container
14 #sidebar 14 #page-header
15 .sidebar-module 15 %header#banner
16 %h2 I'm Starlight. 16 %h1= link_to "Four Island", root_url
17 %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. 17 #page-body
18 %p B.S. in CS, Carnegie Mellon 2017 18 #sidebar
19 .sidebar-module 19 .sidebar-module
20 %h2 Meta 20 %blockquote.pimped.bubble.rounded.bottom
21 %ul 21 %h2 I'm Hatkirby.
22 - if not user_signed_in? 22 %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.
23 %li= link_to "Log in", new_user_session_path 23 %p B.S. in CS, Carnegie Mellon 2017
24 - if user_signed_in? 24 %cite.bubble
25 %li= link_to "Admin", admin_url 25 <strong>Hatkirby</strong> on Four Island
26 %li= link_to "Log out", destroy_user_session_path, method: :delete 26 .sidebar-module
27 #main 27 .bubble.rounded
28 %header#banner= link_to "feffernoo.se", root_url 28 %h2 Meta
29 #content= yield 29 %ul
30 - if not user_signed_in?
31 %li= link_to "Log in", new_user_session_path
32 - if user_signed_in?
33 %li= link_to "Admin", admin_url
34 %li= link_to "Log out", destroy_user_session_path, method: :delete
35 #main
36 #content= yield