summaryrefslogtreecommitdiff
path: root/views/index.pug
blob: ba915b087b6a42bbd10bf044d0f6a63e1ac7f7f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//- vim:ts=4:sw=4:
doctype html
html
	head
		include head
		title Rally the Troops!
		style.
			div.list {
				max-width: 800px;
				display: flex;
				flex-wrap: wrap;
				justify-content: left;
			}
			div.list div {
				min-width: 150px;
				margin: 10px 15px;
				text-align: center;
			}
			div.list a:not(:hover) {
				color: black;
				text-decoration: none;
			}
			div.list img {
				box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.5);
				height: 200px;
				margin: 5px auto;
				display: block;
			}
	body
		include header
		article
			h1 Rally the Troops!

			p Rally the Troops! is a website where you can play historic games with other players.

			p Registration and use is free, and there are no ads.

			div.list
				each title in titles
					unless title.is_hidden
						div
							a(href="/info/"+title.title_id)
								img(src="/"+title.title_id+"/cover.jpg")
								| #{title.title_name}

			p: a(href="/games") List of all open and active games.

			p Join the #[a(href="https://discord.gg/CBrTh8k84A") Discord] server to find players or report bugs.