mirror of
https://github.com/status-im/ETHReport.git
synced 2025-02-03 10:03:37 +00:00
extracting content into data object
This commit is contained in:
parent
d2059c5fbc
commit
d3525939e1
@ -1,19 +1,12 @@
|
||||
import React from 'react';
|
||||
import Data from '../../data/content/content';
|
||||
import Parser from 'html-react-parser';
|
||||
import './style.scss';
|
||||
|
||||
const ContentBlurb = () => (
|
||||
<div className="content-blurb">
|
||||
<div className="container">
|
||||
<p>
|
||||
The community behind ETHPrize has interviewed over 100 developers in order to produce this
|
||||
website which showcases the biggest frustrations and opportunities in the ecosystem.
|
||||
</p>
|
||||
<p>
|
||||
We invite all developers, product managers, designers and #buidlers to use the ideas here
|
||||
and figure out what to make next so that we can all continue to build the world’s best
|
||||
cryptocurrency community and ship great products that actually improve the lives of as many
|
||||
people as possible.
|
||||
</p>
|
||||
{ Parser(Data.blurb) }
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
5
data/content/content.js
Normal file
5
data/content/content.js
Normal file
@ -0,0 +1,5 @@
|
||||
const data = {
|
||||
blurb: '<p>The community behind ETHPrize has interviewed over 100 developers in order to produce this website which showcases the biggest frustrations and opportunities in the ecosystem.</p><p>We invite all developers, product managers, designers and #buidlers to use the ideas here and figure out what to make next so that we can all continue to build the world’s best cryptocurrency community and ship great products that actually improve the lives of as many people as possible.</p>',
|
||||
};
|
||||
|
||||
export default data;
|
Loading…
x
Reference in New Issue
Block a user