Retrospring/app/views/static/front.haml

88 lines
3.2 KiB
Plaintext
Raw Normal View History

2022-04-09 18:14:55 -07:00
- provide(:title, APP_CONFIG["site_name"])
2022-04-08 12:55:05 -07:00
.jumbotron
2020-04-26 15:59:53 -07:00
.jumbotron__content
2015-05-12 14:53:42 -07:00
.container
2022-04-09 18:14:55 -07:00
= render "layouts/messages"
%h1= APP_CONFIG["site_name"]
%p= t(".subtitle")
2015-05-12 14:53:42 -07:00
%p
2020-05-09 23:40:32 -07:00
%a.btn.btn-outline-light.btn-lg{ href: url_for(new_user_registration_path) }
2022-04-09 18:14:55 -07:00
= t(".register")
2015-05-12 14:53:42 -07:00
%small
2022-04-09 18:14:55 -07:00
= t(".already_member")
= link_to t("voc.login"), new_user_session_path
2022-04-08 12:55:05 -07:00
.container
2022-04-09 17:36:46 -07:00
.row.my-5.my-sm-10
.col-sm-6.order-12.order-sm-1.text-center.text-sm-right
2022-04-09 18:14:55 -07:00
%h2.mb-4= t(".questions.header")
= t(".questions.body_html", app_name: APP_CONFIG["site_name"])
2022-04-09 17:36:46 -07:00
.col-sm-6.order-1.order-sm-12
2022-04-09 18:14:55 -07:00
.text-center.text-primary.d-flex.h-100.justify-content-center{ style: "font-size: 10em"}
2022-04-09 17:36:46 -07:00
%i.fa.fa-envelope.align-self-center.mb-5.mb-sm-0
2020-04-26 16:18:46 -07:00
2022-04-09 17:36:46 -07:00
.row.my-5.my-sm-10
2022-04-08 12:55:05 -07:00
.col-sm-6
2022-04-09 18:14:55 -07:00
.text-center.text-primary.d-flex.h-100.justify-content-center{ style: "font-size: 10em"}
2022-04-09 17:36:46 -07:00
%i.fa.fa-comments.align-self-center.mb-5.mb-sm-0
.col-sm-6.text-center.text-sm-left
2022-04-09 18:14:55 -07:00
%h2.mb-4= t(".discussions.header")
= t(".discussions.body_html", app_name: APP_CONFIG["site_name"])
2022-04-08 12:55:05 -07:00
2022-04-09 17:36:46 -07:00
.row.my-5.my-sm-10
.col-sm-6.order-12.order-sm-1.text-center.text-sm-right
2022-04-09 18:14:55 -07:00
%h2.mb-4= t(".share.header")
= t(".share.body_html", app_name: APP_CONFIG["site_name"])
2022-04-09 17:36:46 -07:00
.col-sm-6.order-1.order-sm-12
2022-04-09 18:14:55 -07:00
.text-center.text-primary.d-flex.h-100.justify-content-center{ style: "font-size: 10em"}
2022-04-09 17:36:46 -07:00
%i.fa.fa-share.align-self-center.mb-5.mb-sm-0
2022-04-08 12:55:05 -07:00
2022-04-09 17:36:46 -07:00
.row.my-5.my-sm-10
2022-04-08 12:55:05 -07:00
.col-sm-6
2022-04-09 18:14:55 -07:00
.text-center.text-primary.d-flex.h-100.justify-content-center{ style: "font-size: 10em"}
2022-04-09 17:36:46 -07:00
%i.fa.fa-paint-brush.align-self-center.mb-5.mb-sm-0
.col-sm-6.text-center.text-sm-left
2022-04-09 18:14:55 -07:00
%h2.mb-4= t(".customize.header")
= t(".customize.body_html", app_name: APP_CONFIG["site_name"])
2022-04-09 17:36:46 -07:00
.card
.card-body
.row.mx-n2
.col.px-2
2022-04-09 18:14:55 -07:00
%button.btn.btn-block.btn-success.js-theme-button{ data: { theme: "theme-success" } }= t(".customize.themes.green")
2022-04-09 17:36:46 -07:00
.col.px-2
2022-04-09 18:14:55 -07:00
%button.btn.btn-block.btn-warning.js-theme-button{ data: { theme: "theme-warning" } }= t(".customize.themes.orange")
2022-04-09 17:36:46 -07:00
.col.px-2
2022-04-09 18:14:55 -07:00
%button.btn.btn-block.btn-danger.js-theme-button{ data: { theme: "theme-danger" } }= t(".customize.themes.red")
2022-04-09 17:36:46 -07:00
.col.px-2
2022-04-09 18:14:55 -07:00
%button.btn.btn-block.btn-default.js-theme-button{ data: { theme: "reset" } }= t(".customize.themes.reset")
2022-04-08 12:55:05 -07:00
.container.text-center
2022-04-09 18:14:55 -07:00
%h2.mb-4= t(".more_features")
2022-04-08 12:55:05 -07:00
.row.my-5
.col-sm-4
%h3.mb-3
2020-04-26 16:18:46 -07:00
%i.fa.fa-fw.fa-globe.text-primary
2022-04-09 18:14:55 -07:00
= t(".open_source.header")
%p= t(".open_source.body", app_name: APP_CONFIG["site_name"])
2022-04-08 12:55:05 -07:00
.col-sm-4
%h3.mb-3
2020-04-26 16:18:46 -07:00
%i.fa.fa-fw.fa-eye-slash.text-primary
2022-04-09 18:14:55 -07:00
= t(".no_ads.header")
%p= t(".no_ads.body")
2022-04-08 12:55:05 -07:00
.col-sm-4
%h3.mb-3
2020-04-26 16:18:46 -07:00
%i.fa.fa-fw.fa-user-secret.text-primary
2022-04-09 18:14:55 -07:00
= t(".your_data.header")
%p= t(".your_data.body", app_name: APP_CONFIG["site_name"])
2020-05-09 23:40:32 -07:00
2022-04-09 17:36:46 -07:00
.card
.card-body
2022-04-09 18:14:55 -07:00
%h2= t(".prompt.header")
%p= t(".prompt.body")
2022-04-09 17:36:46 -07:00
%p
%a.btn.btn-primary.btn-lg{ href: url_for(new_user_registration_path) }
2022-04-09 18:14:55 -07:00
= t(".register")
= render "shared/links"
2015-09-20 06:16:24 -07:00
2020-05-09 23:40:32 -07:00