diff --git a/app/assets/images/brands_github.png b/app/assets/images/brands_github.png new file mode 100644 index 00000000..0b2d4ed3 Binary files /dev/null and b/app/assets/images/brands_github.png differ diff --git a/app/assets/images/brands_linkedin.png b/app/assets/images/brands_linkedin.png new file mode 100644 index 00000000..e32db512 Binary files /dev/null and b/app/assets/images/brands_linkedin.png differ diff --git a/app/assets/images/workshop.jpg b/app/assets/images/workshop.jpg index f19feb17..54bc9892 100644 Binary files a/app/assets/images/workshop.jpg and b/app/assets/images/workshop.jpg differ diff --git a/app/controllers/landing_controller.rb b/app/controllers/landing_controller.rb index b929bb4e..741bf3b0 100644 --- a/app/controllers/landing_controller.rb +++ b/app/controllers/landing_controller.rb @@ -1,9 +1,13 @@ class LandingController < ApplicationController # People should not require authentication for following actions - skip_before_action :authenticate_user!, only: %i[index about] + skip_before_action :authenticate_user!, only: %i[index about learn] def index;end ## # About us page def about;end + + ## + # Featured learning materials + def learn;end end diff --git a/app/views/chapters/index.html.erb b/app/views/chapters/index.html.erb index 65699ee4..de238046 100644 --- a/app/views/chapters/index.html.erb +++ b/app/views/chapters/index.html.erb @@ -3,8 +3,8 @@ Chapters -
+
<% @chapters.each do |chapter| %>
diff --git a/app/views/landing/about.html.erb b/app/views/landing/about.html.erb index 0096961e..7458187d 100644 --- a/app/views/landing/about.html.erb +++ b/app/views/landing/about.html.erb @@ -1,14 +1,13 @@ -
- <%= image_tag image_path('workshop.jpg'), class: "pt-20", style: "width: 900px; height: - 400px; filter: brightness(20%);" %> +
+ <%= image_tag image_path('workshop.jpg'), class: "pt-20 w-fit h-fit", style: "filter: brightness(40%);" %>
-
-

+
+

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' %> -
-

Request new chapter

-
-
+
+ + <%= 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 +

+ + +
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 @@