diff --git a/docs/changelog/README.md b/docs/changelog/README.md index ada1899e..b4b3e2cd 100644 --- a/docs/changelog/README.md +++ b/docs/changelog/README.md @@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file. ## April 2020 +### April 11, 2020 + +- Added Language: Portuguese + ### April 8, 2020 - Added Language: Spanish diff --git a/src/i18n/index.js b/src/i18n/index.js index 288d2e68..76ec26cb 100644 --- a/src/i18n/index.js +++ b/src/i18n/index.js @@ -32,6 +32,10 @@ const languages = [ code: 'es', name: 'Spanish', }, + { + code: 'pt', + name: 'Portuguese', + }, ]; i18n.use(initReactI18next).init({ diff --git a/src/i18n/locales/pt/leftSidebar/skills.json b/src/i18n/locales/pt/leftSidebar/skills.json index 5f178d9b..d03bf6fd 100644 --- a/src/i18n/locales/pt/leftSidebar/skills.json +++ b/src/i18n/locales/pt/leftSidebar/skills.json @@ -1,5 +1,5 @@ { "item": { - "placeholder": "Cooking" + "placeholder": "Cozinheiro" } } diff --git a/src/templates/celebi/Celebi.js b/src/templates/celebi/Celebi.js index 887e55dc..cc039de7 100644 --- a/src/templates/celebi/Celebi.js +++ b/src/templates/celebi/Celebi.js @@ -5,12 +5,6 @@ import AppContext from '../../context/AppContext'; import { hexToRgb } from '../../utils'; const styles = { - image: { - width: '100%', - height: '160px', - objectFit: 'cover', - objectPosition: 'top center', - }, header: { position: 'absolute', left: 0, @@ -48,7 +42,16 @@ const Celebi = () => { const Photo = () => data.profile.photo !== '' && ( - Resume Photograph +
+ Resume Photograph +
); const Header = () => ( @@ -94,7 +97,7 @@ const Celebi = () => { ); - const WorkItem = (x) => ( + const WorkItem = x => (
{x.title}
@@ -111,11 +114,11 @@ const Celebi = () => { data.work.enable && (
- {data.work.items.filter((x) => x.enable).map(WorkItem)} + {data.work.items.filter(x => x.enable).map(WorkItem)}
); - const EducationItem = (x) => ( + const EducationItem = x => (
{x.name}

{x.major}

@@ -131,7 +134,7 @@ const Celebi = () => { data.education.enable && (
- {data.education.items.filter((x) => x.enable).map(EducationItem)} + {data.education.items.filter(x => x.enable).map(EducationItem)}
); @@ -140,7 +143,7 @@ const Celebi = () => {
    - {data.skills.items.map((x) => ( + {data.skills.items.map(x => (
  • {x}
  • @@ -149,7 +152,7 @@ const Celebi = () => {
); - const ReferenceItem = (x) => ( + const ReferenceItem = x => (
{x.name}
{x.position} @@ -165,12 +168,12 @@ const Celebi = () => {
- {data.references.items.filter((x) => x.enable).map(ReferenceItem)} + {data.references.items.filter(x => x.enable).map(ReferenceItem)}
); - const LanguageItem = (x) => ( + const LanguageItem = x => (
{x.key}
@@ -188,11 +191,11 @@ const Celebi = () => { data.languages.enable && (
-
{data.languages.items.filter((x) => x.enable).map(LanguageItem)}
+
{data.languages.items.filter(x => x.enable).map(LanguageItem)}
); - const AwardItem = (x) => ( + const AwardItem = x => (
{x.title}

{x.subtitle}

@@ -205,11 +208,11 @@ const Celebi = () => { data.awards.enable && (
- {data.awards.items.filter((x) => x.enable).map(AwardItem)} + {data.awards.items.filter(x => x.enable).map(AwardItem)}
); - const CertificationItem = (x) => ( + const CertificationItem = x => (
{x.title}

{x.subtitle}

@@ -222,11 +225,11 @@ const Celebi = () => { data.certifications.enable && (
- {data.certifications.items.filter((x) => x.enable).map(CertificationItem)} + {data.certifications.items.filter(x => x.enable).map(CertificationItem)}
); - const ExtraItem = (x) => ( + const ExtraItem = x => (
{x.key}
{x.value}
@@ -238,7 +241,7 @@ const Celebi = () => { data.extras.enable && (
- {data.extras.items.filter((x) => x.enable).map(ExtraItem)} + {data.extras.items.filter(x => x.enable).map(ExtraItem)}
);