Skip to content

Commit ffb7059

Browse files
mmahalwythabti
authored andcommitted
Remove footer links (quran#385)
* Remove footer links * eslint
1 parent dc2be10 commit ffb7059

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

src/containers/App/index.js

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default class App extends Component {
3434
};
3535

3636
render() {
37-
const { surahs, children } = this.props;
37+
const { children } = this.props;
3838
debug('component:APPLICATION', 'Render');
3939

4040
return (
@@ -80,20 +80,6 @@ export default class App extends Component {
8080
<Col md={10} mdOffset={1} className="text-center">
8181
<ul className={`list-inline ${styles.seo}`}>
8282
<li><a href="/sitemap.xml">Sitemap</a></li>
83-
{Object.values(surahs)
84-
.filter(surah => [2, 3, 18, 19, 55, 56, 67, 112].indexOf(surah.id))
85-
.map(surah => (
86-
<li key={surah.id}>
87-
<Link
88-
to={`/${surah.id}`}
89-
data-metrics-event-name="FooterLinks:Click"
90-
data-metrics-surah-id={surah.id}
91-
>
92-
{`Surah ${surah.name.simple} (سورة ${surah.name.arabic})`}
93-
</Link>
94-
</li>
95-
))
96-
}
9783
<li>
9884
<Link
9985
to="/36"

0 commit comments

Comments
 (0)