mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-16 01:32:02 +10:00
🚀 release: v3.0.0
This commit is contained in:
161
apps/server/src/resume/data/defaultState.ts
Normal file
161
apps/server/src/resume/data/defaultState.ts
Normal file
@ -0,0 +1,161 @@
|
||||
import { Resume } from '@reactive-resume/schema';
|
||||
|
||||
const defaultCSS = `/* Enter custom CSS here */
|
||||
|
||||
* {
|
||||
outline: 1px solid #000;
|
||||
}`;
|
||||
|
||||
const defaultState: Partial<Resume> = {
|
||||
basics: {
|
||||
email: '',
|
||||
headline: '',
|
||||
photo: {
|
||||
url: '',
|
||||
visible: true,
|
||||
filters: {
|
||||
size: 128,
|
||||
shape: 'square',
|
||||
border: false,
|
||||
grayscale: false,
|
||||
},
|
||||
},
|
||||
name: '',
|
||||
phone: '',
|
||||
summary: '',
|
||||
website: '',
|
||||
location: {
|
||||
address: '',
|
||||
city: '',
|
||||
country: '',
|
||||
region: '',
|
||||
postalCode: '',
|
||||
},
|
||||
profiles: [],
|
||||
},
|
||||
sections: {
|
||||
work: {
|
||||
id: 'work',
|
||||
name: 'Work Experience',
|
||||
type: 'basic',
|
||||
columns: 2,
|
||||
visible: true,
|
||||
items: [],
|
||||
},
|
||||
education: {
|
||||
id: 'education',
|
||||
name: 'Education',
|
||||
type: 'basic',
|
||||
columns: 2,
|
||||
visible: true,
|
||||
items: [],
|
||||
},
|
||||
awards: {
|
||||
id: 'awards',
|
||||
name: 'Awards',
|
||||
type: 'basic',
|
||||
columns: 2,
|
||||
visible: true,
|
||||
items: [],
|
||||
},
|
||||
certifications: {
|
||||
id: 'certifications',
|
||||
name: 'Certifications',
|
||||
type: 'basic',
|
||||
columns: 2,
|
||||
visible: true,
|
||||
items: [],
|
||||
},
|
||||
publications: {
|
||||
id: 'publications',
|
||||
name: 'Publications',
|
||||
type: 'basic',
|
||||
columns: 2,
|
||||
visible: true,
|
||||
items: [],
|
||||
},
|
||||
skills: {
|
||||
id: 'skills',
|
||||
name: 'Skills',
|
||||
type: 'basic',
|
||||
columns: 2,
|
||||
visible: true,
|
||||
items: [],
|
||||
},
|
||||
languages: {
|
||||
id: 'languages',
|
||||
name: 'Languages',
|
||||
type: 'basic',
|
||||
columns: 2,
|
||||
visible: true,
|
||||
items: [],
|
||||
},
|
||||
interests: {
|
||||
id: 'interests',
|
||||
name: 'Interests',
|
||||
type: 'basic',
|
||||
columns: 2,
|
||||
visible: true,
|
||||
items: [],
|
||||
},
|
||||
volunteer: {
|
||||
id: 'volunteer',
|
||||
name: 'Volunteer Experience',
|
||||
type: 'basic',
|
||||
columns: 2,
|
||||
visible: true,
|
||||
items: [],
|
||||
},
|
||||
references: {
|
||||
id: 'references',
|
||||
name: 'References',
|
||||
type: 'basic',
|
||||
columns: 2,
|
||||
visible: true,
|
||||
items: [],
|
||||
},
|
||||
projects: {
|
||||
id: 'projects',
|
||||
name: 'Projects',
|
||||
type: 'basic',
|
||||
columns: 2,
|
||||
visible: true,
|
||||
items: [],
|
||||
},
|
||||
},
|
||||
metadata: {
|
||||
css: {
|
||||
value: defaultCSS,
|
||||
visible: false,
|
||||
},
|
||||
theme: {
|
||||
text: '#000000',
|
||||
background: '#ffffff',
|
||||
primary: '#f44336',
|
||||
},
|
||||
date: {
|
||||
format: 'MMMM DD, YYYY',
|
||||
},
|
||||
layout: [
|
||||
[
|
||||
['work', 'education', 'projects', 'volunteer', 'references'],
|
||||
['skills', 'interests', 'languages', 'awards', 'certifications', 'publications'],
|
||||
],
|
||||
],
|
||||
language: 'en',
|
||||
template: 'kakuna',
|
||||
typography: {
|
||||
family: {
|
||||
heading: 'Open Sans',
|
||||
body: 'Open Sans',
|
||||
},
|
||||
size: {
|
||||
heading: 28,
|
||||
body: 14,
|
||||
},
|
||||
},
|
||||
},
|
||||
public: true,
|
||||
};
|
||||
|
||||
export default defaultState;
|
||||
Reference in New Issue
Block a user