Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
feat: about page
Browse files Browse the repository at this point in the history
  • Loading branch information
darccio committed Apr 10, 2023
1 parent 4b5a486 commit 3451d9e
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/controllers/pages_controller.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

class PagesController < ApplicationController
def about; end
end
5 changes: 4 additions & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
</div>
</main>
<footer class="mt-auto py-3">
<div class="container"><%= Rails.configuration.x.asembleo.footer || t('application.footer') %></div>
<div class="container">
<%= Rails.configuration.x.asembleo.footer || t('application.footer') %>
<a href="/about">(<%= t('pages.about.title') %>)</a>
</div>
</footer>
</body>
</html>
1 change: 1 addition & 0 deletions app/views/pages/about.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<%= t('pages.about.body').html_safe %>
59 changes: 59 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,65 @@ en:
option_created: Option created.
option_updated: Option updated.
option_deleted: Option deleted.
pages:
about:
title: About
body: |
<h1>What is Asembleo?</h1>
<p>Asembleo is a free and open-source voting platform that empowers
organizations of all sizes to make democratic decisions online. With Asembleo,
you can conduct secure and transparent votes, polls, and surveys without any
technical knowledge or expertise.</p>
<p>Our platform has been designed with simplicity, privacy, and trust in mind.
We believe that everyone is entitled to participate in the democratic process,
and that's why we've made Asembleo accessible to everyone, regardless of their
technical skills or budget.</p>
<h1>Main Features</h1>
<p>Asembleo's key features include:</p>
<ul>
<li>
<p><strong>Secure and Transparent Voting:</strong> With Asembleo, you can
ensure the integrity of your elections and guarantee that every vote is
anonymous and tamper-proof.</p>
</li>
<li>
<p><strong>User-Friendly Design:</strong> Our platform is easy to use,
intuitive, and accessible, making it easy for anyone to participate in the
democratic process.</p>
</li>
<li>
<p><strong>Privacy and Data Protection:</strong> We take privacy seriously
and do not collect any personal data. All information is encrypted and
stored securely on our servers.</p>
</li>
<li>
<p><strong>Open-Source and Community-Driven:</strong> Asembleo is free and
open-source, which means that anyone can contribute to its development and
improvement. We believe in the power of community-driven software and
transparency in decision-making.</p>
</li>
</ul>
<h1>Why Choose Asembleo?</h1>
<p>Asembleo is the perfect choice for any organization looking to conduct secure
and transparent voting online. With our platform, you can:</p>
<ul>
<li>
<p><strong>Save Time and Money:</strong> Asembleo makes it easy and
affordable to conduct democratic decisions without the need for expensive
or complicated software.</p>
</li>
<li>
<p><strong>Engage Your Community:</strong> With Asembleo, you can foster
greater engagement and participation among your members or stakeholders,
leading to more democratic decision-making.</p>
</li>
<li>
<p><strong>Ensure Trust and Transparency:</strong> Asembleo's open-source
and community-driven nature means that you can be confident in the
integrity of your election process and results.</p>
</li>
</ul>
<p>Choose Asembleo for a secure, user-friendly, and reliable voting experience.</p>
question_groups:
group:
one: Group
Expand Down
1 change: 1 addition & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
get 'sessions/:token/login', to: 'sessions#create', as: 'magic_link'
get 'confirmations/:hash', to: 'users#confirm', as: 'confirmations'
get 'approvals/:hash', to: 'users#approve', as: 'approvals'
get 'about', to: 'pages#about'
get '', to: 'main#index'

root to: 'main#index'
Expand Down

0 comments on commit 3451d9e

Please sign in to comment.