Skip to content

Commit

Permalink
Fix HomeScreen content
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwoerpel committed Aug 20, 2024
1 parent 49c8779 commit 65aa9d9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 31 deletions.
13 changes: 1 addition & 12 deletions ui/src/screens/HomeScreen/HomeScreen.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Component } from 'react';
import ReactMarkdown from 'react-markdown';
import rehypeRaw from 'rehype-raw';
import { Navigate, Link } from 'react-router-dom';
import { Navigate } from 'react-router-dom';
import queryString from 'query-string';
import { compose } from 'redux';
import { connect } from 'react-redux';
Expand Down Expand Up @@ -154,17 +154,6 @@ export class HomeScreen extends Component {
Desarrollado por{' '}
<a href="https://investigativedata.io">investigativedata.io</a>
</p>
<p className="HomeScreen__paragraph--center">
<Link to="/pages/about">Más información</Link>
</p>
<h1 className="HomeScreen__title">
{intl.formatMessage(messages.about)}
</h1>
<div className="HomeScreen__thirds">
Cuba Investiga es una herramienta para hacer periodismo de
investigación sobre Cuba.<br />
<Link to="/pages/about">Más información</Link>
</div>
</div>
</section>
</div>
Expand Down
38 changes: 19 additions & 19 deletions ui/src/screens/HomeScreen/HomeScreen.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,25 +47,25 @@ $vertical-spacing: $aleph-grid-size * 5;
vertical-align: middle;
}

// &:nth-child(even) {
// background-color: $dark-gray2;
// color: white;

// .HomeScreen__title {
// color: white;
// }

// b {
// color: white;
// }

// a {
// color: white;
// }
// }
// &:nth-child(odd) {
// background-color: $light-gray5;
// }
&:nth-child(even) {
background-color: $dark-gray2;
color: white;

.HomeScreen__title {
color: white;
}

b {
color: white;
}

a {
color: white;
}
}
&:nth-child(odd) {
background-color: $light-gray5;
}
}

&__text-container {
Expand Down

0 comments on commit 65aa9d9

Please sign in to comment.