aidn commited on
Commit
da3cedb
·
verified ·
1 Parent(s): 3f50cdd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -740,11 +740,11 @@ function exportBadgePNG(type, pct, score, verdict, medal, date) {
740
  // 6. Score & Prozent
741
  ctx.textAlign = 'right';
742
  ctx.font = '900 100px Arial, sans-serif';
743
- ctx.fillText(pct + '%', 1110, 160);
744
 
745
  ctx.font = 'bold 28px Arial, sans-serif';
746
  ctx.fillStyle = '#666';
747
- ctx.fillText('Score: ' + score, 1110, 290);
748
 
749
  // 7. Urteil (mit automatischem Zeilenumbruch)
750
  ctx.textAlign = 'left';
@@ -772,6 +772,11 @@ function exportBadgePNG(type, pct, score, verdict, medal, date) {
772
  ctx.fillStyle = '#999';
773
  ctx.fillText('Erstellt am ' + date + ' • powered by Llama 4 Maverick', 90, 530);
774
 
 
 
 
 
 
775
  // 9. Download auslösen
776
  const link = document.createElement('a');
777
  link.download = 'LinkedIn_Badge_' + pct + 'pct.png';
 
740
  // 6. Score & Prozent
741
  ctx.textAlign = 'right';
742
  ctx.font = '900 100px Arial, sans-serif';
743
+ ctx.fillText(pct + '%', 1110, 220);
744
 
745
  ctx.font = 'bold 28px Arial, sans-serif';
746
  ctx.fillStyle = '#666';
747
+ ctx.fillText('Score: ' + score, 1110, 330);
748
 
749
  // 7. Urteil (mit automatischem Zeilenumbruch)
750
  ctx.textAlign = 'left';
 
772
  ctx.fillStyle = '#999';
773
  ctx.fillText('Erstellt am ' + date + ' • powered by Llama 4 Maverick', 90, 530);
774
 
775
+ ctx.font = '18px Arial, sans-serif';
776
+ ctx.fillStyle = '#BBB';
777
+ ctx.textAlign = 'right';
778
+ ctx.fillText('aidn-linkedintranslator.hf.space', 1110, 535);
779
+
780
  // 9. Download auslösen
781
  const link = document.createElement('a');
782
  link.download = 'LinkedIn_Badge_' + pct + 'pct.png';