diff --git a/.eslintcache b/.eslintcache index d6654fb..8321b8a 100644 --- a/.eslintcache +++ b/.eslintcache @@ -1 +1 @@ -[{"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/index.js":"1","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/App.js":"2","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/reportWebVitals.js":"3","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/menuComponent/index.js":"4","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/menuComponent/menuComponent.js":"5","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/MenuComponent/index.js":"6","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/MenuComponent/MenuComponent.js":"7","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/mainCard/mainCard.js":"8","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/MainCard/MainCard.js":"9","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ExperienceCard/index.js":"10","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ExperienceCard/ExperienceCard.js":"11","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/buttonIcon/index.js":"12","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/buttonIcon/buttonIcon.js":"13","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ButtonIcon/index.js":"14","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ButtonIcon/ButtonIcon.js":"15","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ProjectsCard/index.js":"16","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ProjectsCard/ProjectsCard.js":"17","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ProjectCard/index.js":"18","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ProjectCard/ProjectCard.js":"19","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ContactCard/index.js":"20","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ContactCard/ContactCard.js":"21","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/contactButton/index.js":"22","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/contactButton/contactButton.js":"23","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ContactButton/index.js":"24","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ContactButton/ContactButton.js":"25","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/FooterCard/index.js":"26","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/FooterCard/FooterCard.js":"27"},{"size":1196,"mtime":1609434094815,"results":"28","hashOfConfig":"29"},{"size":521,"mtime":1609403660650,"results":"30","hashOfConfig":"29"},{"size":362,"mtime":1607637518766,"results":"31","hashOfConfig":"29"},{"size":74,"mtime":1607640746796,"results":"32","hashOfConfig":"33"},{"size":681,"mtime":1607640746796,"results":"34","hashOfConfig":"33"},{"size":74,"mtime":1607640746796,"results":"35","hashOfConfig":"29"},{"size":2150,"mtime":1609622225671,"results":"36","hashOfConfig":"29"},{"size":632,"mtime":1607641188004,"results":"37","hashOfConfig":"33"},{"size":4115,"mtime":1609631124477,"results":"38","hashOfConfig":"29"},{"size":77,"mtime":1607642019704,"results":"39","hashOfConfig":"29"},{"size":1609,"mtime":1609631266944,"results":"40","hashOfConfig":"29"},{"size":65,"mtime":1607643386517,"results":"41","hashOfConfig":"33"},{"size":674,"mtime":1607643491629,"results":"42","hashOfConfig":"33"},{"size":65,"mtime":1607643577907,"results":"43","hashOfConfig":"29"},{"size":491,"mtime":1607643905302,"results":"44","hashOfConfig":"29"},{"size":71,"mtime":1607644745576,"results":"45","hashOfConfig":"29"},{"size":1674,"mtime":1607646170128,"results":"46","hashOfConfig":"29"},{"size":68,"mtime":1607645435051,"results":"47","hashOfConfig":"29"},{"size":907,"mtime":1607645693299,"results":"48","hashOfConfig":"29"},{"size":68,"mtime":1609103467221,"results":"49","hashOfConfig":"29"},{"size":1739,"mtime":1609105125599,"results":"50","hashOfConfig":"29"},{"size":74,"mtime":1609104253014,"results":"51","hashOfConfig":"29"},{"size":1034,"mtime":1609105283072,"results":"52","hashOfConfig":"29"},{"size":74,"mtime":1609104253014,"results":"53","hashOfConfig":"29"},{"size":1034,"mtime":1609105283072,"results":"54","hashOfConfig":"29"},{"size":65,"mtime":1609105952845,"results":"55","hashOfConfig":"29"},{"size":5250,"mtime":1609258290462,"results":"56","hashOfConfig":"29"},{"filePath":"57","messages":"58","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},"v7zf0g",{"filePath":"60","messages":"61","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"62","messages":"63","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"64","messages":"65","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"n0bckm",{"filePath":"66","messages":"67","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"68","messages":"69","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"70","messages":"71","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"72","usedDeprecatedRules":"59"},{"filePath":"73","messages":"74","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"75"},{"filePath":"76","messages":"77","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"78","messages":"79","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"80","messages":"81","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"82","messages":"83","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"84"},{"filePath":"85","messages":"86","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"87","messages":"88","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"89","messages":"90","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"91","messages":"92","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"93","messages":"94","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"95","messages":"96","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"97","messages":"98","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"99","messages":"100","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"101","messages":"102","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"103","messages":"104","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"105","messages":"106","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"107","messages":"108","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"109","messages":"110","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"111","messages":"112","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"113","messages":"114","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/index.js",[],["115","116"],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/App.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/reportWebVitals.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/menuComponent/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/menuComponent/menuComponent.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/MenuComponent/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/MenuComponent/MenuComponent.js",["117","118"],"import React, {Component} from '../../../node_modules/react';\nimport {FormattedMessage} from 'react-intl';\nimport './MenuComponent.scss'\n\nconst URL_add_parameter = function(url, param, value){\n var hash = {};\n var parser = document.createElement('a');\n\n parser.href = url;\n\n var parameters = parser.search.split(/\\?|&/);\n\n for(var i=0; i < parameters.length; i++) {\n if(!parameters[i])\n continue;\n\n var ary = parameters[i].split('=');\n hash[ary[0]] = ary[1];\n }\n\n hash[param] = value;\n\n var list = []; \n Object.keys(hash).forEach(function (key) {\n list.push(key + '=' + hash[key]);\n });\n\n parser.search = '?' + list.join('&');\n return parser.href;\n}\nexport default class MenuComponent extends Component {\n // constructor(props) {\n // super(props);\n // this.state = {};\n // }\n honhonhon() {\n window.location.href=URL_add_parameter(window.location.href, \"lang\", \"fr\");\n }\n\n heygovna() {\n window.location.href=URL_add_parameter(window.location.href, \"lang\", \"en\");\n }\n\n\n render() {\n return
\n
\n \n
\n

\n \n

\n

\n \n

\n
\n \n
\n
;\n }\n }\n// export default connect(\n// ({ MenuComponent }) => ({ ...MenuComponent }),\n// dispatch => bindActionCreators({ ...MenuComponentActions }, dispatch)\n// )( MenuComponent );\n","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/mainCard/mainCard.js",[],["119","120"],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/MainCard/MainCard.js",["121"],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ExperienceCard/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ExperienceCard/ExperienceCard.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/buttonIcon/index.js",[],["122","123"],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/buttonIcon/buttonIcon.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ButtonIcon/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ButtonIcon/ButtonIcon.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ProjectsCard/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ProjectsCard/ProjectsCard.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ProjectCard/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ProjectCard/ProjectCard.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ContactCard/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ContactCard/ContactCard.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/contactButton/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/contactButton/contactButton.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ContactButton/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ContactButton/ContactButton.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/FooterCard/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/FooterCard/FooterCard.js",[],{"ruleId":"124","replacedBy":"125"},{"ruleId":"126","replacedBy":"127"},{"ruleId":"128","severity":1,"message":"129","line":51,"column":19,"nodeType":"130","endLine":51,"endColumn":71},{"ruleId":"128","severity":1,"message":"129","line":54,"column":19,"nodeType":"130","endLine":54,"endColumn":70},{"ruleId":"124","replacedBy":"131"},{"ruleId":"126","replacedBy":"132"},{"ruleId":"133","severity":1,"message":"134","line":48,"column":89,"nodeType":"135","endLine":48,"endColumn":104},{"ruleId":"124","replacedBy":"136"},{"ruleId":"126","replacedBy":"137"},"no-native-reassign",["138"],"no-negated-in-lhs",["139"],"jsx-a11y/anchor-is-valid","The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md","JSXOpeningElement",["138"],["139"],"react/jsx-no-target-blank","Using target=\"_blank\" without rel=\"noreferrer\" is a security risk: see https://html.spec.whatwg.org/multipage/links.html#link-type-noopener","JSXAttribute",["138"],["139"],"no-global-assign","no-unsafe-negation"] \ No newline at end of file +[{"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/index.js":"1","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/App.js":"2","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/reportWebVitals.js":"3","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/menuComponent/index.js":"4","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/menuComponent/menuComponent.js":"5","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/MenuComponent/index.js":"6","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/MenuComponent/MenuComponent.js":"7","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/mainCard/mainCard.js":"8","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/MainCard/MainCard.js":"9","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ExperienceCard/index.js":"10","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ExperienceCard/ExperienceCard.js":"11","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/buttonIcon/index.js":"12","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/buttonIcon/buttonIcon.js":"13","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ButtonIcon/index.js":"14","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ButtonIcon/ButtonIcon.js":"15","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ProjectsCard/index.js":"16","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ProjectsCard/ProjectsCard.js":"17","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ProjectCard/index.js":"18","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ProjectCard/ProjectCard.js":"19","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ContactCard/index.js":"20","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ContactCard/ContactCard.js":"21","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/contactButton/index.js":"22","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/contactButton/contactButton.js":"23","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ContactButton/index.js":"24","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ContactButton/ContactButton.js":"25","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/FooterCard/index.js":"26","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/FooterCard/FooterCard.js":"27"},{"size":1196,"mtime":1609434094815,"results":"28","hashOfConfig":"29"},{"size":521,"mtime":1609403660650,"results":"30","hashOfConfig":"29"},{"size":362,"mtime":1607637518766,"results":"31","hashOfConfig":"29"},{"size":74,"mtime":1607640746796,"results":"32","hashOfConfig":"33"},{"size":681,"mtime":1607640746796,"results":"34","hashOfConfig":"33"},{"size":74,"mtime":1607640746796,"results":"35","hashOfConfig":"29"},{"size":2150,"mtime":1609622225671,"results":"36","hashOfConfig":"29"},{"size":632,"mtime":1607641188004,"results":"37","hashOfConfig":"33"},{"size":3686,"mtime":1609631404239,"results":"38","hashOfConfig":"29"},{"size":77,"mtime":1607642019704,"results":"39","hashOfConfig":"29"},{"size":1609,"mtime":1609631266944,"results":"40","hashOfConfig":"29"},{"size":65,"mtime":1607643386517,"results":"41","hashOfConfig":"33"},{"size":674,"mtime":1607643491629,"results":"42","hashOfConfig":"33"},{"size":65,"mtime":1607643577907,"results":"43","hashOfConfig":"29"},{"size":491,"mtime":1607643905302,"results":"44","hashOfConfig":"29"},{"size":71,"mtime":1607644745576,"results":"45","hashOfConfig":"29"},{"size":1674,"mtime":1607646170128,"results":"46","hashOfConfig":"29"},{"size":68,"mtime":1607645435051,"results":"47","hashOfConfig":"29"},{"size":907,"mtime":1607645693299,"results":"48","hashOfConfig":"29"},{"size":68,"mtime":1609103467221,"results":"49","hashOfConfig":"29"},{"size":1739,"mtime":1609105125599,"results":"50","hashOfConfig":"29"},{"size":74,"mtime":1609104253014,"results":"51","hashOfConfig":"29"},{"size":1034,"mtime":1609105283072,"results":"52","hashOfConfig":"29"},{"size":74,"mtime":1609104253014,"results":"53","hashOfConfig":"29"},{"size":1034,"mtime":1609105283072,"results":"54","hashOfConfig":"29"},{"size":65,"mtime":1609105952845,"results":"55","hashOfConfig":"29"},{"size":5250,"mtime":1609258290462,"results":"56","hashOfConfig":"29"},{"filePath":"57","messages":"58","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},"v7zf0g",{"filePath":"60","messages":"61","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"62","messages":"63","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"64","messages":"65","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"n0bckm",{"filePath":"66","messages":"67","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"68","messages":"69","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"70","messages":"71","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"72","usedDeprecatedRules":"59"},{"filePath":"73","messages":"74","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"75"},{"filePath":"76","messages":"77","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"78","messages":"79","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"80","messages":"81","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"82","messages":"83","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"84"},{"filePath":"85","messages":"86","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"87","messages":"88","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"89","messages":"90","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"91","messages":"92","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"93","messages":"94","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"95","messages":"96","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"97","messages":"98","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"99","messages":"100","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"101","messages":"102","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"103","messages":"104","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"105","messages":"106","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"107","messages":"108","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"109","messages":"110","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"111","messages":"112","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"113","messages":"114","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/index.js",[],["115","116"],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/App.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/reportWebVitals.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/menuComponent/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/menuComponent/menuComponent.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/MenuComponent/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/MenuComponent/MenuComponent.js",["117","118"],"import React, {Component} from '../../../node_modules/react';\nimport {FormattedMessage} from 'react-intl';\nimport './MenuComponent.scss'\n\nconst URL_add_parameter = function(url, param, value){\n var hash = {};\n var parser = document.createElement('a');\n\n parser.href = url;\n\n var parameters = parser.search.split(/\\?|&/);\n\n for(var i=0; i < parameters.length; i++) {\n if(!parameters[i])\n continue;\n\n var ary = parameters[i].split('=');\n hash[ary[0]] = ary[1];\n }\n\n hash[param] = value;\n\n var list = []; \n Object.keys(hash).forEach(function (key) {\n list.push(key + '=' + hash[key]);\n });\n\n parser.search = '?' + list.join('&');\n return parser.href;\n}\nexport default class MenuComponent extends Component {\n // constructor(props) {\n // super(props);\n // this.state = {};\n // }\n honhonhon() {\n window.location.href=URL_add_parameter(window.location.href, \"lang\", \"fr\");\n }\n\n heygovna() {\n window.location.href=URL_add_parameter(window.location.href, \"lang\", \"en\");\n }\n\n\n render() {\n return
\n
\n \n
\n

\n \n

\n

\n \n

\n
\n \n
\n
;\n }\n }\n// export default connect(\n// ({ MenuComponent }) => ({ ...MenuComponent }),\n// dispatch => bindActionCreators({ ...MenuComponentActions }, dispatch)\n// )( MenuComponent );\n","/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/mainCard/mainCard.js",[],["119","120"],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/MainCard/MainCard.js",["121"],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ExperienceCard/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ExperienceCard/ExperienceCard.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/buttonIcon/index.js",[],["122","123"],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/buttonIcon/buttonIcon.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ButtonIcon/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ButtonIcon/ButtonIcon.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ProjectsCard/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ProjectsCard/ProjectsCard.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ProjectCard/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ProjectCard/ProjectCard.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ContactCard/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ContactCard/ContactCard.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/contactButton/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/contactButton/contactButton.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ContactButton/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/ContactButton/ContactButton.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/FooterCard/index.js",[],"/Users/adamas/adm.ink/dev/anthony-dumas.fr/anthony-dumas.fr/src/components/FooterCard/FooterCard.js",[],{"ruleId":"124","replacedBy":"125"},{"ruleId":"126","replacedBy":"127"},{"ruleId":"128","severity":1,"message":"129","line":51,"column":19,"nodeType":"130","endLine":51,"endColumn":71},{"ruleId":"128","severity":1,"message":"129","line":54,"column":19,"nodeType":"130","endLine":54,"endColumn":70},{"ruleId":"124","replacedBy":"131"},{"ruleId":"126","replacedBy":"132"},{"ruleId":"133","severity":1,"message":"134","line":42,"column":89,"nodeType":"135","endLine":42,"endColumn":104},{"ruleId":"124","replacedBy":"136"},{"ruleId":"126","replacedBy":"137"},"no-native-reassign",["138"],"no-negated-in-lhs",["139"],"jsx-a11y/anchor-is-valid","The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md","JSXOpeningElement",["138"],["139"],"react/jsx-no-target-blank","Using target=\"_blank\" without rel=\"noreferrer\" is a security risk: see https://html.spec.whatwg.org/multipage/links.html#link-type-noopener","JSXAttribute",["138"],["139"],"no-global-assign","no-unsafe-negation"] \ No newline at end of file diff --git a/src/components/MainCard/MainCard.js b/src/components/MainCard/MainCard.js index 4793910..a826655 100644 --- a/src/components/MainCard/MainCard.js +++ b/src/components/MainCard/MainCard.js @@ -6,14 +6,8 @@ import ButtonIcon from '../ButtonIcon/index'; import './MainCard.scss' import photoProfil from '../../images/profile_opt.png'; -// import { connect } from "react-redux"; -// import { bindActionCreators } from "redux"; -// import * as mainCardActions from "../../store/mainCard/actions"; + class MainCard extends Component { - // constructor(props) { - // super(props); - // this.state = {}; - // } render() { const experienceCardMessage = this.props.intl.messages.experienceCard; return
@@ -75,8 +69,6 @@ class MainCard extends Component { data={education}/>; })} - - @@ -85,8 +77,4 @@ class MainCard extends Component { } -export default injectIntl(MainCard) -// export default connect( -// ({ mainCard }) => ({ ...mainCard }), -// dispatch => bindActionCreators({ ...mainCardActions }, dispatch) -// )( mainCard ); \ No newline at end of file +export default injectIntl(MainCard) \ No newline at end of file