diff --git a/app/assets/images/facebook.png b/app/assets/images/facebook.png new file mode 100644 index 0000000..d19535c Binary files /dev/null and b/app/assets/images/facebook.png differ diff --git a/app/assets/images/instagram.png b/app/assets/images/instagram.png new file mode 100644 index 0000000..7fa2e8a Binary files /dev/null and b/app/assets/images/instagram.png differ diff --git a/app/assets/images/twitter.png b/app/assets/images/twitter.png new file mode 100644 index 0000000..aa36285 Binary files /dev/null and b/app/assets/images/twitter.png differ diff --git a/app/assets/stylesheets/get_involved.scss b/app/assets/stylesheets/get_involved.scss new file mode 100644 index 0000000..73971d7 --- /dev/null +++ b/app/assets/stylesheets/get_involved.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the get-involved controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: https://sass-lang.com/ diff --git a/app/assets/stylesheets/style.css b/app/assets/stylesheets/style.css index 970ba4b..3fe4156 100644 --- a/app/assets/stylesheets/style.css +++ b/app/assets/stylesheets/style.css @@ -143,6 +143,11 @@ margin-top:1%; justify-content: center; } +.get-involved-div { + width: 80%; + justify-content: center; +} + p.contact-info { font-family: Cabin; @@ -218,12 +223,20 @@ ul#subjects li { .padding-for-nav-bar { padding-top: 145px; } + .navbar-element, .navbar-element:hover { align-items: center; height: 80px; padding: 0px 5%; background-color: #e8f6fb; } + +.social-link, .social-link:hover { + align-items: center; + height: 80px; + padding: 0px 5%; + background-color: white; +} nav { position: fixed; top: 0; diff --git a/app/controllers/get_involved_controller.rb b/app/controllers/get_involved_controller.rb new file mode 100644 index 0000000..6f5e679 --- /dev/null +++ b/app/controllers/get_involved_controller.rb @@ -0,0 +1,2 @@ +class GetInvolvedController < ApplicationController +end diff --git a/app/helpers/get_involved_helper.rb b/app/helpers/get_involved_helper.rb new file mode 100644 index 0000000..ab09095 --- /dev/null +++ b/app/helpers/get_involved_helper.rb @@ -0,0 +1,2 @@ +module GetInvolvedHelper +end diff --git a/app/views/get_involved/index.html.erb b/app/views/get_involved/index.html.erb new file mode 100644 index 0000000..40efd83 --- /dev/null +++ b/app/views/get_involved/index.html.erb @@ -0,0 +1,20 @@ +

Become a Volunteer

+
+
+

Our pop-up shops and mobile delivery system wouldn't work without a team of dedicated team of volunteers. Join us by clicking the link below!

+
+
+
+ <%= link_to 'Next Steps', 'https://forms.gle/2vAghkBBsVDRd8oFA', target: :_blank, class:"home-link" %> +
+

We Need You to Share Our Information

+
+
+

Our biggest obstacle in the fight to improve the lives of Georgia's children is that many people are not informed about the challenges present in Georgia's child welfare system. We share information about our work and these challenges constantly on our social media. Following us and sharing this information with your friends helps us tremendously. You can find the links to our Facebook, Instagram, and Twitter below.

+
+
+
+ <%= link_to image_tag("facebook.png", class:"social-link"), 'https://www.facebook.com/608103152697463', {:style=>'padding-left: 5px;', :class => "social-link"} %> + <%= link_to image_tag("twitter.png", class:"social-link"), 'https://www.twitter.com/carries_closets', class:"social-link" %> + <%= link_to image_tag("instagram.png", class:"social-link"), 'https://www.instagram.com/carries_closetofga/', {:style=>'padding-right: 5px;', :class => "social-link"} %> +
\ No newline at end of file diff --git a/app/views/public/index.html.erb b/app/views/public/index.html.erb index d72a8d8..876fc0c 100644 --- a/app/views/public/index.html.erb +++ b/app/views/public/index.html.erb @@ -70,7 +70,7 @@
- <%= link_to "Volunteer", root_path, class: "home-link" %> + <%= link_to "Get Involved", "get-involved", class: "home-link" %>

diff --git a/config/routes.rb b/config/routes.rb index 03b2b02..935a46e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -15,10 +15,11 @@ get 'public/index' devise_for :users, :path_prefix => 'my', controllers: { registrations: 'users/registrations', invitations: 'users/invitations' } resources :users + get '/get-involved' => 'get_involved#index' resources :users # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html - root to: "public#index" + root to: "public#index" end diff --git a/test/controllers/get_involved_controller_test.rb b/test/controllers/get_involved_controller_test.rb new file mode 100644 index 0000000..ed3e135 --- /dev/null +++ b/test/controllers/get_involved_controller_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class GetInvolvedControllerTest < ActionDispatch::IntegrationTest + # test "the truth" do + # assert true + # end +end