diff --git a/gatsby-config.js b/gatsby-config.js
index cd69c254..99468e38 100644
--- a/gatsby-config.js
+++ b/gatsby-config.js
@@ -19,10 +19,38 @@ module.exports = {
resolve: 'gatsby-plugin-prefetch-google-fonts',
options: {
fonts: [
+ {
+ family: 'Lato',
+ variants: ['400', '700'],
+ },
{
family: 'Montserrat',
variants: ['400', '500', '600', '700'],
},
+ {
+ family: 'Nunito',
+ variants: ['400', '600', '700'],
+ },
+ {
+ family: 'Open Sans',
+ variants: ['400', '600', '700'],
+ },
+ {
+ family: 'Raleway',
+ variants: ['400', '500', '700'],
+ },
+ {
+ family: 'Rubik',
+ variants: ['400', '500', '700'],
+ },
+ {
+ family: 'Source Sans Pro',
+ variants: ['400', '600', '700'],
+ },
+ {
+ family: 'Titillium Web',
+ variants: ['400', '600', '700'],
+ },
],
},
},
diff --git a/src/components/builder/right/RightSidebar.js b/src/components/builder/right/RightSidebar.js
index 2b9f4249..4d0a9ac0 100644
--- a/src/components/builder/right/RightSidebar.js
+++ b/src/components/builder/right/RightSidebar.js
@@ -4,6 +4,7 @@ import sections from '../../../data/rightSections';
import RightNavbar from './RightNavbar';
import styles from './RightSidebar.module.css';
import Colors from './sections/Colors';
+import Fonts from './sections/Fonts';
import Layout from './sections/Layout';
import Templates from './sections/Templates';
@@ -15,6 +16,8 @@ const getComponent = (id) => {
return Layout;
case 'colors':
return Colors;
+ case 'fonts':
+ return Fonts;
default:
throw new Error();
}
diff --git a/src/components/builder/right/sections/Fonts.js b/src/components/builder/right/sections/Fonts.js
new file mode 100644
index 00000000..b63315d6
--- /dev/null
+++ b/src/components/builder/right/sections/Fonts.js
@@ -0,0 +1,46 @@
+import cx from 'classnames';
+import React, { memo } from 'react';
+import { useDispatch, useSelector } from '../../../../contexts/ResumeContext';
+import { handleKeyUp } from '../../../../utils';
+import Heading from '../../../shared/Heading';
+import fonts from '../../../../data/fonts';
+import styles from './Fonts.module.css';
+
+const Fonts = () => {
+ const dispatch = useDispatch();
+ const font = useSelector('metadata.font');
+
+ const handleClick = (value) => {
+ dispatch({
+ type: 'on_input',
+ payload: {
+ path: 'metadata.font',
+ value,
+ },
+ });
+ };
+
+ return (
+