diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-12-04 18:55:49 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-12-04 18:57:24 +0100 |
commit | 1b9565fa2eeb2635f2233161f920963bf514b524 (patch) | |
tree | 63b1623f9575c8453d5348a9d9eeaa54e34e472d /views/join.pug | |
parent | 07c8263929fb5b46082d5c3b20a11edfb59a2b25 (diff) | |
download | server-1b9565fa2eeb2635f2233161f920963bf514b524.tar.gz |
Use img srcset for cover images of differing resolutions.
Diffstat (limited to 'views/join.pug')
-rw-r--r-- | views/join.pug | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/join.pug b/views/join.pug index 101afdf..ff15624 100644 --- a/views/join.pug +++ b/views/join.pug @@ -22,7 +22,8 @@ html article h1= game.title_name - a(href="/info/"+game.title_id): img.logo(src="/"+game.title_id+"/cover.jpg") + div.logo + +gamecover(game.title_id) p if game.is_private |