-
Notifications
You must be signed in to change notification settings - Fork 0
Add static about page #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| <div class "container"> | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Separation of Responsibilities] Instead, we should add separate handling for static pages. |
||
| <div class="row"> | ||
| <div class="col-sm-2"></div> | ||
| <div class="col-sm-8"> | ||
| <h2 class="text-center">ABOUT UNITE</h2> | ||
| <p class="text-justify"> | ||
| Created by the effervescent Candace Fisher, "Unite" aims to be the social hub for entrepeneurs. Meet and greet other | ||
| entrepeneurs with similar interests and expertise in your area. Gain the insight needed to get your business off | ||
| the ground. Sign Up is completely FREE! | ||
| </p> | ||
| </div> | ||
| <div class="col-sm-2"></div> | ||
| </div> | ||
| </div> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,7 @@ | |
| get 'login', to: 'sessions#new' | ||
| post 'login', to: 'sessions#create' | ||
| get 'welcome', to: 'sessions#welcome' | ||
| get 'about', to: 'sessions#about' | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Once you decouple the sessions from static pages, this will need to change as well |
||
| get 'authorized', to: 'sessions#page_requires_login' | ||
| get "logout", to: 'sessions#destroy', as: :logout | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Code Hygiene]
If this is not longer needed, its cleaner to just remove it over commenting it out.