Skip to content

Commit 838ec2a

Browse files
committed
code cleanup
1 parent ed10887 commit 838ec2a

7 files changed

Lines changed: 7 additions & 85 deletions

File tree

locales/de.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,17 @@
1717
"submit_button": "Absenden",
1818
"participant_ready": "Dein Geschenk geht an",
1919
"participant_wait": "Du bist dabei! Warte darauf, dass der Organisator dich informiert, wenn die Auslosung abgeschlossen ist, und komme dann hierher zurück.",
20-
"participant_wait_button": "Aktualisieren",
2120
"reveal_button": "Meine Auslosung entdecken",
2221
"organizer_notify": "Die Auslosung ist abgeschlossen! Informiere deine Teilnehmer, damit sie herausfinden können, wem sie schenken.",
2322
"manage_draw": "Ziehung verwalten",
2423
"participants": "Teilnehmer",
2524
"start_draw": "Auslosung starten",
2625
"waiting_draw": "Warten auf Teilnehmer...",
27-
"waiting_draw_button": "🔄 Aktualisieren um neue Teilnehmer zu sehen",
2826
"all_participants_ready": "Alle haben sich angemeldet",
29-
"draw_completed": "🎉 Auslosung abgeschlossen!",
30-
"draw_completed_message": "Die Teilnehmer können jetzt sehen, wem sie ein Geschenk machen sollen.",
3127
"share_link": "Teile diesen Link mit den Teilnehmern",
3228
"copy_link": "Link kopieren",
3329
"organizer_name": "Dein Name",
3430
"organizer_wish": "Möchtest du Wünsche oder eine Nachricht an deinen Secret Santa übermitteln? (optional)",
35-
"see_my_draw": "🎁 Meine Auslosung sehen",
36-
"open_source": "Open Source",
3731
"view_on_github": "Auf GitHub ansehen",
38-
"send_feedback": "💬 Feedback geben / Bug melden",
39-
"refresh": "Aktualisieren"
32+
"send_feedback": "💬 Feedback geben / Bug melden"
4033
}

locales/en.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,17 @@
1717
"submit_button": "Submit",
1818
"participant_ready": "Your gift is for",
1919
"participant_wait": "You're in! Wait for the organizer to let you know when the draw is done, then come back here.",
20-
"participant_wait_button": "Refresh",
2120
"reveal_button": "Reveal my draw",
2221
"organizer_notify": "The draw is done! Let your participants know so they can discover who they're gifting to.",
2322
"manage_draw": "Manage Draw",
2423
"participants": "Participants",
2524
"start_draw": "Start Draw",
2625
"waiting_draw": "Waiting for participants...",
27-
"waiting_draw_button": "🔄 Refresh to see new participants",
2826
"all_participants_ready": "Everyone has joined",
29-
"draw_completed": "🎉 Draw Completed!",
30-
"draw_completed_message": "Participants can now see their assigned gift recipient.",
3127
"share_link": "Share this link with participants",
3228
"copy_link": "Copy Link",
3329
"organizer_name": "Your name",
3430
"organizer_wish": "Do you want to transmit any wishes or a message to your Secret Santa? (optional)",
35-
"see_my_draw": "🎁 See My Draw",
36-
"open_source": "Open Source",
3731
"view_on_github": "View on GitHub",
38-
"send_feedback": "💬 Send feedback / Report a bug",
39-
"refresh": "Refresh"
32+
"send_feedback": "💬 Send feedback / Report a bug"
4033
}

locales/fr.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,17 @@
1717
"submit_button": "Envoyer",
1818
"participant_ready": "Votre cadeau est pour",
1919
"participant_wait": "C'est enregistré ! Attendez que l'organisateur vous prévienne quand le tirage est fait, puis revenez ici.",
20-
"participant_wait_button": "Actualiser",
2120
"reveal_button": "Découvrir mon tirage",
2221
"organizer_notify": "Le tirage est fait ! Prévenez vos participants pour qu'ils puissent découvrir à qui ils offrent.",
2322
"manage_draw": "Gérer le tirage",
2423
"participants": "Participants",
2524
"start_draw": "Lancer le tirage",
2625
"waiting_draw": "En attente des participants...",
27-
"waiting_draw_button": "🔄 Actualiser pour voir les nouveaux participants",
2826
"all_participants_ready": "Tout le monde a rejoint",
29-
"draw_completed": "🎉 Tirage terminé !",
30-
"draw_completed_message": "Les participants peuvent maintenant voir à qui ils doivent offrir un cadeau.",
3127
"share_link": "Partagez ce lien avec les participants",
3228
"copy_link": "Copier le lien",
3329
"organizer_name": "Votre nom",
3430
"organizer_wish": "Souhaitez-vous transmettre des souhaits ou un message à votre Secret Santa? (optionnel)",
35-
"see_my_draw": "🎁 Voir mon tirage",
36-
"open_source": "Open Source",
3731
"view_on_github": "Voir sur GitHub",
38-
"send_feedback": "💬 Donner un feedback / Signaler un bug",
39-
"refresh": "Actualiser"
32+
"send_feedback": "💬 Donner un feedback / Signaler un bug"
4033
}

locales/it.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,17 @@
1717
"submit_button": "Invia",
1818
"participant_ready": "Il tuo regalo è per",
1919
"participant_wait": "Sei dentro! Aspetta che l'organizzatore ti avvisi quando l'estrazione è fatta, poi torna qui.",
20-
"participant_wait_button": "Aggiorna",
2120
"reveal_button": "Scopri la mia estrazione",
2221
"organizer_notify": "L'estrazione è fatta! Avvisa i tuoi partecipanti così potranno scoprire a chi fanno il regalo.",
2322
"manage_draw": "Gestisci l'estrazione",
2423
"participants": "Partecipanti",
2524
"start_draw": "Avvia l'estrazione",
2625
"waiting_draw": "In attesa dei partecipanti...",
27-
"waiting_draw_button": "🔄 Aggiorna per vedere i nuovi partecipanti",
2826
"all_participants_ready": "Tutti si sono uniti",
29-
"draw_completed": "🎉 Estrazione completata!",
30-
"draw_completed_message": "I partecipanti possono ora vedere a chi devono fare il regalo.",
3127
"share_link": "Condividi questo link con i partecipanti",
3228
"copy_link": "Copia il link",
3329
"organizer_name": "Il tuo nome",
3430
"organizer_wish": "Vuoi trasmettere dei desideri o un messaggio al tuo Secret Santa? (opzionale)",
35-
"see_my_draw": "🎁 Vedi la mia estrazione",
36-
"open_source": "Open Source",
3731
"view_on_github": "Vedi su GitHub",
38-
"send_feedback": "💬 Invia feedback / Segnala un bug",
39-
"refresh": "Aggiorna"
40-
}
32+
"send_feedback": "💬 Invia feedback / Segnala un bug"
33+
}

locales/pt.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,17 @@
1717
"submit_button": "Enviar",
1818
"participant_ready": "Seu presente é para",
1919
"participant_wait": "Você está dentro! Aguarde o organizador avisar quando o sorteio for feito, depois volte aqui.",
20-
"participant_wait_button": "Atualizar",
2120
"reveal_button": "Revelar meu sorteio",
2221
"organizer_notify": "O sorteio foi feito! Avise seus participantes para que possam descobrir para quem vão presentear.",
2322
"manage_draw": "Gerenciar Sorteio",
2423
"participants": "Participantes",
2524
"start_draw": "Iniciar Sorteio",
2625
"waiting_draw": "Aguardando participantes...",
27-
"waiting_draw_button": "🔄 Atualizar para ver novos participantes",
2826
"all_participants_ready": "Todos participaram",
29-
"draw_completed": "🎉 Sorteio Concluído!",
30-
"draw_completed_message": "Os participantes agora podem ver para quem devem dar o presente.",
3127
"share_link": "Compartilhe este link com os participantes",
3228
"copy_link": "Copiar Link",
3329
"organizer_name": "Seu nome",
3430
"organizer_wish": "Você quer transmitir algum desejo ou mensagem para seu Secret Santa? (opcional)",
35-
"see_my_draw": "🎁 Ver Meu Sorteio",
36-
"open_source": "Código Aberto",
3731
"view_on_github": "Ver no GitHub",
38-
"send_feedback": "💬 Enviar feedback / Relatar um bug",
39-
"refresh": "Atualizar"
40-
}
41-
32+
"send_feedback": "💬 Enviar feedback / Relatar um bug"
33+
}

static/favicon.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

static/style.css

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -450,25 +450,6 @@ footer.github-footer a:hover {
450450
padding: 10px 20px;
451451
}
452452

453-
.draw-button {
454-
display: inline-block;
455-
background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
456-
color: white;
457-
padding: 12px 26px;
458-
text-decoration: none;
459-
border-radius: 12px;
460-
font-weight: 700;
461-
font-family: 'Lato', sans-serif;
462-
letter-spacing: 0.02em;
463-
transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
464-
box-shadow: 0 4px 16px rgba(139, 0, 0, 0.45);
465-
}
466-
467-
.draw-button:hover {
468-
filter: brightness(1.12);
469-
transform: scale(1.03);
470-
box-shadow: 0 7px 22px rgba(139, 0, 0, 0.55);
471-
}
472453

473454
/* ── Participants list ─────────────────────────────────── */
474455
ul {
@@ -499,26 +480,6 @@ ul li:last-child {
499480
margin: 0 0 4px;
500481
}
501482

502-
/* ── Button group ──────────────────────────────────────── */
503-
.button-group {
504-
display: flex;
505-
gap: 10px;
506-
margin-top: 20px;
507-
}
508-
509-
.button-group button,
510-
.button-group form {
511-
flex: 1;
512-
}
513-
514-
.button-group button {
515-
margin: 0;
516-
}
517-
518-
.button-group form button {
519-
width: 100%;
520-
margin: 0;
521-
}
522483

523484
/* ── Snowflakes ────────────────────────────────────────── */
524485
.snowflakes {

0 commit comments

Comments
 (0)