Start working on new design w/ Tailwind

This commit is contained in:
Aleks Rutins 2025-06-09 17:01:51 -04:00
parent f03b9f6f20
commit b29b35e166
No known key found for this signature in database
5 changed files with 27 additions and 6 deletions

View file

@ -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 }
}