32 lines
693 B
TypeScript
32 lines
693 B
TypeScript
import type { Card } from './types';
|
|
|
|
// User-configurable settings for PDF generation
|
|
export const ESNCard2026: Card = {
|
|
name: 'ESNcard 2026',
|
|
image: '/cards/2026.webp',
|
|
textCard: {
|
|
width: 50, // mm
|
|
height: 35 // mm
|
|
},
|
|
photoCard: {
|
|
width: 32, // mm
|
|
height: 45 // mm
|
|
},
|
|
photo: {
|
|
width: 28, // mm
|
|
height: 38 // mm
|
|
},
|
|
textFields: {
|
|
name: { x: 3, y: 5, size: 9 },
|
|
nationality: { x: 3, y: 14, size: 9 },
|
|
birthday: { x: 33, y: 14, size: 9 },
|
|
studiesAt: { x: 3, y: 23, size: 9 },
|
|
esnSection: { x: 3, y: 32, size: 9 },
|
|
validityStart: { x: 33, y: 32, size: 9 }
|
|
},
|
|
photoFields: {
|
|
photo: { x: 2, y: 2, width: 28, height: 38 },
|
|
name: { x: 2, y: 42, size: 7 }
|
|
}
|
|
};
|