Skip to content

Commit 65aa9d9

Browse files
committed
Fix HomeScreen content
1 parent 49c8779 commit 65aa9d9

File tree

2 files changed

+20
-31
lines changed

2 files changed

+20
-31
lines changed

ui/src/screens/HomeScreen/HomeScreen.jsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { Component } from 'react';
22
import ReactMarkdown from 'react-markdown';
33
import rehypeRaw from 'rehype-raw';
4-
import { Navigate, Link } from 'react-router-dom';
4+
import { Navigate } from 'react-router-dom';
55
import queryString from 'query-string';
66
import { compose } from 'redux';
77
import { connect } from 'react-redux';
@@ -154,17 +154,6 @@ export class HomeScreen extends Component {
154154
Desarrollado por{' '}
155155
<a href="https://investigativedata.io">investigativedata.io</a>
156156
</p>
157-
<p className="HomeScreen__paragraph--center">
158-
<Link to="/pages/about">Más información</Link>
159-
</p>
160-
<h1 className="HomeScreen__title">
161-
{intl.formatMessage(messages.about)}
162-
</h1>
163-
<div className="HomeScreen__thirds">
164-
Cuba Investiga es una herramienta para hacer periodismo de
165-
investigación sobre Cuba.<br />
166-
<Link to="/pages/about">Más información</Link>
167-
</div>
168157
</div>
169158
</section>
170159
</div>

ui/src/screens/HomeScreen/HomeScreen.scss

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,25 @@ $vertical-spacing: $aleph-grid-size * 5;
4747
vertical-align: middle;
4848
}
4949

50-
// &:nth-child(even) {
51-
// background-color: $dark-gray2;
52-
// color: white;
53-
54-
// .HomeScreen__title {
55-
// color: white;
56-
// }
57-
58-
// b {
59-
// color: white;
60-
// }
61-
62-
// a {
63-
// color: white;
64-
// }
65-
// }
66-
// &:nth-child(odd) {
67-
// background-color: $light-gray5;
68-
// }
50+
&:nth-child(even) {
51+
background-color: $dark-gray2;
52+
color: white;
53+
54+
.HomeScreen__title {
55+
color: white;
56+
}
57+
58+
b {
59+
color: white;
60+
}
61+
62+
a {
63+
color: white;
64+
}
65+
}
66+
&:nth-child(odd) {
67+
background-color: $light-gray5;
68+
}
6969
}
7070

7171
&__text-container {

0 commit comments

Comments
 (0)