Added bloated feature

master
E. Almqvist 3 years ago
parent 9263076701
commit b2955bb8c9
  1. 6
      src/app.rb
  2. 7
      src/misc/subtitles.txt
  3. 20
      src/views/layout.slim
  4. 44
      src/views/stylesheets/style.sass

@ -6,6 +6,12 @@ require "slim"
require "sqlite3" require "sqlite3"
require "sassc" require "sassc"
def get_random_subtitle
subtitles = File.readlines "misc/subtitles.txt"
subtitles.sample
end
get "/" do get "/" do
slim :index slim :index
end end

@ -0,0 +1,7 @@
V2FpdCwgbW9uZXkgaGFzIG5vIHZhbHVlPyEK
No such place like 127.0.0.1!
Fourty-two? What is that supposed to mean?
I use Arch btw
They glow in the dark...
What sort of executable format do you intend to support for apps running under your OS?
I would just like to interject for a moment...

@ -7,14 +7,18 @@ html lang="en"
title The Auction House title The Auction House
body body
header header
nav div
ul div#logo_container
li h1 = "The Auction House"
a.button#register href="/register" target="_self" h2 = get_random_subtitle
| Register nav
li ul
a.button#login href="/login" target="_self" li
| Log in a.button#register href="/register" target="_self"
| Register
li
a.button#login href="/login" target="_self"
| Log in
==yield ==yield

@ -27,20 +27,44 @@ body
header header
background-color: $bg_alt_clr background-color: $bg_alt_clr
border-bottom: 1px solid $shadow_clr border-bottom: 1px solid $shadow_clr
nav padding: .2rem 0 .6rem 0
div
display: flex
max-width: 80rem max-width: 80rem
margin: 0 auto margin: 0 auto
padding: 8px
div#logo_container
ul
margin: 0
display: flex display: flex
flex-direction: row flex-direction: column
list-style-type: none margin: 0
justify-content: flex-end h1
margin: 0
opacity: .5
font-size: 2rem
font-weight: bold
h2
padding-left: 6px
margin: 0
opacity: .28
font-size: .8rem
font-style: italic
font-weight: normal
nav
margin: 0 0 0 auto
padding: 8px
ul
margin: 0
display: flex
flex-direction: row
list-style-type: none
justify-content: flex-end
li li
margin: 0 8px margin: 0 8px
#login #login

Loading…
Cancel
Save