-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from sabeurthabti/feature/qaripagedesign
/sura and /download
- Loading branch information
Showing
14 changed files
with
339 additions
and
98 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,14 @@ | ||
import React from 'react'; | ||
import Grid from 'react-bootstrap/lib/Grid'; | ||
import Row from 'react-bootstrap/lib/Row'; | ||
import Col from 'react-bootstrap/lib/Col'; | ||
const styles = require('./style.scss'); | ||
export default () => ( | ||
<Grid className={styles.header} fluid> | ||
<Row> | ||
<Col md={8} mdOffset={2} className={`text-center ${styles.header__text}`}> | ||
<h1 className={styles.heading}>QuranicAudio</h1> | ||
</Col> | ||
</Row> | ||
</Grid> | ||
); |
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,41 @@ | ||
@import "../../styles/variables.scss"; | ||
|
||
.header { | ||
background-color: $brand-primary; | ||
background: url('../../../static/images/index-bg.jpg') center center no-repeat; | ||
background-size: cover; | ||
height: 300px; | ||
color: #fff; | ||
|
||
@include mobile() { | ||
height: 30vh; | ||
padding: 1px; | ||
|
||
&.fixed { | ||
position: fixed; | ||
top: 0px; | ||
width:100%; | ||
height: 120px; | ||
background: #009faa; | ||
color: #FFF; | ||
font-size: 23px; | ||
padding-top: 50px; | ||
transition: height 0.3s linear 0s, padding 0.3s linear 0s; | ||
overflow:hidden; | ||
} | ||
} | ||
} | ||
|
||
.header__text { | ||
@include mobile() { | ||
margin-top: 15%; | ||
} | ||
} | ||
|
||
.heading { | ||
font-family: 'Montserrat-Bold'; | ||
font-size: 48px; | ||
margin-top: 80px; | ||
left: 0; | ||
position: relative; | ||
} |
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 |
---|---|---|
@@ -1,49 +1,33 @@ | ||
import React, { Component } from 'react'; | ||
import { connect } from 'react-redux'; | ||
import React from 'react'; | ||
import Grid from 'react-bootstrap/lib/Grid'; | ||
import Row from 'react-bootstrap/lib/Row'; | ||
import Col from 'react-bootstrap/lib/Col'; | ||
import Link from 'react-router/lib/Link'; | ||
import Header from '../../components/Header'; | ||
|
||
const styles = require('./style.scss'); | ||
|
||
class Home extends Component { | ||
render() { | ||
return ( | ||
<div> | ||
<Grid className={styles.header} fluid> | ||
<Row> | ||
<Col md={8} mdOffset={2} className={`text-center ${styles.header__text}`}> | ||
<h1 className={styles.heading}><Link to="/" className={styles.heading__link}>QuranicAudio</Link></h1> | ||
</Col> | ||
</Row> | ||
</Grid> | ||
<Grid> | ||
<Row className={styles.aboutContainer}> | ||
<Col md={8} mdOffset={2}> | ||
<Row> | ||
<h1>About</h1> | ||
<p> | ||
QuranicAudio.com is the largest collection of cd quality Quran recitations on the internet. Mp3s on this site may be downloaded and used for personal use free of charge. However, you may not use these files for commercial purposes as many of these files have rules and regulations that prevent their sale except by the publishing companies. | ||
</p> | ||
<p> | ||
QuranicAudio.com is the largest collection of cd quality Quran recitations on the internet. Mp3s on this site may be downloaded and used for personal use free of charge. However, you may not use these files for commercial purposes as many of these files have rules and regulations that prevent their sale except by the publishing companies. | ||
</p> | ||
<p> | ||
Files on QuranicAudio.com come from many different sources. Many of them are hand ripped from cds. Others have been downloaded from various other high quality sites on the internet, including HidayahOnline, DawahAcademy, <a href="http://kalamullah.com">Kalamullah.com</a>, <a href="http://sabbir.com">Sabbir.com</a>, <a href="http://dhikrullah.com">dhikrullah.com</a>, <a href="http://zanjabil.net">zanjabil.net</a>, <a href="http://shuraym.com">shuraym.com</a>, and others. Many of the files have also been sent to us by some of our users, may Allah reward them greatly. | ||
</p> | ||
</Row> | ||
</Col> | ||
</Row> | ||
</Grid> | ||
</div> | ||
); | ||
} | ||
} | ||
|
||
export default connect( | ||
state => ({ | ||
qaris: state.qaris.entities, | ||
sections: state.sections.entities | ||
}) | ||
)(Home); | ||
export default () => { | ||
return ( | ||
<div> | ||
<Header /> | ||
<Grid> | ||
<Row className={styles.aboutContainer}> | ||
<Col md={8} mdOffset={2}> | ||
<Row> | ||
<h1>About</h1> | ||
<p> | ||
QuranicAudio.com is the largest collection of cd quality Quran recitations on the internet. Mp3s on this site may be downloaded and used for personal use free of charge. However, you may not use these files for commercial purposes as many of these files have rules and regulations that prevent their sale except by the publishing companies. | ||
</p> | ||
<p> | ||
QuranicAudio.com is the largest collection of cd quality Quran recitations on the internet. Mp3s on this site may be downloaded and used for personal use free of charge. However, you may not use these files for commercial purposes as many of these files have rules and regulations that prevent their sale except by the publishing companies. | ||
</p> | ||
<p> | ||
Files on QuranicAudio.com come from many different sources. Many of them are hand ripped from cds. Others have been downloaded from various other high quality sites on the internet, including HidayahOnline, DawahAcademy, <a href="http://kalamullah.com">Kalamullah.com</a>, <a href="http://sabbir.com">Sabbir.com</a>, <a href="http://dhikrullah.com">dhikrullah.com</a>, <a href="http://zanjabil.net">zanjabil.net</a>, <a href="http://shuraym.com">shuraym.com</a>, and others. Many of the files have also been sent to us by some of our users, may Allah reward them greatly. | ||
</p> | ||
</Row> | ||
</Col> | ||
</Row> | ||
</Grid> | ||
</div> | ||
); | ||
}; |
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
Oops, something went wrong.