diff --git a/public/privacy.html b/public/privacy.html index 799801e..1c82a0b 100644 --- a/public/privacy.html +++ b/public/privacy.html @@ -17,7 +17,7 @@ - + diff --git a/scripts/generate-icons.js b/scripts/generate-icons.js index 16e7259..8514f05 100644 --- a/scripts/generate-icons.js +++ b/scripts/generate-icons.js @@ -61,27 +61,14 @@ function generateSVG(size, isMaskable = false) { `; } -/** - * Convert SVG to PNG using a simple method - * Note: In a real project, you'd use a proper SVG to PNG converter - */ -function generatePNGPlaceholder(size, isMaskable = false) { - // For this example, we'll create a simple data URL - // In a real implementation, you'd use sharp, canvas, or similar - const svgContent = generateSVG(size, isMaskable); - return svgContent; -} - // Generate all required icon sizes console.log('🎨 Generating PWA icons...'); // Generate regular icons for (const size of SIZES) { const svgContent = generateSVG(size, false); - const filename = `icon-${size}.png`; - const filepath = path.join(iconsDir, filename); - // For now, save as SVG (in real implementation, convert to PNG) + // Save as SVG const svgFilename = `icon-${size}.svg`; const svgFilepath = path.join(iconsDir, svgFilename); fs.writeFileSync(svgFilepath, svgContent);