mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 05:18:34 +03:00
change to red!
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
import React from 'react'
|
||||
import marked from 'marked'
|
||||
import copy from '../common/data/copy.json'
|
||||
|
||||
export default ({ ui, app, methods }) => {
|
||||
function renderIntro () {
|
||||
var introCopy = copy[app.language].legend.default.intro
|
||||
if (process.env.store.text && process.env.store.text.introCopy) introCopy = process.env.store.text.introCopy
|
||||
return introCopy.map(txt => <p>{txt}</p>)
|
||||
return introCopy.map(txt => <p dangerouslySetInnerHTML={{ __html: marked(txt) }} />)
|
||||
}
|
||||
|
||||
function renderHalfWithDot () {
|
||||
|
||||
Reference in New Issue
Block a user