-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from nairuby/main
update local fork
- Loading branch information
Showing
15 changed files
with
292 additions
and
138 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,60 +5,56 @@ | |
|
||
<div class="grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 | ||
xl:grid-cols-5 gap-2 px-20 place-content-center"> | ||
<div class="items-center justify-center w-44 h-40 card border border-red-600 | ||
<div class="place-self-center w-72 md:w-48 card border border-red-600 | ||
rounded-b-md rounded-tr-md"> | ||
<%= image_tag image_path 'country_kenya.png' %> | ||
<div> | ||
<p class="text-2xl text-red-600">Kenya</p> | ||
<%= link_to new_user_registration_path do %> | ||
<p>Join community</p> | ||
<% end %> | ||
</div> | ||
|
||
<%= image_tag image_path('country_kenya.png'), class: 'pt-2 place-self-center h-16 md:36' %> | ||
<p class="place-self-center text-2xl text-red-600">Kenya</p> | ||
|
||
<%= link_to new_user_registration_path, class: 'place-self-center pb-6' do %> | ||
<p>Join community</p> | ||
<% end %> | ||
</div> | ||
|
||
<div class="items-center justify-center w-44 h-40 card border border-red-600 | ||
<div class="place-self-center w-72 md:w-48 card border border-red-600 | ||
rounded-b-md rounded-tr-md"> | ||
<%= image_tag image_path 'country_rwanda.png' %> | ||
<div> | ||
<p class="text-2xl text-red-600">Rwanda</p> | ||
<%= link_to new_user_registration_path do %> | ||
<p>Join community</p> | ||
<% end %> | ||
</div> | ||
|
||
<%= image_tag image_path('country_rwanda.png'), class: 'pt-2 place-self-center h-16 md:36' %> | ||
<p class="place-self-center text-2xl text-red-600">Rwanda</p> | ||
|
||
<%= link_to new_user_registration_path, class: 'place-self-center pb-6' do %> | ||
<p>Join community</p> | ||
<% end %> | ||
</div> | ||
|
||
<div class="items-center justify-center w-44 h-40 card border border-red-600 | ||
<div class="place-self-center w-72 md:w-48 card border border-red-600 | ||
rounded-b-md rounded-tr-md"> | ||
<%= image_tag image_path 'country_tanzania.png' %> | ||
<div> | ||
<p class="text-2xl text-red-600">Tanzania</p> | ||
|
||
<%= link_to new_user_registration_path do %> | ||
<p>Join community</p> | ||
<% end %> | ||
</div> | ||
<%= image_tag image_path('country_tanzania.png'), class: 'pt-2 place-self-center h-16 md:36' %> | ||
<p class="place-self-center text-2xl text-red-600">Tanzania</p> | ||
|
||
<%= link_to new_user_registration_path, class: 'place-self-center pb-6' do %> | ||
<p>Join community</p> | ||
<% end %> | ||
</div> | ||
|
||
<div class="items-center justify-center w-44 h-40 card border border-red-600 | ||
<div class="place-self-center w-72 md:w-48 card border border-red-600 | ||
rounded-b-md rounded-tr-md"> | ||
<%= image_tag image_path 'country_uganda.png' %> | ||
<div> | ||
<p class="text-2xl text-red-600">Uganda</p> | ||
|
||
<%= link_to new_user_registration_path do %> | ||
<p>Join community</p> | ||
<% end %> | ||
</div> | ||
<%= image_tag image_path('country_uganda.png'), class: 'pt-2 place-self-center h-16 md:36' %> | ||
<p class="place-self-center text-2xl text-red-600">Uganda</p> | ||
|
||
<%= link_to new_user_registration_path, class: 'place-self-center pb-6' do %> | ||
<p>Join community</p> | ||
<% end %> | ||
</div> | ||
|
||
<a href="mailto:[email protected]"> | ||
<div class="items-center justify-center w-44 h-40 card border border-slate-900 | ||
border-dashed rounded-b-md rounded-tr-md"> | ||
<%= image_tag image_path 'add.png' %> | ||
<div class="px-5"> | ||
<p class="text-2xl">Request new chapter</p> | ||
</div> | ||
</div> | ||
<a href="mailto:[email protected]" class="place-self-center w-72 md:w-48 card border border-red-600 | ||
rounded-b-md rounded-tr-md"> | ||
|
||
<%= image_tag image_path('add.png'), class: 'pt-2 place-self-center h-16 md:36' %> | ||
<p class="place-self-center text-xl text-red-600">Request new chapter</p> | ||
<p class="pb-6"></p> | ||
</a> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.