🎨 ajoute une animation sur les pages règles
parent
cb0bdcbdd8
commit
372a0c2c14
|
@ -22,6 +22,7 @@ import {
|
|||
noUserInputSelector,
|
||||
ruleAnalysisSelector
|
||||
} from 'Selectors/analyseSelectors'
|
||||
import Animate from 'Ui/animate'
|
||||
import { AttachDictionary } from '../AttachDictionary'
|
||||
import Algorithm from './Algorithm'
|
||||
import Examples from './Examples'
|
||||
|
@ -73,73 +74,75 @@ export default compose(
|
|||
</>
|
||||
) : (
|
||||
<div id="rule" className="ui__ container">
|
||||
<Helmet>
|
||||
<title>{title}</title>
|
||||
<meta name="description" content={description} />
|
||||
</Helmet>
|
||||
<RuleHeader
|
||||
{...{
|
||||
ns,
|
||||
type,
|
||||
description,
|
||||
question,
|
||||
flatRule,
|
||||
flatRules,
|
||||
name,
|
||||
title,
|
||||
icon,
|
||||
valuesToShow
|
||||
}}
|
||||
/>
|
||||
|
||||
{this.renderToggleSourceButton()}
|
||||
<section id="rule-content">
|
||||
{displayedRule.nodeValue ? (
|
||||
<div id="ruleValue">
|
||||
<i className="fa fa-calculator" aria-hidden="true" />{' '}
|
||||
{displayedRule.format === 'euros' || displayedRule.formule
|
||||
? Intl.NumberFormat(language, {
|
||||
style: 'currency',
|
||||
currency: 'EUR'
|
||||
}).format(displayedRule.nodeValue)
|
||||
: typeof displayedRule.nodeValue !== 'object'
|
||||
? displayedRule.nodeValue
|
||||
: null}
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
{displayedRule.defaultValue != null &&
|
||||
typeof displayedRule.defaultValue !== 'object' ? (
|
||||
<div id="ruleDefault">
|
||||
Valeur par défaut : {displayedRule.defaultValue}
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
{//flatRule.question &&
|
||||
// Fonctionnalité intéressante, à implémenter correctement
|
||||
false && <UserInput {...{ flatRules, dottedName }} />}
|
||||
{flatRule.ns && (
|
||||
<Algorithm
|
||||
rule={displayedRule}
|
||||
showValues={valuesToShow || currentExample}
|
||||
/>
|
||||
)}
|
||||
{flatRule.note && (
|
||||
<section id="notes">
|
||||
<h3>Note: </h3>
|
||||
{createMarkdownDiv(flatRule.note)}
|
||||
</section>
|
||||
)}
|
||||
<Examples
|
||||
currentExample={currentExample}
|
||||
situationExists={valuesToShow}
|
||||
rule={displayedRule}
|
||||
<Animate.fromBottom key={title}>
|
||||
<Helmet>
|
||||
<title>{title}</title>
|
||||
<meta name="description" content={description} />
|
||||
</Helmet>
|
||||
<RuleHeader
|
||||
{...{
|
||||
ns,
|
||||
type,
|
||||
description,
|
||||
question,
|
||||
flatRule,
|
||||
flatRules,
|
||||
name,
|
||||
title,
|
||||
icon,
|
||||
valuesToShow
|
||||
}}
|
||||
/>
|
||||
{!isEmpty(namespaceRules) && (
|
||||
<NamespaceRulesList {...{ namespaceRules }} />
|
||||
)}
|
||||
{this.renderReferences(flatRule)}
|
||||
</section>
|
||||
|
||||
{this.renderToggleSourceButton()}
|
||||
<section id="rule-content">
|
||||
{displayedRule.nodeValue ? (
|
||||
<div id="ruleValue">
|
||||
<i className="fa fa-calculator" aria-hidden="true" />{' '}
|
||||
{displayedRule.format === 'euros' || displayedRule.formule
|
||||
? Intl.NumberFormat(language, {
|
||||
style: 'currency',
|
||||
currency: 'EUR'
|
||||
}).format(displayedRule.nodeValue)
|
||||
: typeof displayedRule.nodeValue !== 'object'
|
||||
? displayedRule.nodeValue
|
||||
: null}
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
{displayedRule.defaultValue != null &&
|
||||
typeof displayedRule.defaultValue !== 'object' ? (
|
||||
<div id="ruleDefault">
|
||||
Valeur par défaut : {displayedRule.defaultValue}
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
{//flatRule.question &&
|
||||
// Fonctionnalité intéressante, à implémenter correctement
|
||||
false && <UserInput {...{ flatRules, dottedName }} />}
|
||||
{flatRule.ns && (
|
||||
<Algorithm
|
||||
rule={displayedRule}
|
||||
showValues={valuesToShow || currentExample}
|
||||
/>
|
||||
)}
|
||||
{flatRule.note && (
|
||||
<section id="notes">
|
||||
<h3>Note: </h3>
|
||||
{createMarkdownDiv(flatRule.note)}
|
||||
</section>
|
||||
)}
|
||||
<Examples
|
||||
currentExample={currentExample}
|
||||
situationExists={valuesToShow}
|
||||
rule={displayedRule}
|
||||
/>
|
||||
{!isEmpty(namespaceRules) && (
|
||||
<NamespaceRulesList {...{ namespaceRules }} />
|
||||
)}
|
||||
{this.renderReferences(flatRule)}
|
||||
</section>
|
||||
</Animate.fromBottom>
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
|
|
|
@ -2586,9 +2586,9 @@
|
|||
Grâce à elle, vous êtes couvert sur la plupart des soins de santé. En cas de maladie grave ou de longue durée, 100 % des soins sont remboursés.
|
||||
|
||||
## L'assurance maladie en France en quelques chiffres
|
||||
- **92 %** des dépenses de santé remboursée par l'assurance maladie et la complémentaire (un des plus élevé au monde)
|
||||
- **92 %** des dépenses de santé remboursée par l'assurance maladie et la complémentaire en moyenne
|
||||
- **30 000 € / an / patient** : dépense de santé d'une personne atteinte de [mucoviscidose](https://fr.wikipedia.org/wiki/Mucoviscidose),
|
||||
**entièrement pris en charge par la sécurité sociale**
|
||||
,entièrement prise en charge par la sécurité sociale
|
||||
- **11,7 % ** du PIB consacré aux dépenses de santé, le 5ème de l'OCDE
|
||||
- **82,4 ans** d’espérance de vie moyenne en france (dans le top 10 mondial)
|
||||
|
||||
|
|
|
@ -1340,10 +1340,10 @@ branche de la protection sociale . assurance chômage:
|
|||
Thanks to it, all those who involuntarily lose their jobs can receive income in the form of an allowance as long as they have made sufficient contributions.
|
||||
|
||||
## Health insurance in France in a few figures
|
||||
- 72%** of old net salary: average percentage of unemployment benefit
|
||||
- 2.7 million** unemployed people compensated each month
|
||||
- 1,020 €****: amount of the net allowance per month
|
||||
- 51%** of recipients combine allowance and salary
|
||||
- **72%** of old net salary: average percentage of unemployment benefit
|
||||
- **2.7 million** unemployed people compensated each month
|
||||
- **1,020 €****: amount of the net allowance per month
|
||||
- **51%** of recipients combine allowance and salary
|
||||
|
||||
branche de la protection sociale . famille:
|
||||
titre.en: family
|
||||
|
|
Loading…
Reference in New Issue