Additional card cleanup

This commit is contained in:
Franc Camps-Febrer
2018-11-27 12:44:40 -05:00
parent b658356448
commit 20051db90a
20 changed files with 347 additions and 191 deletions

View File

@@ -0,0 +1,16 @@
import React from 'react';
import copy from '../../js/data/copy.json';
const CardSource = ({ source, language }) => {
const source_lang = copy[language].cardstack.source;
return (
<div className="event-card-section source">
<h4>{source_lang}</h4>
<p>{source}</p>
</div>
);
}
export default CardSource;