Skip to content

Commit

Permalink
Updating about link and the sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ-Kulundu committed Oct 14, 2023
1 parent 4c70b23 commit dc8c442
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/views/landing/about.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% content_for(:title,"About us") %>
<% content_for(:description,"ARC brings entrepreneurs, developers, Designers, open source contributors") %>
<% content_for(:description,"ARC brings entrepreneurs, developers, Designers, open source contributors together") %>
<div class="flex justify-center h-60 mb-16 md:mb-28 lg:mb-40" style="background-color: #020101">
<%= image_tag('workshop.jpg', alt:"ARC Workshop", class: "pt-20 w-fit h-fit", style: "filter: brightness(40%);") %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<ul tabindex="0" class="menu menu-compact dropdown-content mt-3 p-2 shadow
bg-base-100 rounded-box w-52 md:hidden">
<li><%= link_to 'Home', root_path %></li>
<li><%= link_to 'About', landing_about_path %></li>
<li><%= link_to 'About ARC', landing_about_path %></li>

<% if FeatureFlag.find_by(name: 'events').try(:enabled) %>
<li><a href="#">Events</a></li>
Expand Down
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
# Defines the root path route ("/")
root 'landing#index'

get 'about', to: 'landing#about', as: :landing_about
get 'about_us', to: 'landing#about', as: :landing_about
get 'learn', to: 'landing#learn', as: :landing_learn
end
2 changes: 1 addition & 1 deletion config/sitemap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# add article_path(article), :lastmod => article.updated_at
# end

add '/about',
add '/about_us',
changefreq: 'monthly',
priority: 0.9
add '/learn',
Expand Down
2 changes: 1 addition & 1 deletion public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:pagemap="http://www.google.com/schemas/sitemap-pagemap/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://rubycommunity.africa</loc><lastmod>2023-05-27T10:44:44+03:00</lastmod><changefreq>weekly</changefreq><priority>1.0</priority></url><url><loc>https://rubycommunity.africa/about</loc><lastmod>2023-05-27T10:44:44+03:00</lastmod><changefreq>monthly</changefreq><priority>0.9</priority></url><url><loc>https://rubycommunity.africa/learn</loc><lastmod>2023-05-27T10:44:44+03:00</lastmod><changefreq>monthly</changefreq><priority>0.9</priority></url><url><loc>https://rubycommunity.africa/chapters</loc><lastmod>2023-05-27T10:44:44+03:00</lastmod><changefreq>monthly</changefreq><priority>0.9</priority></url></urlset>
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:pagemap="http://www.google.com/schemas/sitemap-pagemap/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://rubycommunity.africa</loc><lastmod>2023-10-14T14:11:33+03:00</lastmod><changefreq>weekly</changefreq><priority>1.0</priority></url><url><loc>https://rubycommunity.africa/about_us</loc><lastmod>2023-10-14T14:11:33+03:00</lastmod><changefreq>monthly</changefreq><priority>0.9</priority></url><url><loc>https://rubycommunity.africa/learn</loc><lastmod>2023-10-14T14:11:33+03:00</lastmod><changefreq>monthly</changefreq><priority>0.9</priority></url><url><loc>https://rubycommunity.africa/chapters</loc><lastmod>2023-10-14T14:11:33+03:00</lastmod><changefreq>monthly</changefreq><priority>0.9</priority></url><url><loc>https://rubycommunity.africa/users/sign_up</loc><lastmod>2023-10-14T14:11:33+03:00</lastmod><changefreq>monthly</changefreq><priority>0.8</priority></url><url><loc>https://rubycommunity.africa/users/sign_in</loc><lastmod>2023-10-14T14:11:33+03:00</lastmod><changefreq>monthly</changefreq><priority>0.8</priority></url></urlset>

0 comments on commit dc8c442

Please sign in to comment.