]> git.openstreetmap.org Git - rails.git/blob - app/views/site/welcome.html.erb
Add welcome page based on http://osmlab.github.io/welcome-osm/
[rails.git] / app / views / site / welcome.html.erb
1 <% content_for :heading do %>
2   <h2><%= t "welcome_page.title" %></h2>
3   <h3><%= t "welcome_page.subtitle" %></h3>
4 <% end %>
5
6 <div class='pad2'>
7   <p><%= t "welcome_page.introduction_html" %></p>
8 </div>
9
10 <div class='pad2 drop'>
11   <h3><%= t "welcome_page.section_1.title" %></h3>
12   <div class='center'>
13     <span class='sprite large one-map'></span>
14   </div>
15   <p><%= t "welcome_page.section_1.paragraph_1_html" %></p>
16   <p><%= t "welcome_page.section_1.paragraph_2_html" %></p>
17 </div>
18
19 <div class='pad2 drop clearfix'>
20   <h3><%= t "welcome_page.section_2.title" %></h3>
21   <div class='col6 pad1'>
22     <div class='center pad1'>
23       <span class='sprite small check'></span>
24     </div>
25     <p><%= t "welcome_page.section_2.on_html" %></p>
26   </div>
27   <div class='col6 pad1'>
28     <div class='center pad1'>
29       <span class='sprite small x'></span>
30     </div>
31     <p><%= t "welcome_page.section_2.off_html" %></p>
32   </div>
33 </div>
34
35 <% if @user %>
36   <div class='pad2 drop'>
37     <h3><%= t "welcome_page.section_3.title" %></h3>
38     <p><%= t "welcome_page.section_3.paragraph_2_html" %></p>
39   </div>
40 <% else %>
41   <div class='pad2 drop'>
42     <h3><%= t "welcome_page.section_3.title_no_user" %></h3>
43     <p><%= t "welcome_page.section_3.paragraph_1_html" %></p>
44     <p><%= t "welcome_page.section_3.paragraph_2_html" %></p>
45   </div>
46 <% end %>
47
48 <div class='pad2 drop'>
49   <h3><%= t "welcome_page.section_4.title" %></h3>
50   <p><%= t "welcome_page.section_4.paragraph_1_html" %></p>
51   <div class='col12 clearfix'>
52     <p>
53       <span class='sprite small term editor'></span>
54       <%= t "welcome_page.section_4.editor_html" %>
55     </p>
56     <p>
57       <span class='sprite small term node'></span>
58       <%= t "welcome_page.section_4.node_html" %>
59     </p>
60     <p>
61       <span class='sprite small term way'></span>
62       <%= t "welcome_page.section_4.way_html" %>
63     </p>
64     <p>
65       <span class='sprite small term changeset'></span>
66       <%= t "welcome_page.section_4.changeset_html" %>
67     </p>
68   </div>
69 </div>
70
71 <div class='pad2 drop'>
72   <h3><%= t "welcome_page.section_5.title" %></h3>
73   <div class='center pad1'>
74     <span class='sprite small term question'></span>
75   </div>
76   <p><%= t "welcome_page.section_5.paragraph_1_html" %></p>
77 </div>
78
79 <div class='pad2 drop'>
80   <h3><%= t "welcome_page.section_6.title" %></h3>
81   <% if @user %>
82     <p><%= t "welcome_page.section_6.paragraph_1_html" %></p>
83   <% else %>
84     <p><%= t "welcome_page.section_6.paragraph_1_no_user_html" %></p>
85   <% end %>
86   <p><%= t "welcome_page.section_6.paragraph_2_html" %></p>
87 </div>
88
89 <div class='pad2 drop'>
90   <div class='fillE pad1'>
91     <h3><%= t "welcome_page.section_7.title" %></h3>
92     <p><%= t "welcome_page.section_7.paragraph_1_html" %></p>
93     <p><%= t "welcome_page.section_7.paragraph_2_html" %></p>
94   </div>
95 </div>