mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-13 06:24:54 +10:00
40 lines
1.1 KiB
TypeScript
40 lines
1.1 KiB
TypeScript
import z from "zod";
|
|
|
|
export const templateSchema = z.enum([
|
|
"azurill",
|
|
"bronzor",
|
|
"chikorita",
|
|
"ditgar",
|
|
"ditto",
|
|
"gengar",
|
|
"glalie",
|
|
"kakuna",
|
|
"lapras",
|
|
"leafish",
|
|
"onyx",
|
|
"pikachu",
|
|
"rhyhorn",
|
|
]);
|
|
|
|
export type Template = z.infer<typeof templateSchema>;
|
|
|
|
/**
|
|
* The templates listed in `printMarginTemplates` require explicit print margin settings.
|
|
*
|
|
* By default, web browsers and PDF generators may apply different margin values or even remove margins
|
|
* when printing resumes. For these selected templates, it's essential to ensure that all printed pages—especially
|
|
* in multi-page resumes—have consistent margins to preserve the intended layout and appearance across all pages.
|
|
*
|
|
* If you are adding a new template that does not have a sidebar background, or any page decoration that extends
|
|
* close to the page borders, consider including it in the `printMarginTemplates` array below.
|
|
*/
|
|
export const printMarginTemplates = [
|
|
"azurill",
|
|
"bronzor",
|
|
"kakuna",
|
|
"lapras",
|
|
"onyx",
|
|
"pikachu",
|
|
"rhyhorn",
|
|
] satisfies Template[] as string[];
|