X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=views%2Findex.pug;h=f7d9d041e852b24d6bff316b83fe0e8c3bc7286c;hb=2c99dab410af1cb902b8e6140df2348a92cf1312;hp=4be9cf92950bbe740c447d8555122d9f24c38f80;hpb=ffd4c71f82d7aaf8cf330a794f118c5de6f8d6e9;p=vchess.git diff --git a/views/index.pug b/views/index.pug index 4be9cf92..f7d9d041 100644 --- a/views/index.pug +++ b/views/index.pug @@ -32,6 +32,14 @@ block content 3. send an email to #[a(href="mailto:contact@vchess.club?subject=[vchess.club] bug report") contact@vchess.club] with relevant comments and the PGN attached. Thank you! + input#modal-b4welcome.modal(type="checkbox") + div(role="dialog") + #b4welcome.card.text-center + label.modal-close(for="modal-b4welcome") + h3.blue.section First visit? + p Please + span(style="color:blue;text-decoration:underline;cursor:pointer" @click="showWelcomeMsg") read this + span  before playing ☺ input#modal-welcome.modal(type="checkbox") div(role="dialog") #welcome.card.text-center @@ -74,7 +82,7 @@ block content p. For informations about hundreds (if not thousands!) of variants, you can visit the excellent #[a(href="https://www.chessvariants.com/") chessvariants] website. - p(style="cursor:pointer;color:darkgrey" onClick="setCookie('visited','1');document.getElementById('modal-welcome').checked=false") Do not annoy me again! + p(style="cursor:pointer;color:darkred" onClick="setCookie('visited','1');document.getElementById('modal-welcome').checked=false") Click here to not show this message next time p(style="font-size:0.8em") Image credit: #[a(href="https://en.wikipedia.org/wiki/List_of_chess_variants#/media/File:Hexagonal_chess.svg") Wikpedia] .row my-variant-summary(