2022-08-17 14:27:37 +02:00
|
|
|
doctype html
|
|
|
|
html
|
2022-08-28 09:14:02 +02:00
|
|
|
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")
|
2022-08-28 09:14:02 +02:00
|
|
|
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
|
2024-02-11 21:15:04 +01:00
|
|
|
.menu
|
|
|
|
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') }
|
2024-02-11 21:15:04 +01:00
|
|
|
span.nav-item
|
2024-02-11 20:39:28 +01:00
|
|
|
a(href=`${i18n_prefix}/about` title=__('About this game')) #{ __('About') }
|
2024-02-11 21:15:04 +01:00
|
|
|
include lang.pug
|
2023-07-29 18:21:40 +02:00
|
|
|
header
|
|
|
|
h1= title
|
2024-02-11 22:17:46 +01:00
|
|
|
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
|
2024-01-20 08:10:48 +01:00
|
|
|
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
|
2022-08-28 09:14:02 +02:00
|
|
|
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")
|