Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.

Footer links are restored and footer layout is improved. #490

Merged
merged 1 commit into from
Nov 11, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 18 additions & 14 deletions src/containers/App/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ class App extends Component {
<FontStyles />
{children}
<footer className={styles.footer}>
<Grid fluid>
<Grid>
<div className="col-md-10 col-md-offset-1">
<Row>
<Col md={2} mdOffset={3} xs={4} xsOffset={1} className={styles.about}>
<Col md={2} sm={4} xs={12} className={styles.about}>
<p>Navigate</p>
<ul className={`source-sans ${styles.list}`}>
<li><a href="/about">About</a></li>
<li><a href="/contact">Contact</a></li>
Expand All @@ -50,7 +52,8 @@ class App extends Component {
</li>
</ul>
</Col>
<Col md={2} xs={5} className={styles.links}>
<Col md={3} sm={4} xs={12} className={styles.links}>
<p>Useful sites</p>
<ul className={`source-sans ${styles.list}`}>
<li><a target="_blank" href="http://sunnah.com/" data-metrics-event-name="Footer:Link:Sunnah">Sunnah.com</a></li>
<li><a target="_blank" href="http://salah.com/" data-metrics-event-name="Footer:Link:Salah">Salah.com</a></li>
Expand All @@ -62,17 +65,9 @@ class App extends Component {
</li>
</ul>
</Col>
<Col md={2} className={`text-right ${styles.links}`}>
<p className="monserrat">&copy; QURAN.COM. ALL RIGHTS RESERVED 2016</p>
<p className="monserrat">
Quran.com (also known as The Noble Quran, Al Quran, Holy Quran, Koran){' '}
is a pro bono project.
</p>
</Col>
</Row>
<Row>
<Col md={10} mdOffset={1} className="text-center">
<ul className={`list-inline ${styles.seo}`}>
<Col md={3} sm={4} xs={12} className={styles.links}>
<p>Other links</p>
<ul className={`source-sans ${styles.list}`}>
<li><a href="/sitemap.xml">Sitemap</a></li>
<li>
<Link
Expand All @@ -94,7 +89,16 @@ class App extends Component {
</li>
</ul>
</Col>
<Col md={4} sm={12} xs={12} className={styles.links}>
<p className="monserrat">
Quran.com ( also known as The Noble Quran, Al Quran, Holy Quran, Koran ){' '}
is a pro bono project.
</p>

<p className="monserrat">&copy; QURAN.COM. ALL RIGHTS RESERVED 2016</p>
</Col>
</Row>
</div>
</Grid>
</footer>
</div>
Expand Down
43 changes: 23 additions & 20 deletions src/containers/App/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,47 @@
font-size: 14px;
margin-top: 50px;

.about,
.links{
.about, .links{
padding-top: 30px;
text-transform: uppercase;

.list{
padding-left: 0px;
:global(li){
list-style: none;
padding: 3% 0%;
padding: 5px 0;
}
}
}

.about{
a{
p{
line-height: 30px;
color: #fff;
}
}

.links{
text-transform: uppercase;
a{
font-size: 13px;
color: rgba(#fff, 0.5);
}
}
}

.seo{
padding-top: 15px;
:global(li){
&:first-child{
border: none;
a:hover{
color: #fff;
}

border-left: 1px solid rgba(#fff, 0.5);
}

:global(a){
color: rgba(#fff, 0.5);;
white-space: pre;
-webkit-transition: color .15s ease-in-out;
-moz-transition: color .15s ease-in-out;
-o-transition: color .15s ease-in-out;
-ms-transition: color .15s ease-in-out;
transition: color .15s ease-in-out;
}

.links {
&:last-child{
p{
color: rgba(#fff, 0.5);
}
}
}

}