mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-27 02:14:50 +10:00
use vite+
This commit is contained in:
+1531
-1531
File diff suppressed because it is too large
Load Diff
+24
-24
@@ -1,29 +1,29 @@
|
||||
export const pageDimensionsAsPixels = {
|
||||
a4: {
|
||||
width: 794,
|
||||
height: 1123,
|
||||
},
|
||||
letter: {
|
||||
width: 816,
|
||||
height: 1056,
|
||||
},
|
||||
"free-form": {
|
||||
width: 794,
|
||||
height: 1123, // used as minimum height
|
||||
},
|
||||
a4: {
|
||||
width: 794,
|
||||
height: 1123,
|
||||
},
|
||||
letter: {
|
||||
width: 816,
|
||||
height: 1056,
|
||||
},
|
||||
"free-form": {
|
||||
width: 794,
|
||||
height: 1123, // used as minimum height
|
||||
},
|
||||
} as const;
|
||||
|
||||
export const pageDimensionsAsMillimeters = {
|
||||
a4: {
|
||||
width: "210mm",
|
||||
height: "297mm",
|
||||
},
|
||||
letter: {
|
||||
width: "216mm",
|
||||
height: "279mm",
|
||||
},
|
||||
"free-form": {
|
||||
width: "210mm",
|
||||
height: "297mm", // used as minimum height
|
||||
},
|
||||
a4: {
|
||||
width: "210mm",
|
||||
height: "297mm",
|
||||
},
|
||||
letter: {
|
||||
width: "216mm",
|
||||
height: "279mm",
|
||||
},
|
||||
"free-form": {
|
||||
width: "210mm",
|
||||
height: "297mm", // used as minimum height
|
||||
},
|
||||
} as const;
|
||||
|
||||
+499
-499
File diff suppressed because it is too large
Load Diff
+555
-555
File diff suppressed because it is too large
Load Diff
+1922
-1922
File diff suppressed because it is too large
Load Diff
+20
-20
@@ -1,19 +1,19 @@
|
||||
import z from "zod";
|
||||
|
||||
export const templateSchema = z.enum([
|
||||
"azurill",
|
||||
"bronzor",
|
||||
"chikorita",
|
||||
"ditgar",
|
||||
"ditto",
|
||||
"gengar",
|
||||
"glalie",
|
||||
"kakuna",
|
||||
"lapras",
|
||||
"leafish",
|
||||
"onyx",
|
||||
"pikachu",
|
||||
"rhyhorn",
|
||||
"azurill",
|
||||
"bronzor",
|
||||
"chikorita",
|
||||
"ditgar",
|
||||
"ditto",
|
||||
"gengar",
|
||||
"glalie",
|
||||
"kakuna",
|
||||
"lapras",
|
||||
"leafish",
|
||||
"onyx",
|
||||
"pikachu",
|
||||
"rhyhorn",
|
||||
]);
|
||||
|
||||
export type Template = z.infer<typeof templateSchema>;
|
||||
@@ -29,11 +29,11 @@ export type Template = z.infer<typeof templateSchema>;
|
||||
* close to the page borders, consider including it in the `printMarginTemplates` array below.
|
||||
*/
|
||||
export const printMarginTemplates = [
|
||||
"azurill",
|
||||
"bronzor",
|
||||
"kakuna",
|
||||
"lapras",
|
||||
"onyx",
|
||||
"pikachu",
|
||||
"rhyhorn",
|
||||
"azurill",
|
||||
"bronzor",
|
||||
"kakuna",
|
||||
"lapras",
|
||||
"onyx",
|
||||
"pikachu",
|
||||
"rhyhorn",
|
||||
] satisfies Template[] as string[];
|
||||
|
||||
Reference in New Issue
Block a user