mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 16:22:59 +10:00
design nosepass template, add tests, add template previews
This commit is contained in:
@ -13,8 +13,8 @@ export const sampleResume: ResumeData = {
|
||||
},
|
||||
customFields: [],
|
||||
picture: {
|
||||
url: "https://res.cloudinary.com/amruth-pillai/image/upload/v1699362669/reactive-resume/sample-resume/sample-picture_iitowc.jpg",
|
||||
size: 128,
|
||||
url: "https://i.imgur.com/HgwyOuJ.jpg",
|
||||
size: 70,
|
||||
aspectRatio: 1,
|
||||
borderRadius: 6,
|
||||
effects: {
|
||||
@ -212,35 +212,35 @@ export const sampleResume: ResumeData = {
|
||||
id: "je6s7k590yp9wtv65bbcyiua",
|
||||
visible: true,
|
||||
name: "English",
|
||||
fluency: "Native Speaker",
|
||||
fluencyLevel: 5,
|
||||
description: "Native Speaker",
|
||||
level: 5,
|
||||
},
|
||||
{
|
||||
id: "qdltq93lqi5g290t70brrpit",
|
||||
visible: true,
|
||||
name: "German",
|
||||
fluency: "Advanced",
|
||||
fluencyLevel: 5,
|
||||
description: "Advanced",
|
||||
level: 5,
|
||||
},
|
||||
{
|
||||
id: "txxfl568h5yg5xojwj5sk3ms",
|
||||
visible: true,
|
||||
name: "French",
|
||||
fluency: "Advanced",
|
||||
fluencyLevel: 5,
|
||||
description: "Advanced",
|
||||
level: 5,
|
||||
},
|
||||
{
|
||||
id: "zla2ezdkhemy68kg8bj86jk0",
|
||||
visible: true,
|
||||
name: "Spanish",
|
||||
fluency: "Learning",
|
||||
fluencyLevel: 2,
|
||||
description: "Learning",
|
||||
level: 2,
|
||||
},
|
||||
],
|
||||
},
|
||||
profiles: {
|
||||
name: "Profiles",
|
||||
columns: 2,
|
||||
columns: 1,
|
||||
visible: true,
|
||||
id: "profiles",
|
||||
items: [
|
||||
@ -479,16 +479,16 @@ export const sampleResume: ResumeData = {
|
||||
theme: {
|
||||
background: "#ffffff",
|
||||
text: "#000000",
|
||||
primary: "#DC1A4E",
|
||||
primary: "#398dc9",
|
||||
},
|
||||
typography: {
|
||||
font: {
|
||||
family: "IBM Plex Serif",
|
||||
family: "IBM Plex Sans Condensed",
|
||||
subset: "latin",
|
||||
variants: ["regular", "italic", "500", "600", "600italic"],
|
||||
variants: ["regular", "500"],
|
||||
size: 13,
|
||||
},
|
||||
lineHeight: 2,
|
||||
lineHeight: 1.5,
|
||||
hideIcons: false,
|
||||
underlineLinks: true,
|
||||
},
|
||||
|
||||
@ -5,8 +5,8 @@ import { defaultItem, itemSchema } from "../shared";
|
||||
// Schema
|
||||
export const languageSchema = itemSchema.extend({
|
||||
name: z.string().min(1),
|
||||
fluency: z.string(),
|
||||
fluencyLevel: z.number().min(1).max(6),
|
||||
description: z.string(),
|
||||
level: z.number().min(0).max(5).default(1),
|
||||
});
|
||||
|
||||
// Type
|
||||
@ -16,6 +16,6 @@ export type Language = z.infer<typeof languageSchema>;
|
||||
export const defaultLanguage: Language = {
|
||||
...defaultItem,
|
||||
name: "",
|
||||
fluency: "",
|
||||
fluencyLevel: 1,
|
||||
description: "",
|
||||
level: 1,
|
||||
};
|
||||
|
||||
@ -6,7 +6,7 @@ import { defaultItem, itemSchema } from "../shared";
|
||||
export const skillSchema = itemSchema.extend({
|
||||
name: z.string(),
|
||||
description: z.string(),
|
||||
level: z.number().min(1).max(5).default(1),
|
||||
level: z.number().min(0).max(5).default(1),
|
||||
keywords: z.array(z.string()).default([]),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user