import type { Card } from './types';

// User-configurable settings for PDF generation
export const ESNCardAnniversary: Card = {
	name: 'ESNcard Anniversary',
	image: '/cards/esncard_anniversary.png',
	textCard: {
		width: 45, // mm
		height: 30 // mm
	},
	photoCard: {
		width: 29, // mm
		height: 41 // mm
	},
	photo: {
		width: 27, // mm
		height: 37 // mm
	},
	textFields: {
		name: { x: 2, y: 4, size: 8 },
		nationality: { x: 2, y: 12, size: 8 },
		birthday: { x: 30, y: 12, size: 8 },
		studiesAt: { x: 2, y: 20, size: 8 },
		esnSection: { x: 2, y: 28, size: 8 },
		validityStart: { x: 30, y: 28, size: 8 }
	},
	photoFields: {
		photo: { x: 2, y: 2, width: 26, height: 36 },
		name: { x: 2, y: 40, size: 6 }
	}
};
