mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-30 18:58:39 -04:00
* Add authentication dialogs for sign in and sign up - Implemented AuthDialog component to manage sign in and sign up modals. - Created SignInModal and SignUpModal components for handling respective authentication processes. - Added AuthFields component for reusable form fields and error handling. - Updated various views to utilize the new authentication dialogs instead of traditional links. - Enhanced user experience by allowing sign in and sign up actions to occur without full page reloads. - Added feature specs for testing the functionality of the new dialogs. * Refactor modals and input fields for improved accessibility and styling; adjust button sizes and text formatting * Refactor authentication forms and modals for improved usability and accessibility; integrate reCAPTCHA handling and enhance error messaging * Refactor SignUpModal layout for improved responsiveness and accessibility; organize fields into rows and enhance styling * Refactor session view spec to streamline field checks; remove redundant test and retain essential content expectations
28 lines
869 B
Plaintext
28 lines
869 B
Plaintext
%section.home-open
|
|
%h2= t('.open_title')
|
|
%p= t('.open_intro')
|
|
.home-open-cards
|
|
%div
|
|
%h3= t('.open_source.title')
|
|
%p= t('.open_source.body')
|
|
= link_to t('.open_source.link'), 'https://github.com/Growstuff/growstuff', target: '_blank', rel: 'noopener'
|
|
%div
|
|
%h3= t('.open_data.title')
|
|
%p= t('.open_data.body')
|
|
= link_to t('.open_data.link'), '/api-docs'
|
|
%div
|
|
%h3= t('.since.title')
|
|
%p= t('.since.body')
|
|
= link_to t('.since.link'), about_path
|
|
|
|
%section.home-why
|
|
%h2= t('.title')
|
|
.home-why-cards
|
|
- %w[plan record neighbours].each do |key|
|
|
.home-why-card
|
|
%h3= t(".#{key}.title")
|
|
%p= t(".#{key}.body")
|
|
.home-why-cta
|
|
%p= t('.ready')
|
|
= link_to(t('home.blurb.sign_up'), new_member_registration_path, data: { auth_dialog: 'sign_up' }, class: 'btn btn-success btn-lg')
|