This repository has been archived by the owner on Jun 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added no script warning * fixed messaging * minor css changes * removed font size
- Loading branch information
1 parent
45acbd8
commit 75401e0
Showing
3 changed files
with
36 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React from 'react'; | ||
import Link from 'react-router/lib/Link'; | ||
|
||
import Row from 'react-bootstrap/lib/Row'; | ||
import Col from 'react-bootstrap/lib/Col'; | ||
|
||
const styles = require('./style.scss'); | ||
|
||
const NoScriptWarning = () => ( | ||
<noscript> | ||
<Row> | ||
<Col md={12} className={styles.noscript_warning}> | ||
<p> Looks like either your browser does not support Javascript or its disabled. Quran.com workes best with JavaScript enabled. | ||
For more instruction on how to enable javascript | ||
|
||
<Link to="http://www.enable-javascript.com/"> Click here</Link> | ||
</p> | ||
</Col> | ||
</Row> | ||
</noscript> | ||
); | ||
|
||
export default NoScriptWarning; |
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,11 @@ | ||
.noscript_warning { | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
z-index: 1201; | ||
text-align: center; | ||
color: #FFF; | ||
background-color: #AE0000; | ||
padding: 5px 0 5px 0; | ||
} |
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