Skip to content

Commit 1513077

Browse files
Kimberley CookKimberley Cook
Kimberley Cook
authored and
Kimberley Cook
committed
add initial route and page
1 parent 0459aea commit 1513077

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

app/views/layouts/_navigation.html.haml

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
%ul.dropdown-menu{'aria-labelledby': 'navbarDropdownMenuLinkCommunity'}
2020
%li= link_to 'Coaches', coaches_path, class: 'dropdown-item'
2121
%li= link_to 'Impact Report', 'https://impact-report.codebar.io/', class: 'dropdown-item'
22-
%li= link_to 'codebar Stories', 'https://medium.com/codebar-stories', class: 'dropdown-item'
22+
%li= link_to 'codebar Stories Podcast', codebar_stories_podcast_path, class: 'dropdown-item'
23+
%li= link_to 'codebar Stories Blog', 'https://medium.com/codebar-stories', class: 'dropdown-item'
2324
%li= link_to 'codebar Blog', 'https://medium.com/the-codelog', class: 'dropdown-item'
2425
%li.dropdown-divider
2526
%li= link_to 'Tutorials', 'http://tutorials.codebar.io', class: 'dropdown-item'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.container.py-4.py-lg-5
2+
.row.justify-content-md-center
3+
.col-md-10.col-lg-8
4+
%h1.display-2.text-white.lh-1.mb-4
5+
codebar Stories Podcast

config/routes.rb

+1
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
get 'privacy-policy' => 'pages#show', id: 'privacy-policy'
157157
get 'breach-code-of-conduct' => 'pages#show', id: 'breach-code-of-conduct'
158158
get 'how-to-support-us' => 'pages#show', id: 'how-to-support-us'
159+
get 'codebar-stories-podcast' => 'pages#show', id: 'codebar-stories-podcast'
159160

160161
get ':id' => 'chapter#show', as: :chapter
161162

0 commit comments

Comments
 (0)