feat: update database schema to support item trading

This commit is contained in:
syntaxbullet
2025-12-13 12:00:02 +01:00
parent 8262eb8f02
commit 29899acc7f
2 changed files with 31 additions and 1 deletions

View File

@@ -29,7 +29,6 @@ export async function generateStudentIdCard(data: StudentCardData): Promise<Buff
// Draw Background Gradient with random hue
const gradient = ctx.createLinearGradient(0, 0, canvas.width, canvas.height);
const hue = Math.random() * 360;
const saturation = 40 + Math.random() * 20; // 40-60%
const lightness = 20 + Math.random() * 20; // 20-40%
const color2 = `hsl(${Math.random() * 360}, ${saturation}%, ${lightness}%)`;