soundbirder/views/layout.pug

34 lines
1.5 KiB
Plaintext
Raw Normal View History

2022-08-17 14:27:37 +02:00
doctype html
html(lang=locale)
head
title= title
meta(name="viewport" content="width=device-width, initial-scale=1.0")
link(rel="stylesheet" href="/stylesheets/style.css")
2023-07-29 18:21:40 +02:00
link(rel="stylesheet" href="/stylesheets/game.css")
if csrf_token
meta(name="csrf-token" content=csrf_token)
body
2023-07-29 18:21:40 +02:00
.flex.flex-col.min-h-screen
.flex-1.p-5
.menu.justify-between
nav(role="navigation").flex.flex-row
- var i18n_prefix = locale ? '/' + locale : ''
span.nav-item
2024-02-11 20:39:28 +01:00
a(href=`${i18n_prefix}/` title=__('Play the quizz')) #{ __('Game') }
span.nav-item
2024-02-11 20:39:28 +01:00
a(href=`${i18n_prefix}/about` title=__('About this game')) #{ __('About') }
include lang.pug
2023-07-29 18:21:40 +02:00
header
h1= title
main.flex-1
2023-07-29 18:21:40 +02:00
block content
footer.w-full.bg-black.text-white.text-center.p-5
.description
2024-01-08 23:02:04 +01:00
.copyright
a(href="https://www.gnu.org/licenses/agpl-3.0.en.html") 🄯
| 2022 - by
2023-07-29 18:21:40 +02:00
span.author
2024-01-08 23:02:04 +01:00
a(href="https://samuel.ortion.fr" class="link") Samuel Ortion
script(src="/javascripts/app.js" type="module")
2024-01-17 12:13:08 +01:00
script(src="/dist/feather/feather.min.js")
script(src="/javascripts/lang.js")