Fix lints in app/views/static
This commit is contained in:
parent
f6466e4618
commit
caa6b27684
|
@ -1,6 +1,6 @@
|
|||
- provide(:title, generate_title("About"))
|
||||
- provide(:title, generate_title('About'))
|
||||
.jumbotron.jumbotron--particles
|
||||
#particles.jumbotron__particles
|
||||
.jumbotron__particles#particles
|
||||
.jumbotron__content
|
||||
%h1= APP_CONFIG['site_name']
|
||||
%p= t 'views.about.subtitle'
|
||||
|
@ -12,7 +12,7 @@
|
|||
%h3= t 'views.about.links.title'
|
||||
%p= t('views.about.links.desc', app_title: APP_CONFIG['site_name'])
|
||||
.col-md-4.col-sm-6
|
||||
%a{href: "https://twitter.com/retrospring"}
|
||||
%a{ href: 'https://twitter.com/retrospring' }
|
||||
.icon--showcase
|
||||
%i.fa.fa-twitter
|
||||
%h4.heading-about.text-center
|
||||
|
@ -29,9 +29,12 @@
|
|||
.col-md-4
|
||||
%h3= t 'views.about.opensource.title'
|
||||
%p= t('views.about.opensource.warning', app_title: APP_CONFIG['site_name'])
|
||||
%p= raw t('views.about.opensource.desc', app_title: APP_CONFIG['site_name'], github: link_to(t('views.about.opensource.github'), "https://github.com/Retrospring/retrospring"), bugtracker: link_to(t('views.about.opensource.bugtracker'), "https://github.com/Retrospring/retrospring/issues"))
|
||||
%p= raw t('views.about.opensource.desc',
|
||||
app_title: APP_CONFIG['site_name'],
|
||||
github: link_to(t('views.about.opensource.github'), 'https://github.com/Retrospring/retrospring'),
|
||||
bugtracker: link_to(t('views.about.opensource.bugtracker'), 'https://github.com/Retrospring/retrospring/issues'))
|
||||
.col-md-4
|
||||
%a{href: "https://github.com/Retrospring/retrospring"}
|
||||
%a{ href: 'https://github.com/Retrospring/retrospring' }
|
||||
.icon--showcase
|
||||
%i.fa.fa-github
|
||||
%h4.heading-about.text-center= t 'views.about.repository.title'
|
||||
|
@ -62,4 +65,4 @@
|
|||
.entry__value#follower-count= User.count
|
||||
%h4.entry__description= t('views.general.user').pluralize(User.count)
|
||||
|
||||
= render "shared/links"
|
||||
= render 'shared/links'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- provide(:title, generate_title("Frequently Asked Questions"))
|
||||
- provide(:title, generate_title('Frequently Asked Questions'))
|
||||
.jumbotron.jumbotron--particles
|
||||
#particles.jumbotron__particles
|
||||
.jumbotron__particles#particles
|
||||
.jumbotron__content
|
||||
%h1 Frequently Asked Questions
|
||||
%p
|
||||
|
@ -10,4 +10,4 @@
|
|||
.container
|
||||
.card
|
||||
.card-body
|
||||
= raw_markdown_io "service-docs/en/help/faq.md"
|
||||
= raw_markdown_io 'service-docs/en/help/faq.md'
|
|
@ -1,9 +1,9 @@
|
|||
- provide(:title, "#{APP_CONFIG['site_name']}")
|
||||
- provide(:title, APP_CONFIG['site_name'])
|
||||
.jumbotron.jumbotron--particles.jumbotron--frontpage
|
||||
.jumbotron__scroller
|
||||
%a.arctic_scroll{href: "#content", data: {offset: "-80"} }
|
||||
%a{ href: '#content' }
|
||||
%i.fa.fa-chevron-down
|
||||
#particles.jumbotron__particles
|
||||
.jumbotron__particles#particles
|
||||
.jumbotron__content
|
||||
.container
|
||||
= render 'layouts/messages'
|
||||
|
@ -15,20 +15,26 @@
|
|||
%small
|
||||
Already a member?
|
||||
= link_to 'Sign in', new_user_session_path
|
||||
#content.container.text-center
|
||||
%h1= "What is #{APP_CONFIG['site_name']}?"
|
||||
.container.text-center#content
|
||||
%h1
|
||||
What is #{APP_CONFIG['site_name']}?
|
||||
%p.lead
|
||||
A
|
||||
%abbr{title: "Question and Answer"} Q/A
|
||||
%abbr{ title: 'Question and Answer' } Q/A
|
||||
based social network
|
||||
%p Most of the people already know how these sorts of networks already work. You have a profile and other users (or even anonymous people without accounts) can ask you any question to find out more about you, so can you do the same with others. Finding friends with the same interests, people that share your opinion (and people that probably don't), you can find everything here!
|
||||
%p
|
||||
Most of the people already know how these sorts of networks already work.
|
||||
You have a profile and other users (or even anonymous people without accounts) can ask you any question to find out more about
|
||||
you, so can you do the same with others. Finding friends with the same interests, people that share your opinion (and people that probably don't),
|
||||
you can find everything here!
|
||||
%p.lead
|
||||
But what makes
|
||||
= APP_CONFIG['site_name']
|
||||
special?
|
||||
%p
|
||||
= APP_CONFIG['site_name']
|
||||
tries to take aspects from other popular or now gone platforms and combine them to get the best result possible. Also, we take in the ideas and feedback of our community so we can build a service that's even closer to being exactly the service people want to use!
|
||||
tries to take aspects from other popular or now gone platforms and combine them to get the best result possible.
|
||||
Also, we take in the ideas and feedback of our community so we can build a service that's even closer to being exactly the service people want to use!
|
||||
|
||||
|
||||
%h2 Awesome Features
|
||||
|
@ -37,32 +43,40 @@
|
|||
%h3
|
||||
%i.fa.fa-fw.fa-comments.text-primary
|
||||
Discussion
|
||||
%p= "With #{APP_CONFIG['site_name']}, you can ask and answer questions from other users as well as receive anonymous questions. Want to know something? Keep the conversation alive with interactive comments."
|
||||
%p
|
||||
With
|
||||
= APP_CONFIG['site_name']
|
||||
you can ask and answer questions from other users as well as receive anonymous questions.
|
||||
Want to know something? Keep the conversation alive with interactive comments."
|
||||
.col-md-4.col-sm-4.col-xs-12
|
||||
%h3
|
||||
%i.fa.fa-fw.fa-user-plus.text-primary
|
||||
Following
|
||||
%p
|
||||
Following users allows you to get a personalized feed of all people you want to know more about. You can also send a question to all your followers at once!
|
||||
Following users allows you to get a personalized feed of all people you want to know more about.
|
||||
You can also send a question to all your followers at once!
|
||||
.col-md-4.col-sm-4.col-xs-12
|
||||
%h3
|
||||
%i.fa.fa-fw.fa-share-square-o.text-primary
|
||||
Sharing
|
||||
%p
|
||||
Want to share your answer to a question so that more people read it? With a simple click on the answer button, your answer is shared wherever you want!
|
||||
Want to share your answer to a question so that more people read it?
|
||||
With a simple click on the answer button, your answer is shared wherever you want!
|
||||
.row
|
||||
.col-md-4.col-sm-4.col-xs-12
|
||||
%h3
|
||||
%i.fa.fa-fw.fa-users.text-primary
|
||||
Groups
|
||||
%p
|
||||
Want to ask a question to a specific set of people? No problem! Set up unique groups of users and send them questions apart from everyone else.
|
||||
Want to ask a question to a specific set of people? No problem!
|
||||
Set up unique groups of users and send them questions apart from everyone else.
|
||||
.col-md-4.col-sm-4.col-xs-12
|
||||
%h3
|
||||
%i.fa.fa-fw.fa-image.text-primary
|
||||
Images
|
||||
%p
|
||||
Express yourself with images and upload an avatar and a header of your liking. And soon you'll be able to attach images to answers and questions as well!
|
||||
Express yourself with images and upload an avatar and a header of your liking.
|
||||
And soon you'll be able to attach images to answers and questions as well!
|
||||
.col-md-4.col-sm-4.col-xs-12
|
||||
%h3
|
||||
%i.fa.fa-fw.fa-paint-brush.text-primary
|
||||
|
@ -79,7 +93,8 @@
|
|||
%p
|
||||
You heard it right!
|
||||
= APP_CONFIG['site_name']
|
||||
and all of it's core components are open source! Everyone can help and improve the service!
|
||||
and all of it's core components are open source!
|
||||
Everyone can help and improve the service!
|
||||
.col-md-4.col-sm-4.col-xs-12
|
||||
%h3
|
||||
%i.fa.fa-fw.fa-eye-slash.text-primary
|
||||
|
@ -88,7 +103,7 @@
|
|||
We don't like them ourselves, really.
|
||||
= APP_CONFIG['site_name']
|
||||
just runs with community funding over
|
||||
%a{href: "https://patreon.com/retrospring"} Patreon
|
||||
%a{ href: 'https://patreon.com/retrospring' } Patreon
|
||||
which is way better than displaying annoying stuff.
|
||||
.col-md-4.col-sm-4.col-xs-12
|
||||
%h3
|
||||
|
@ -103,7 +118,7 @@
|
|||
.card-body
|
||||
%p
|
||||
Any questions? Ask us on
|
||||
%a{href: "https://twitter.com/retrospring"} Twitter
|
||||
%a{ href: 'https://twitter.com/retrospring' } Twitter
|
||||
|
||||
%h2 What are you waiting for?
|
||||
%p
|
||||
|
@ -112,4 +127,5 @@
|
|||
%a.btn.btn-primary.btn-lg{ href: url_for(new_user_registration_path) }
|
||||
Register now
|
||||
|
||||
= render "shared/links"
|
||||
= render 'shared/links'
|
||||
|
|
@ -5,8 +5,8 @@
|
|||
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @timeline_last_id
|
||||
|
||||
- if @more_data_available
|
||||
%button#load-more-btn.btn.btn-default{type: :button, data: { last_id: @timeline_last_id }}
|
||||
%button.btn.btn-default#load-more-btn{ type: :button, data: { last_id: @timeline_last_id } }
|
||||
Load more
|
||||
|
||||
- provide(:title, "#{APP_CONFIG['site_name']}")
|
||||
- parent_layout "feed"
|
||||
- provide(:title, APP_CONFIG['site_name'])
|
||||
- parent_layout 'feed'
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
- provide(:title, generate_title('Privacy Policy'))
|
||||
.container.container--main
|
||||
.card
|
||||
.card-body
|
||||
= raw_markdown_io 'service-docs/en/policy/privacy.md'
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
- provide(:title, generate_title("Privacy Policy"))
|
||||
.container.container--main
|
||||
.card
|
||||
.card-body
|
||||
= raw_markdown_io "service-docs/en/policy/privacy.md"
|
|
@ -0,0 +1,6 @@
|
|||
- provide(:title, generate_title('Terms of Service'))
|
||||
.container.container--main
|
||||
.card
|
||||
.card-body
|
||||
= raw_markdown_io 'service-docs/en/policy/terms.md'
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
- provide(:title, generate_title("Terms of Service"))
|
||||
.container.container--main
|
||||
.card
|
||||
.card-body
|
||||
= raw_markdown_io "service-docs/en/policy/terms.md"
|
Loading…
Reference in New Issue