- completed design of Onyx template

This commit is contained in:
Amruth Pillai
2020-07-11 10:49:55 +05:30
parent a8c5d29858
commit 0b5653fab5
32 changed files with 848 additions and 122 deletions

86
src/data/initialState.js Normal file
View File

@ -0,0 +1,86 @@
import leftSections from './leftSections';
const initialState = {
id: '',
profile: {
heading: 'Profile',
photograph: '',
firstName: '',
lastName: '',
subtitle: '',
address: {
line1: '',
line2: '',
city: '',
pincode: '',
},
profile: '',
website: '',
email: '',
},
social: {
heading: 'Social',
visible: true,
items: [],
},
objective: {
heading: 'Objective',
visible: true,
body: '',
},
work: {
heading: 'Work Experience',
visible: true,
items: [],
},
education: {
heading: 'Education',
visible: true,
items: [],
},
awards: {
heading: 'Awards',
visible: true,
items: [],
},
certifications: {
heading: 'Certifications',
visible: true,
items: [],
},
skills: {
heading: 'Skills',
visible: true,
items: [],
},
hobbies: {
heading: 'Hobbies',
visible: true,
items: [],
},
languages: {
heading: 'Languages',
visible: true,
items: [],
},
references: {
heading: 'References',
visible: true,
items: [],
},
name: '',
metadata: {
template: 'onyx',
font: 'Montserrat',
layout: [leftSections.filter((x) => !x.fixed).map((x) => x.id)],
colors: {
text: '#444444',
primary: '#5875DB',
background: '#FFFFFF',
},
},
createdAt: new Date(),
updatedAt: new Date(),
};
export default initialState;