+
About ARC - African Ruby Community
-
+
African Ruby Community, ARC is an organization that was started in 2010. The community currently
has over reach of over 5,000 members spread across East Africa, made of developers (Engineers),
entrepreneurs, designers and freelancers. In terms of development and demonstrations the
@@ -16,14 +15,14 @@
by startups to prototype and carry out proof of concept with a go to market strategy.
-
+
The community hosts weekly and monthly meetups in different cities in East Africa. The community
brings you Ruby Conference every year with different themes to fill the gap that exist between
school and industry and in return helps spur innovation and growth in contribution to global
economy.
-
+
ARC brings entrepreneurs, developers, Designers, open source contributors. Why? We
believe in a holistic approach through, entrepreneurship “Solution approach” and open source we
can solve so many problems. This in return empowers everyone who attends with technology “tool”
diff --git a/app/views/landing/home/_activities.html.erb b/app/views/landing/home/_activities.html.erb
index 5fc71dcf..6dc30124 100644
--- a/app/views/landing/home/_activities.html.erb
+++ b/app/views/landing/home/_activities.html.erb
@@ -4,33 +4,28 @@
-
+
<%= image_tag image_path('activities_local_meetups.png'), alt: 'Local meetups photo' %>
-
Local Meetups
+
Local Meetups
-
+
<%= image_tag image_path('activities_local_conferences.png'), alt: 'Conferences photo' %>
- Conferences
+
Conferences
-
+
<%= image_tag image_path('activities_local_programming.png'), alt: 'Programming photo' %>
- Programming
+
Programming
-
+
<%= image_tag image_path('activities_local_workshops.png'), alt: 'Workshops photo' %>
- Workshops
+
Workshops
-
+
<%= image_tag image_path('activities_local_hackathons.png'), alt: 'Hackathons photo' %>
- Hackathons
+
Hackathons
diff --git a/app/views/landing/home/_chapters.html.erb b/app/views/landing/home/_chapters.html.erb
index cbbf0a08..9c4bf209 100644
--- a/app/views/landing/home/_chapters.html.erb
+++ b/app/views/landing/home/_chapters.html.erb
@@ -5,60 +5,56 @@
-
- <%= image_tag image_path 'country_kenya.png' %>
-
-
Kenya
- <%= link_to new_user_registration_path do %>
-
Join community
- <% end %>
-
+
+ <%= image_tag image_path('country_kenya.png'), class: 'pt-2 place-self-center h-16 md:36' %>
+
Kenya
+
+ <%= link_to new_user_registration_path, class: 'place-self-center pb-6' do %>
+
Join community
+ <% end %>
-
- <%= image_tag image_path 'country_rwanda.png' %>
-
-
Rwanda
- <%= link_to new_user_registration_path do %>
-
Join community
- <% end %>
-
+
+ <%= image_tag image_path('country_rwanda.png'), class: 'pt-2 place-self-center h-16 md:36' %>
+
Rwanda
+
+ <%= link_to new_user_registration_path, class: 'place-self-center pb-6' do %>
+
Join community
+ <% end %>
-
- <%= image_tag image_path 'country_tanzania.png' %>
-
-
Tanzania
- <%= link_to new_user_registration_path do %>
-
Join community
- <% end %>
-
+ <%= image_tag image_path('country_tanzania.png'), class: 'pt-2 place-self-center h-16 md:36' %>
+
Tanzania
+
+ <%= link_to new_user_registration_path, class: 'place-self-center pb-6' do %>
+
Join community
+ <% end %>
-
- <%= image_tag image_path 'country_uganda.png' %>
-
-
Uganda
- <%= link_to new_user_registration_path do %>
-
Join community
- <% end %>
-
+ <%= image_tag image_path('country_uganda.png'), class: 'pt-2 place-self-center h-16 md:36' %>
+
Uganda
+
+ <%= link_to new_user_registration_path, class: 'place-self-center pb-6' do %>
+
Join community
+ <% end %>
-
-
- <%= image_tag image_path 'add.png' %>
-
-
+
+
+ <%= image_tag image_path('add.png'), class: 'pt-2 place-self-center h-16 md:36' %>
+ Request new chapter
+
diff --git a/app/views/landing/home/_intro.html.erb b/app/views/landing/home/_intro.html.erb
index 32b8598d..355686ce 100644
--- a/app/views/landing/home/_intro.html.erb
+++ b/app/views/landing/home/_intro.html.erb
@@ -20,7 +20,7 @@
-
28th June - 30th June
+
TBD
@@ -34,7 +34,7 @@
2.25 0 000 4.5z" clip-rule="evenodd"/>
-
Norrsken House | Kigali, Rwanda
+
TBD | Kigali, Rwanda
@@ -64,7 +64,7 @@
-
28th June - 30th June
+
TBD
@@ -78,7 +78,7 @@
2.25 0 000 4.5z" clip-rule="evenodd"/>
-
Norrsken House | Kigali, Rwanda
+
TBD | Kigali, Rwanda
diff --git a/app/views/landing/home/_previous_sponsors.html.erb b/app/views/landing/home/_previous_sponsors.html.erb
index 3d4f6de8..5a5b924e 100644
--- a/app/views/landing/home/_previous_sponsors.html.erb
+++ b/app/views/landing/home/_previous_sponsors.html.erb
@@ -1,50 +1,50 @@
-
+
Previous Sponsors
-
-
+
<%= link_to 'https://www.shopify.com/', target: '_blank' do %>
<%= image_tag 'sponsors/previous/shopify.webp', alt: 'Shopify',
- class: 'max-w-none w-20' %>
+ class: 'max-w-none w-40 md:w-20 pb-6' %>
<% end %>
-
+
<%= link_to 'https://www.turing.com/', target: '_blank' do %>
<%= image_tag 'sponsors/previous/turing.png', alt: 'Turing',
- class: 'max-w-none w-20' %>
+ class: 'max-w-none w-40 md:w-20 pb-6' %>
<% end %>
-
+
<%= link_to 'https://kopokopo.co.ke', target: '_blank' do %>
<%= image_tag 'sponsors/previous/kopokopo.png', alt: 'KopoKopo',
- class: 'max-w-none w-20' %>
+ class: 'max-w-none w-40 md:w-20 pb-6' %>
<% end %>
-
+
<%= link_to 'https://kwara.com/', target: '_blank' do %>
<%= image_tag 'sponsors/previous/kwara.png', alt: 'Kwara',
- class: 'max-w-none w-20' %>
+ class: 'max-w-none w-40 md:w-20 pb-6' %>
<% end %>
-
+
<%= link_to 'https://ihub.co.ke/', target: '_blank' do %>
<%= image_tag 'sponsors/previous/ihub.png', alt: 'iHub, Nairobi',
- class: 'max-w-none w-20' %>
+ class: 'max-w-none w-40 md:w-20 pb-6' %>
<% end %>
-
+
<%= link_to 'https://andela.com/', target: '_blank' do %>
<%= image_tag 'sponsors/previous/andela.png', alt: 'Andela',
- class: 'max-w-none w-20' %>
+ class: 'max-w-none w-40 md:w-20 pb-6' %>
<% end %>
diff --git a/app/views/landing/learn.html.erb b/app/views/landing/learn.html.erb
new file mode 100644
index 00000000..76c070ba
--- /dev/null
+++ b/app/views/landing/learn.html.erb
@@ -0,0 +1,146 @@
+
+
+ Featured learning materials
+
+
+
+ Take a look at our list of resources that can help you get up to speed with the Ruby programming
+ language from the basic building blocks upto to the various frameworks and tools in the Ruby
+ ecosystem. If you want to add your own resources, fork this repo and send in a pull request.
+
+
+
+ Ruby
+
+
+
+
+
+ Ruby Tools
+
+
+
+
+ Rubular - Interactive Ruby regular
+ expression editor
+
+
+
+
+ Frameworks
+
+
+
+ Jekyll
+
+
+ Rails
+
+
+
+
diff --git a/app/views/layouts/_footer.html.erb b/app/views/layouts/_footer.html.erb
index ddd0b47e..9052552f 100644
--- a/app/views/layouts/_footer.html.erb
+++ b/app/views/layouts/_footer.html.erb
@@ -1,66 +1,64 @@
-
+
- <%= link_to root_path, class: "flex justify-end pr-20" do %>
- <%= image_tag image_path('arc_dark_gray_logo.png'), class: 'w-40' %>
+ <%= link_to root_path, class: "justify-end pr-20" do %>
+ <%= image_tag image_path('arc_dark_gray_logo.png'), class: 'w-20 md:w-48' %>
<% end %>
-
-
- <%= link_to 'Home', root_path %>
+
+
+
+
+ <%= link_to 'Home', root_path %>
+ <% if FeatureFlag.find_by(name: 'events').try(:enabled) %>
+ <%= link_to 'Events', '#' %>
+ <% end %>
- <% if FeatureFlag.find_by(name: 'events').try(:enabled) %>
- <%= link_to 'Events', '#' %>
- <% end %>
+ <% if FeatureFlag.find_by(name: 'conferences').try(:enabled) %>
+ <%= link_to 'Conferences', '#' %>
+ <% end %>
- <% if FeatureFlag.find_by(name: 'conferences').try(:enabled) %>
- <%= link_to 'Conferences', '#' %>
- <% end %>
+ <%= link_to 'Chapters', chapters_path %>
- <%= link_to 'Chapters', '#' %>
+ <%= link_to 'Learning materials', landing_learn_path %>
- <% if FeatureFlag.find_by(name: 'projects').try(:enabled) %>
- <%= link_to 'Projects', '#' %>
- <% end %>
-
-
-
-
-
- <% if FeatureFlag.find_by(name: 'learning_materials').try(:enabled) %>
- <%= link_to 'Learning materials', '#' %>
- <% end %>
+ <% if FeatureFlag.find_by(name: 'projects').try(:enabled) %>
+ <%= link_to 'Projects', '#' %>
+ <% end %>
+
+
+
+
+ <%= link_to 'Sponsor', 'mailto:organisers@rubycommunity.africa' %>
- <% if FeatureFlag.find_by(name: 'members').try(:enabled) %>
- <%= link_to 'Members', '#' %>
- <% end %>
+ <% if FeatureFlag.find_by(name: 'members').try(:enabled) %>
+ <%= link_to 'Members', '#' %>
+ <% end %>
- <%= link_to 'About', landing_about_path %>
+ <%= link_to 'About', landing_about_path %>
- <% if FeatureFlag.find_by(name: 'contact_us').try(:enabled) %>
- <%= link_to 'Contact Us', '#' %>
- <% end %>
+ <% if FeatureFlag.find_by(name: 'contact_us').try(:enabled) %>
+ <%= link_to 'Contact Us', '#' %>
+ <% end %>
- <% if FeatureFlag.find_by(name: 'contact_us').try(:enabled) %>
- <%= link_to 'Code of conduct', '#' %>
- <% end %>
-
-
-
-
- <%= link_to 'Sponsor', 'mailto:organisers@rubycommunity.africa' %>
-
+ <% if FeatureFlag.find_by(name: 'contact_us').try(:enabled) %>
+
<%= link_to 'Code of conduct', '#' %>
+ <% end %>
+
+
+
-
+
+
+ Connect
<%= link_to 'https://twitter.com/ruby_african' do %>
<%= image_tag image_path('brands_twitter.png'), class: "w-5" %>
- Twitter
<% end %>
@@ -78,24 +76,42 @@
<% end %>
-
<%= link_to 'https://www.facebook.com/rubycommunity.africa' do %>
<%= image_tag image_path('brands_facebook.png'), class: "w-5" %>
- Facebook
<% end %>
+
<%= link_to '#' do %>
<%= image_tag image_path('brands_instagram.png'), class: "w-5" %>
- Instagram
+
+ <% end %>
+
+
+
+ <%= link_to 'https://www.linkedin.com/company/african-ruby-community/' do %>
+
+
+ <%= image_tag image_path('brands_linkedin.png'), class: "w-5" %>
+
+
+ <% end %>
+
+
+
+ <%= link_to 'https://github.com/nairuby' do %>
+
+
+ <%= image_tag image_path('brands_github.png'), class: "w-5" %>
+
<% end %>
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 3830dcb8..28e7a401 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -42,9 +42,7 @@
Projects
<% end %>
- <% if FeatureFlag.find_by(name: 'learning_materials').try(:enabled) %>
- Learning Materials
- <% end %>
+ <%= link_to 'Learning Materials', landing_learn_path %>
<% if user_signed_in? %>
<%= button_to "Sign out", destroy_user_session_path, method: :delete %>
@@ -84,12 +82,9 @@
Projects
<% end %>
-
- <% if FeatureFlag.find_by(name: 'learning_materials').try(:enabled) %>
-
- Learning Materials
-
- <% end %>
+
+ <%= link_to 'Learning Materials', landing_learn_path,
+ class: 'text-sm font-small text-gray-500 hover:text-red-600' %>
<% if user_signed_in? %>
diff --git a/config/environments/development.rb b/config/environments/development.rb
index df10cb7a..e9c39878 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -77,4 +77,6 @@
# Uncomment if you wish to allow Action Cable access from any origin.
# config.action_cable.disable_request_forgery_protection = true
+
+ config.hosts << /.*/
end
diff --git a/config/routes.rb b/config/routes.rb
index bd983110..672bb2af 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -14,4 +14,5 @@
root 'landing#index'
get 'about', to: 'landing#about', as: :landing_about
+ get 'learn', to: 'landing#learn', as: :landing_learn
end