Retrospring/app/views/static/front.haml

127 lines
4.6 KiB
Plaintext
Raw Normal View History

2020-05-09 23:40:32 -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
= render 'layouts/messages'
%h1= APP_CONFIG['site_name']
%p= t 'views.front.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) }
2015-05-12 14:53:42 -07:00
Register now
%small
Already a member?
= link_to 'Sign in', 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-08 12:55:05 -07:00
%h2.mb-4 Receive and ask questions
%p
After registering on
= APP_CONFIG['site_name']
share your unique link to your profile and receive questions in your inbox to answer
them right away.
%p
You can of course also use your account to ask anyone else on the site
questions, and once you accumulated followers you can send out questions to all of them
at once.
2022-04-09 17:36:46 -07:00
.col-sm-6.order-1.order-sm-12
.text-center.text-primary.d-flex.h-100.justify-content-center{ style: 'font-size: 10em'}
%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 17:36:46 -07:00
.text-center.text-primary.d-flex.h-100.justify-content-center{ style: 'font-size: 10em'}
%i.fa.fa-comments.align-self-center.mb-5.mb-sm-0
.col-sm-6.text-center.text-sm-left
2022-04-08 12:55:05 -07:00
%h2.mb-4 Keep the discussion going
2020-05-09 23:40:32 -07:00
%p
2022-04-08 12:55:05 -07:00
Someone answered your question and maybe not everything is cleared up? Use comments!
On
2020-05-09 23:40:32 -07:00
= APP_CONFIG['site_name']
2022-04-08 12:55:05 -07:00
you can leave comments on answers to keep the discussion going.
2020-04-26 16:18:46 -07:00
%p
2022-04-08 12:55:05 -07:00
Don't need to say anything, but still like the answer? Leave a smile (our form of likes) on an answer!
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-08 12:55:05 -07:00
%h2.mb-4 Share your answers
2020-04-26 16:18:46 -07:00
%p
2022-04-08 12:55:05 -07:00
Want your followers on another platform to see your
= APP_CONFIG['site_name']
answers? You can configure automatic sharing to your favorite platforms easily.
%p.text-muted
Not sure if it's a favorite, but at the moment only
%b Twitter
is supported.
2022-04-09 17:36:46 -07:00
.col-sm-6.order-1.order-sm-12
.text-center.text-primary.d-flex.h-100.justify-content-center{ style: 'font-size: 10em'}
%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 17:36:46 -07:00
.text-center.text-primary.d-flex.h-100.justify-content-center{ style: 'font-size: 10em'}
%i.fa.fa-paint-brush.align-self-center.mb-5.mb-sm-0
.col-sm-6.text-center.text-sm-left
2022-04-08 12:55:05 -07:00
%h2.mb-4 Customize your experience
2020-04-26 16:18:46 -07:00
%p
2022-04-08 12:55:05 -07:00
Make your
= APP_CONFIG['site_name']
profile your own with the ability to set a custom profile picture and header image.
2020-04-26 16:18:46 -07:00
%p
2022-04-08 12:55:05 -07:00
Going a step further, you can customize all colors of
2020-04-26 16:18:46 -07:00
= APP_CONFIG['site_name']
2022-04-08 12:55:05 -07:00
to your own liking. Don't like purple? Make it blue, red or green!
%p
For a quick demonstration, you can try this out here with a few presets:
2022-04-09 17:36:46 -07:00
.card
.card-body
.row.mx-n2
.col.px-2
%button.btn.btn-block.btn-success.js-theme-button{ data: { theme: 'theme-success' } } Green
.col.px-2
%button.btn.btn-block.btn-warning.js-theme-button{ data: { theme: 'theme-warning' } } Orange
.col.px-2
%button.btn.btn-block.btn-danger.js-theme-button{ data: { theme: 'theme-danger' } } Red
.col.px-2
%button.btn.btn-block.btn-default.js-theme-button{ data: { theme: 'reset' } } Reset
2022-04-08 12:55:05 -07:00
.container.text-center
%h2.mb-4 But wait, there's more!
.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
Open Source
%p
You heard it right!
= APP_CONFIG['site_name']
2020-05-09 23:40:32 -07:00
and all of it's core components are open source!
Everyone can help and improve the service!
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
No Ads
%p
2022-04-08 12:55:05 -07:00
We don't like them ourselves, really. They make websites slow and are
(for the most part) annoying. So there's none!
.col-sm-4
%h3.mb-3
2020-04-26 16:18:46 -07:00
%i.fa.fa-fw.fa-user-secret.text-primary
Your Data is yours
%p
Today the most precious things on the internet is your data.
= APP_CONFIG['site_name']
doesn't sell any data that is collected. It remains encrypted on our servers!
2020-05-09 23:40:32 -07:00
2022-04-09 17:36:46 -07:00
.card
.card-body
%h2 What are you waiting for?
%p
Registering takes less than 5 minutes!
%p
%a.btn.btn-primary.btn-lg{ href: url_for(new_user_registration_path) }
Register now
2015-09-20 06:16:24 -07:00
2020-05-09 23:40:32 -07:00
= render 'shared/links'