-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Create Footer component (#499) This commit basically should add a footer to the Simple React page, But The footer logic is used in more than one place so a Footer component is created and called wherever it is needed. Resolves #499 * Move Footer to application layout The Footer should appear in all the pages.
- Loading branch information
Showing
10 changed files
with
43 additions
and
24 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import React from 'react'; | ||
import BaseComponent from 'libs/components/BaseComponent'; | ||
import css from './Footer.module.scss'; | ||
|
||
export default class Footer extends BaseComponent { | ||
render() { | ||
return ( | ||
<div className="container"> | ||
<a href="http://www.shakacode.com"> | ||
<h3> | ||
<div className={css.logo} /> | ||
Example of styling using image-url and Open Sans Light custom font | ||
</h3> | ||
</a> | ||
<a href="https://twitter.com/railsonmaui"> | ||
<div className={css.twitterImage} /> | ||
Rails On Maui on Twitter | ||
</a> | ||
</div> | ||
); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
client/app/bundles/comments/components/Footer/Footer.module.scss
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.logo { | ||
background: url('./images/railsonmaui.png') no-repeat left bottom; | ||
display: inline-block; | ||
height: 40px; | ||
margin-right: 10px; | ||
width: 146px; | ||
} | ||
|
||
.twitterImage { | ||
background: url('./images/twitter_64.png') no-repeat; | ||
height: 64px; | ||
width: 64px; | ||
} |
File renamed without changes
File renamed without changes
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