/
index.html
62 lines (62 loc) · 2.64 KB
/
index.html
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{index.title})}"></head>
<body class="template--static-page">
<div class="page-wrapper">
<th:block th:replace="~{fragments/toolbar :: toolbar}"/>
<main id="content" role="main" class="slab slab--white spacing-below-0">
<section class="slab">
<div class="grid">
<div class="width-one-half">
<th:block th:replace="~{fragments/icons :: cursiveUbi}"></th:block>
<th:block th:if="${!ubiEnabled}">
<div class="notice--warning" role="region" aria-labelledby="{{ }}" th:utext="#{index.disabled-flow-text}"></div>
</th:block>
<h1 class="spacing-below-35 spacing-above-5" th:text="#{index.title}"></h1>
<p th:text="#{index.apply-for-benefits-in-10}"></p>
<th:block th:if="${docUploadEnabled}">
<a th:text="#{index.already-applied}" href="#docUpload"></a>
</th:block>
<th:block th:if="${ubiEnabled}">
<div class="spacing-above-35">
<a
th:href="|/flow/ubi/howThisWorks?lang=${#locale.getLanguage()}|"
th:text="#{index.apply-now}"
class="button--primary button"></a>
</div>
<div class="spacing-below-35">
<a
th:with="otherLang=${#locale.getLanguage().equals('es') ? 'en' : 'es'}"
th:href="|/flow/ubi/howThisWorks?lang=${otherLang}|"
th:text="#{index.aplica-ahora}"
th:lang="${otherLang}"
class="button--small button"></a>
</div>
</th:block>
</div>
<div class="width-one-half">
<img src="/assets/images/ubi-landing-splash.png" alt="" class="nudge--large">
</div>
</div>
</section>
<section class="slab slab--off-white">
<div class="grid">
<h2 th:text="#{index.apply-for-cash-assistance}"></h2>
<h3 th:text="#{index.universal-basic-income}"></h3>
<p th:text="#{index.ubi-provides-750}"></p>
</div>
</section>
<th:block th:if="${docUploadEnabled}">
<section class="slab" id="docUpload">
<div class="grid text--centered spacing-below-35">
<th:block th:replace="~{fragments/icons :: uploadDocuments}"/>
<h2 th:text="#{index.already-applied-additional}"></h2>
<a href="/flow/docUpload/documentRecommendations" th:text="#{index.upload-documents}" class="button"></a>
</div>
</section>
</th:block>
</main>
</div>
<th:block th:replace="~{fragments/footer :: footer}"/>
</body>
</html>