Home page: 3 columns instead of 2.

This commit is contained in:
Philippe Pittoli 2024-03-20 21:05:48 +01:00
parent 85cda46d63
commit 848d93e846

View File

@ -48,18 +48,20 @@ render _ = HH.div_
, Bulma.subtitle "Free domain names" , Bulma.subtitle "Free domain names"
, Bulma.hr , Bulma.hr
, render_description , render_description
, render_second_line , render_update_why_and_contact
, render_why_and_contact
, Bulma.hr , Bulma.hr
, render_how_and_code , render_how_and_code
] ]
] ]
where where
title = Bulma.h3 title = Bulma.h3
expl content = Bulma.div_content [ Bulma.explanation content ]
p = Bulma.p p = Bulma.p
b x = Bulma.column_ [ Bulma.box [ Bulma.div_content x ] ] b x = Bulma.column_ [ Bulma.box [ Bulma.div_content x ] ]
render_description = Bulma.columns_ [ render_basics, render_no_expert ] render_description = Bulma.columns_ [ render_basics, render_no_expert, render_no_housing ]
render_update_why_and_contact = Bulma.columns_ [ render_updates, render_why, render_contact ]
render_basics render_basics
= b [ title "What is provided?" = b [ title "What is provided?"
, p "Reserve a domain name in <something>.netlib.re for free." , p "Reserve a domain name in <something>.netlib.re for free."
@ -71,7 +73,6 @@ render _ = HH.div_
This website will help you through your configuration, as much as we can. This website will help you through your configuration, as much as we can.
""" """
] ]
render_second_line = Bulma.columns_ [ render_no_housing, render_updates ]
render_no_housing render_no_housing
= b [ title "No housing, just a name" = b [ title "No housing, just a name"
, p """ , p """
@ -87,8 +88,6 @@ render _ = HH.div_
, p "Every A and AAAA records have tokens for easy updates!" , p "Every A and AAAA records have tokens for easy updates!"
] ]
expl content = Bulma.div_content [ Bulma.explanation content ]
render_why_and_contact = Bulma.columns_ [ render_why, render_contact ]
render_why render_why
= b [ title "Why?" = b [ title "Why?"
, p "Because everyone should be able to have a place on the Internet." , p "Because everyone should be able to have a place on the Internet."