mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-16 17:51:43 +10:00
added markdown, organized templates, fixed email overflow issue in pikachu
This commit is contained in:
@ -5,6 +5,7 @@ import set from 'lodash/set';
|
||||
import TextField from '../../../shared/TextField';
|
||||
import AppContext from '../../../context/AppContext';
|
||||
import Checkbox from '../../../shared/Checkbox';
|
||||
import TextArea from '../../../shared/TextArea';
|
||||
|
||||
const CertificationsTab = ({ data, onChange }) => {
|
||||
const context = useContext(AppContext);
|
||||
@ -53,6 +54,7 @@ const AddItem = ({ dispatch }) => {
|
||||
id: uuidv4(),
|
||||
title: '',
|
||||
subtitle: '',
|
||||
description: '',
|
||||
});
|
||||
|
||||
const onChange = (key, value) => setItem(set({ ...item }, key, value));
|
||||
@ -72,6 +74,7 @@ const AddItem = ({ dispatch }) => {
|
||||
id: uuidv4(),
|
||||
title: '',
|
||||
subtitle: '',
|
||||
description: '',
|
||||
});
|
||||
|
||||
setOpen(false);
|
||||
@ -104,6 +107,13 @@ const AddItem = ({ dispatch }) => {
|
||||
onChange={v => onChange('subtitle', v)}
|
||||
/>
|
||||
|
||||
<TextArea
|
||||
label="Description"
|
||||
className="mb-6"
|
||||
value={item.description}
|
||||
onChange={v => onChange('description', v)}
|
||||
/>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
onClick={addItem}
|
||||
@ -177,6 +187,13 @@ const Item = ({ item, index, onChange, dispatch, first, last }) => {
|
||||
onChange={v => onChange(`${identifier}.subtitle`, v)}
|
||||
/>
|
||||
|
||||
<TextArea
|
||||
label="Description"
|
||||
className="mb-6"
|
||||
value={item.description}
|
||||
onChange={v => onChange(`${identifier}.description`, v)}
|
||||
/>
|
||||
|
||||
<div className="flex justify-between">
|
||||
<button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user