Skip to content

Commit

Permalink
Correct grammar and add a div for the daily screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
diegovalle committed Nov 12, 2024
1 parent 9bd930d commit e22cedb
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ elcri.men/yarn-error.log
R/interactive-map/municipios-centroids.csv
R/interactive-map/municipios-centroids.json
elcri.men/static/smooth-latest.png

elcri.men/src/assets/images/social/social/*.png
!crimenmexico.diegovalle.net/assets/json/municipios-centroids.csv
Binary file modified elcri.men/src/assets/images/social/social-daily-report.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified elcri.men/src/assets/images/social/social-daily-report_en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion elcri.men/src/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,5 +277,5 @@
"SNSP (monthly)": "SNSP (mensual)",
"Difference": "Diferencia",
"to2": "al",
"difference_20": "Comparasión de los últimos 30 días con los anteriores 30"
"difference_20": "Comparación de los últimos 30 días con los anteriores 30"
}
51 changes: 26 additions & 25 deletions elcri.men/src/pages/reporte-diario.js
Original file line number Diff line number Diff line change
Expand Up @@ -652,34 +652,35 @@ function ReporteDiario(props) {
<h3 className="title is-3">
<FormattedHTMLMessage id="daily_in_red_title" />
</h3>

<div className="columns">
<div className="column is-half is-offset-5">
<p style={{ lineHeight: '1.2rem' }}>
<FormattedHTMLMessage id="snsp-victims" />
<br />
<FormattedHTMLMessage id="preliminary_homicides" />
<br />
<FormattedHTMLMessage id="prediction_homicides" />
</p>
</div>
</div>
<article id="homicide_prediction">
<div id="homicide_prediction">
<div className="columns">
<div className="column is-10 is-offset-1">
<figure className="image is-2by1">
<div className=" has-ratio">
<ReactEChartsCore
echarts={echarts}
option={monthlyChartOption}
style={{ height: '100%', width: '100%' }}
opts={{ locale: echarts.registerLocale('ES') }}
/>
</div>
</figure>
<div className="column is-half is-offset-5">
<p style={{ lineHeight: '1.2rem' }}>
<FormattedHTMLMessage id="snsp-victims" />
<br />
<FormattedHTMLMessage id="preliminary_homicides" />
<br />
<FormattedHTMLMessage id="prediction_homicides" />
</p>
</div>
</div>
</article>
<article>
<div className="columns">
<div className="column is-10 is-offset-1">
<figure className="image is-2by1">
<div className=" has-ratio">
<ReactEChartsCore
echarts={echarts}
option={monthlyChartOption}
style={{ height: '100%', width: '100%' }}
opts={{ locale: echarts.registerLocale('ES') }}
/>
</div>
</figure>
</div>
</div>
</article>
</div>
<hr style={{ backgroundColor: '#fff' }} />
<div className="columns is-centered">
<div className="column is-8">
Expand Down

0 comments on commit e22cedb

Please sign in to comment.