Skip to content

Commit

Permalink
feat: add organi superiori results 2023-2025 (#146)
Browse files Browse the repository at this point in the history
* feat: add organi superiori results 2023-2025

* chore: add missing logos + minor improvements
  • Loading branch information
Helias committed Nov 11, 2023
1 parent 07e8e1a commit a0a2111
Show file tree
Hide file tree
Showing 20 changed files with 967 additions and 14 deletions.
Binary file added public/loghi/'STUDENTI'.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/loghi/DIEEI TODAY.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/loghi/FRONTE DELLA GIOVENTÙ COMUNISTA.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/loghi/GIOVENTÙ UNIVERSITARIA.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/loghi/HELP ERSU.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/loghi/LA FINESTRA-LIBERI DI SCEGLIERE.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/loghi/Liberi di Scegliere.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/loghi/STUDENTI DFA.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/loghi/UNICT È FUTURO.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/app/results/ListLogo/ListLogo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const ListLogo = (props: Props): JSX.Element => {
return props.listName?.replace('# ', '')
.replace(/ /g, ' ')
.replace(/ /g, ' ')
.replace(props.listName, nameFixes[props.listName] ? nameFixes[props.listName] : props.listName)
.replace(props.listName, nameFixes[props.listName.toUpperCase()] ?? props.listName)
.replace('#', '')
.replace(new RegExp("O'", 'g'), 'Ò')
.replace(new RegExp("E'", 'g'), 'È')
Expand Down
32 changes: 20 additions & 12 deletions src/app/results/ListLogo/nameFixes.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
interface INameFixes {
[key: string]: string;
[key: string]: string;
}

export const nameFixes: INameFixes = {
Expand All @@ -10,6 +10,7 @@ export const nameFixes: INameFixes = {
'LA FINESTRA‐LIBERI DI SCEGLIERE': 'LA FINESTRA ‐ LIBERI DI SCEGLIERE',
'LAFINESTRA ‐ LIBERI DI SCEGLIERE': 'LA FINESTRA ‐ LIBERI DI SCEGLIERE',
'LA FINESTRA-LIBERI DI SCEGLIERE': 'LA FINESTRA ‐ LIBERI DI SCEGLIERE',
'LA FINESTRA- LIBERI DI SCEGLIERE': 'LA FINESTRA - LIBERI DI SCEGLIERE',
'#NUOVAIBLA': 'NUOVA IBLA',
NUOVAIBLA: 'NUOVA IBLA',
'SANI LAB': 'SANILAB',
Expand All @@ -29,9 +30,12 @@ export const nameFixes: INameFixes = {
UDU: 'UDU ‐ UNIONE DEGLI UNIVERSITARI',
'UDU - UNIONE DEGLI UNIVERSITARI': 'UDU ‐ UNIONE DEGLI UNIVERSITARI',
'UDU ‐ UNIONE DEGLI UNIVERSITARI': 'UDU ‐ UNIONE DEGLI UNIVERSITARI',
'UDU ‐ UNIONE DEGLI UNIVERSITARI ‐ KOINÈ': 'UDU ‐ UNIONE DEGLI UNIVERSITARI',
'UDU RETE UNIVERSITARIA NAZIONALE LISTE INDIPENDENTI': 'UDU ‐ UNIONE DEGLI UNIVERSITARI',
'UDU - RETE UNIVERSITARIA NAZIONALE LISTE INDIPENDENTI': 'UDU ‐ UNIONE DEGLI UNIVERSITARI',
'UDU ‐ UNIONE DEGLI UNIVERSITARI ‐ KOINÈ':
'UDU ‐ UNIONE DEGLI UNIVERSITARI',
'UDU RETE UNIVERSITARIA NAZIONALE LISTE INDIPENDENTI':
'UDU ‐ UNIONE DEGLI UNIVERSITARI',
'UDU - RETE UNIVERSITARIA NAZIONALE LISTE INDIPENDENTI':
'UDU ‐ UNIONE DEGLI UNIVERSITARI',
'ACTEA - ARCADIA': 'ACTEA ‐ ARCADIA',
'ACTEA ‐ ARCADIA': 'ACTEA ‐ ARCADIA',
'NIKE ‐ ARCADIA': 'NIKE',
Expand All @@ -42,10 +46,12 @@ export const nameFixes: INameFixes = {
'M.S.U.': 'MSU',
'ALLEANZA ‐ CONTROCAMPUS': 'ALLEANZA ‐ CONTROCAMPUS',
'CONTROCAMPUS ‐ AZIONE UNIVERSITARIA': 'CONTROCAMPUS',
'ALLEANZA ‐ CONTROCAMPUS ‐ AZIONE': 'ALLEANZA - AZIONE UNIVERSITARIA - CONTROCAMPUS',
'ALLEANZA ‐ CONTROCAMPUS ‐ AZIONE':
'ALLEANZA - AZIONE UNIVERSITARIA - CONTROCAMPUS',
'AZIONE UNIVERSITARIA ‐ CONTROCAMPUS': 'AZIONE UNIVERSITARIA CONTROCAMPUS',
'ALLEANZA‐AZIONE UNIVERSITARIA': 'ALLEANZA-AZIONE UNIVERSITARIA',
'AZIONE UNIVERSITARIA‐ALLEANZA UNIVERSITARIA': 'ALLEANZA-AZIONE UNIVERSITARIA',
'AZIONE UNIVERSITARIA‐ALLEANZA UNIVERSITARIA':
'ALLEANZA-AZIONE UNIVERSITARIA',
'STUDENTI PER LE LIBERTÀ ‐ AZIONE UNIVERSITARIA': 'STUDENTI PER LE LIBERTÀ',
'STUDENTI PER LE LIBERTÀ ‐ AZIONE UNIVERSITARIA': 'STUDENTI PER LE LIBERTÀ',
'GIOVANI CIDEC ‐ LA FINESTRA': 'GIOVANI CIDEC ‐ LA FINESTRA',
Expand All @@ -59,15 +65,17 @@ export const nameFixes: INameFixes = {
'P.D. - STUDENTI DEMOCRATICI': 'PARTITO DEMOCRATICO - STUDENTI DEMOCRATICI',
PD: 'PARTITO DEMOCRATICO - STUDENTI DEMOCRATICI',
'PD - STUDENTI DEMOCRATICI': 'PARTITO DEMOCRATICO - STUDENTI DEMOCRATICI',
'OBIETTIVO STUDENTI - ATENEO STUDENTI': 'OBIETTIVO STUDENTI – ATENEO STUDENTI',
'OBIETTIVO STUDENTI - ATENEO STUDENTI':
'OBIETTIVO STUDENTI – ATENEO STUDENTI',
'LINK‐STUDENTI INDIPENDENTI ‐ LETTERE': 'LINK ‐ STUDENTI INDIPENDENTI',
'LINK‐STUDENTI INDIPENDENTI ‐ LINGUE': 'LINK ‐ STUDENTI INDIPENDENTI',
'CONTROCAMPUS ‐ POPOLO DEGLI STUDENTI ‐ LIBERI E FORTI': 'CONTROCAMPUS ‐ POPOLO DEGLI STUDENTI',
'UNIVERSITA\' POPOLARE - SPL': 'UNIVERSITÀ POPOLARE ‐ SPL',
'CONTROCAMPUS ‐ POPOLO DEGLI STUDENTI ‐ LIBERI E FORTI':
'CONTROCAMPUS ‐ POPOLO DEGLI STUDENTI',
"UNIVERSITA' POPOLARE - SPL": 'UNIVERSITÀ POPOLARE ‐ SPL',
'UNIVERSITÁ POPOLARE': 'UNIVERSITÀ POPOLARE',
'UNIVERSITA\' POPOLARE GENERAZIONE ATTIVA': 'UNIVERSITÀ POPOLARE',
'AGORA\' ‐ GENERAZIONE ATTIVA': 'AGORÀ',
'UNITI PER I FUORISEDE': 'UNITI PER I FUORI SEDE'
"UNIVERSITA' POPOLARE GENERAZIONE ATTIVA": 'UNIVERSITÀ POPOLARE',
"AGORA' ‐ GENERAZIONE ATTIVA": 'AGORÀ',
'UNITI PER I FUORISEDE': 'UNITI PER I FUORI SEDE',
};

export default nameFixes;
2 changes: 1 addition & 1 deletion src/data/2021-2023/organi superiori/Senato.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"dipartimento": "DELL'UNIVERSITA' DEGLI STUDI DI CATANIA",
"organo": "ELEZIONI RAPPRESENTANTI STUDENTI IN SENO AL SENATO ACCADEMICO",
"seggi_da_assegnare": "6",
"schede": {
"bianche": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
{
"organo": "ELEZIONI RAPPRESENTANTI STUDENTI IN SENO AL COMITATO PER LO SPORT UNIVERSITARIO",
"seggi_da_assegnare": 2,
"schede": {
"bianche": {
"totali": 2007
},
"nulle": {
"totali": 0
},
"contestate": {
"totali": 0
}
},
"liste": [
{
"nome": "Fronte della Gioventù Comunista",
"seggi": {
"seggi_pieni": "-",
"resti": "494.0",
"seggi_ai_resti": "0",
"seggi_totali": "0"
},
"voti": {
"totali": 494
}
},
{
"nome": "'Studenti'",
"seggi": {
"seggi_pieni": "-",
"resti": "4897.0",
"seggi_ai_resti": "1",
"seggi_totali": "1"
},
"voti": {
"totali": 4897
}
},
{
"nome": "Gioventù Universitaria",
"seggi": {
"seggi_pieni": "-",
"resti": "4783.0",
"seggi_ai_resti": "1",
"seggi_totali": "1"
},
"voti": {
"totali": 4783
}
},
{
"totale": 10174
}
],
"eletti": [
{
"nominativo": "BARBAGALLO Ezio",
"lista": "'Studenti'",
"voti": {
"totali": 3531,
"seggio_telematico": 3531
}
},
{
"nominativo": "ZUFALO Alberto",
"lista": "Gioventù Universitaria",
"voti": {
"totali": 3294,
"seggio_telematico": 3294
}
}
],
"non_eletti": [
{
"nominativo": "TREGUA Carlo Alberto",
"lista": "Fronte della Gioventù Comunista",
"voti": {
"totali": 424,
"seggio_telematico": 424
}
},
{
"nominativo": "VITTORIO Grazia Agata",
"lista": "'Studenti'",
"voti": {
"totali": 1201,
"seggio_telematico": 1201
}
},
{
"nominativo": "TOSCANO Elena",
"lista": "FILLORAMO Marco",
"voti": {
"totali": 1316,
"seggio_telematico": 1316
}
}
],
"quoziente": 5087,
"votanti": {
"totali": 12181,
"percentuale": 32.18
},
"elettori": {
"totali": 37854
}
}
108 changes: 108 additions & 0 deletions src/data/2023-2025/organi superiori/Consiglio_di_amministrazione.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
{
"organo": "ELEZIONI RAPPRESENTANTI STUDENTI IN SENO AL CONSIGLIO DI AMMINISTRAZIONE DELL'ERSU DI CATANIA",
"seggi_da_assegnare": 2,
"schede": {
"bianche": {
"totali": 2000
},
"nulle": {
"totali": 0
},
"contestate": {
"totali": 0
}
},
"liste": [
{
"nome": "Fronte della Gioventù Comunista",
"seggi": {
"seggi_pieni": "-",
"resti": "536.0",
"seggi_ai_resti": "0",
"seggi_totali": "0"
},
"voti": {
"totali": 536
}
},
{
"nome": "'Studenti'",
"seggi": {
"seggi_pieni": "-",
"resti": "4784.0",
"seggi_ai_resti": "1",
"seggi_totali": "1"
},
"voti": {
"totali": 4784
}
},
{
"nome": "Gioventù Universitaria",
"seggi": {
"seggi_pieni": "-",
"resti": "4962.0",
"seggi_ai_resti": "1",
"seggi_totali": "1"
},
"voti": {
"totali": 4962
}
},
{
"totale": 10282
}
],
"eletti": [
{
"nominativo": "BARRESI Salvatore Detto Barrosh",
"lista": "'Studenti'",
"voti": {
"totali": 3662,
"seggio_telematico": 3662
}
},
{
"nominativo": "SANTANGELO Sofia Rita",
"lista": "Gioventù Universitaria",
"voti": {
"totali": 3716,
"seggio_telematico": 3716
}
}
],
"non_eletti": [
{
"nominativo": "BIONDI Silvia",
"lista": "Fronte della Gioventù Comunista",
"voti": {
"totali": 458,
"seggio_telematico": 458
}
},
{
"nominativo": "PISA Gianfrancesco Giuseppe Mario Detto Franz Pisa",
"lista": "'Studenti'",
"voti": {
"totali": 1011,
"seggio_telematico": 1011
}
},
{
"nominativo": "ARCIDIACONO Giovanni",
"lista": "Gioventù Universitaria",
"voti": {
"totali": 1082,
"seggio_telematico": 1082
}
}
],
"quoziente": 5141,
"votanti": {
"totali": 12282,
"percentuale": 32.45
},
"elettori": {
"totali": 37854
}
}
Loading

0 comments on commit a0a2111

Please sign in to comment.