Start working on new design w/ Tailwind
This commit is contained in:
parent
f03b9f6f20
commit
b29b35e166
5 changed files with 27 additions and 6 deletions
|
@ -41,14 +41,14 @@ module Pages
|
|||
link(rel: "stylesheet", href: "/site.css")
|
||||
|
||||
script(defer: true, 'data-domain' => "farthergate.com", src: "https://plausible.farthergate.com/js/script.js")
|
||||
|
||||
@meta.each { |name, content|
|
||||
|
||||
@meta.each { |name, content|
|
||||
meta(name: name, content: content)
|
||||
}
|
||||
}
|
||||
body {
|
||||
header {
|
||||
nav {
|
||||
body(class: 'm-0 p-0') {
|
||||
header(class: 'sticky top-0 bg-white/50 backdrop-blur-md border-gray-500 border-b flex p-3 justify-center') {
|
||||
nav(class: 'flex gap-4') {
|
||||
pages.each { |key, page|
|
||||
a(href: page[:url], class: key == @page ? "active" : "") { page[:title].downcase }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue