From 980526ffbbd6efcf76744923cba2fb1670070259 Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Fri, 27 Mar 2020 17:43:21 +0530 Subject: [PATCH] added Nunito font option, removed few others --- src/components/RightSidebar/tabs/Fonts.js | 3 +-- src/index.css | 9 ++++----- src/templates/gengar/Gengar.js | 8 ++++---- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/components/RightSidebar/tabs/Fonts.js b/src/components/RightSidebar/tabs/Fonts.js index 64b61d19..eb838491 100644 --- a/src/components/RightSidebar/tabs/Fonts.js +++ b/src/components/RightSidebar/tabs/Fonts.js @@ -3,11 +3,10 @@ import TextField from '../../../shared/TextField'; const fontOptions = [ 'Lato', - 'Merriweather', 'Montserrat', + 'Nunito', 'Open Sans', 'Raleway', - 'Roboto', 'Rubik', 'Source Sans Pro', 'Titillium Web', diff --git a/src/index.css b/src/index.css index 2e3a88ed..7d762746 100644 --- a/src/index.css +++ b/src/index.css @@ -1,13 +1,12 @@ /* Google Fonts */ -@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap'); -@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap'); -@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap'); -@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&display=swap'); -@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap'); html, body { diff --git a/src/templates/gengar/Gengar.js b/src/templates/gengar/Gengar.js index df0da3c2..faf56ba2 100644 --- a/src/templates/gengar/Gengar.js +++ b/src/templates/gengar/Gengar.js @@ -102,7 +102,7 @@ const Gengar = () => { const Education = () => data.education.enable && ( -
+
{data.education.items.map(EducationItem)}
@@ -118,7 +118,7 @@ const Gengar = () => { const Certifications = () => data.certifications.enable && ( -
+
{data.certifications.items.map(CertificationItem)}
@@ -134,7 +134,7 @@ const Gengar = () => { const Awards = () => data.awards.enable && ( -
+
{data.awards.items.map(AwardItem)}
@@ -175,7 +175,7 @@ const Gengar = () => { const Work = () => data.work.enable && ( -
+
{data.work.items.map(WorkItem)}