add "notranslate" tag, handle default locale fallback, fix certifications id in metadata

This commit is contained in:
Amruth Pillai
2023-11-17 13:28:58 +01:00
parent 33bcadd457
commit fe9c19fc4e
8 changed files with 131 additions and 110 deletions

View File

@ -3,7 +3,7 @@ import { z } from "zod";
export const defaultLayout = [
[
["profiles", "summary", "experience", "education", "projects", "volunteer", "references"],
["skills", "interests", "certification", "awards", "publications", "languages"],
["skills", "interests", "certifications", "awards", "publications", "languages"],
],
];
@ -26,7 +26,7 @@ export const metadataSchema = z.object({
theme: z.object({
background: z.string().default("#ffffff"),
text: z.string().default("#000000"),
primary: z.string().default("#000000"),
primary: z.string().default("#dc2626"),
}),
typography: z.object({
font: z.object({
@ -64,7 +64,7 @@ export const defaultMetadata: Metadata = {
theme: {
background: "#ffffff",
text: "#000000",
primary: "#000000",
primary: "#dc2626",
},
typography: {
font: {