mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 05:18:34 +03:00
Add cells to card and tidy up
This commit is contained in:
@@ -4,10 +4,11 @@ import copy from '../../js/data/copy.json';
|
||||
|
||||
const CardSource = ({ source, language }) => {
|
||||
const source_lang = copy[language].cardstack.source;
|
||||
if (!source) source = copy[language].cardstack.unknown_source;
|
||||
|
||||
return (
|
||||
<div className="card-cell source">
|
||||
<h4>{source_lang}</h4>
|
||||
<div className="card-row card-cell source">
|
||||
<h4>{source_lang}: </h4>
|
||||
<p>{source}</p>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user