Skip to content

Commit 59af20c

Browse files
committed
fix menu and about us text
1 parent ea7351d commit 59af20c

File tree

3 files changed

+156
-153
lines changed

3 files changed

+156
-153
lines changed

public/i18n/en.json

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,19 @@
11
{
2-
"nav": {
3-
"home": "PyCatania",
4-
"nextMeetup": "Next Meetup",
5-
"callForSpeakers": "Propose a talk",
6-
"contacts": "Contacts",
7-
"supporters": "Supporters",
8-
"community": "Community",
9-
"blog": "Blog",
10-
"events": "Events",
11-
"about": "About us"
2+
"about": {
3+
"title": "About us",
4+
"description": "The Python Catania community was born in 2023 from a group of enthusiasts of the Python language who live and work in the Catania area. We are part of the national Python Italia community and we love to call ourselves the Pycciotti. 🌋",
5+
"role": "Organiser"
126
},
13-
"hero": {
14-
"title": "Python Catania 🐘🌋",
15-
"tagline": "The right place to meet Python language enthusiasts from Catania."
7+
"blog": {
8+
"title": "Blog",
9+
"readMore": "Read more",
10+
"noContent": "No articles available.",
11+
"backToBlog": "Back to blog"
1612
},
17-
"nextMeetup": {
18-
"title": "Next Meetup",
19-
"description": "We organise regular meetups to share knowledge, experiences and passion for Python. Everyone is welcome, from beginners to experts.",
20-
"join": "Join us"
13+
"callForSpeakers": {
14+
"title": "Call for Speakers",
15+
"description": "Got an idea, a project or an experience to share? Getting on stage is easier than you think. Our community welcomes talks at every level: from personal side-project stories to deep technical dives.",
16+
"cta": "Propose a talk"
2117
},
2218
"contact": {
2319
"title": "Contacts",
@@ -27,20 +23,6 @@
2723
"code": "Code"
2824
}
2925
},
30-
"supporters": {
31-
"title": "Supporters",
32-
"groups": {
33-
"networks": "Networks",
34-
"mediaPartners": "Media Partners",
35-
"communityPartners": "Community Partners"
36-
}
37-
},
38-
"blog": {
39-
"title": "Blog",
40-
"readMore": "Read more",
41-
"noContent": "No articles available.",
42-
"backToBlog": "Back to blog"
43-
},
4426
"events": {
4527
"title": "Events",
4628
"past": "Past events",
@@ -51,17 +33,35 @@
5133
"gallery": "Gallery",
5234
"viewOnMeetup": "View on Meetup"
5335
},
54-
"about": {
55-
"title": "About us",
56-
"description": "The team that organises and leads the Python Catania community.",
57-
"role": "Organiser"
58-
},
59-
"callForSpeakers": {
60-
"title": "Call for Speakers",
61-
"description": "Got an idea, a project or an experience to share? Getting on stage is easier than you think. Our community welcomes talks at every level: from personal side-project stories to deep technical dives.",
62-
"cta": "Propose a talk"
63-
},
6436
"footer": {
6537
"rights": "All rights reserved"
38+
},
39+
"hero": {
40+
"title": "Python Catania 🐘🌋",
41+
"tagline": "The right place to meet Python language enthusiasts from Catania."
42+
},
43+
"nav": {
44+
"home": "PyCatania",
45+
"nextMeetup": "Next Meetup",
46+
"callForSpeakers": "Propose a talk",
47+
"contacts": "Contacts",
48+
"supporters": "Supporters",
49+
"community": "Community",
50+
"blog": "Blog",
51+
"events": "Events",
52+
"about": "About us"
53+
},
54+
"nextMeetup": {
55+
"title": "Next Meetup",
56+
"description": "We organise regular meetups to share knowledge, experiences and passion for Python. Everyone is welcome, from beginners to experts.",
57+
"join": "Join us"
58+
},
59+
"supporters": {
60+
"title": "Supporters",
61+
"groups": {
62+
"networks": "Networks",
63+
"mediaPartners": "Media Partners",
64+
"communityPartners": "Community Partners"
65+
}
6666
}
6767
}

public/i18n/it.json

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,19 @@
11
{
2-
"nav": {
3-
"home": "PyCatania",
4-
"nextMeetup": "Prossimo Meetup",
5-
"callForSpeakers": "Proponi un talk",
6-
"contacts": "Contatti",
7-
"supporters": "Sostenitori",
8-
"community": "Community",
9-
"blog": "Blog",
10-
"events": "Eventi",
11-
"about": "Chi siamo"
2+
"about": {
3+
"title": "Chi siamo",
4+
"description": "La community Python Catania nasce nel 2023 da un gruppo di appassionati del linguaggio Python che vivono e lavorano nel territorio di Catania. Facciamo parte della community nazionale Python Italia e ci piace definirci i Pycciotti. 🌋",
5+
"role": "Organizzatore"
126
},
13-
"hero": {
14-
"title": "Python Catania 🐘🌋",
15-
"tagline": "Il posto giusto dove incontrare gli appassionati del linguaggio Python di Catania."
7+
"blog": {
8+
"title": "Blog",
9+
"readMore": "Leggi di più",
10+
"noContent": "Nessun articolo disponibile.",
11+
"backToBlog": "Torna al blog"
1612
},
17-
"nextMeetup": {
18-
"title": "Prossimo Meetup",
19-
"description": "Organizziamo incontri periodici per condividere conoscenza, esperienze e passione per Python. Chiunque sia curioso è il benvenuto, dal principiante all'esperto.",
20-
"join": "Unisciti a noi"
13+
"callForSpeakers": {
14+
"title": "Call for Speaker",
15+
"description": "Hai un'idea, un progetto o un'esperienza da condividere? Salire sul palco è più semplice di quanto pensi. La nostra community accoglie talk di ogni livello: dal racconto di un side project personale fino ai deep dive tecnici.",
16+
"cta": "Proponi un talk"
2117
},
2218
"contact": {
2319
"title": "Contatti",
@@ -27,20 +23,6 @@
2723
"code": "Codice"
2824
}
2925
},
30-
"supporters": {
31-
"title": "Sostenitori",
32-
"groups": {
33-
"networks": "Reti",
34-
"mediaPartners": "Media Partner",
35-
"communityPartners": "Community Partner"
36-
}
37-
},
38-
"blog": {
39-
"title": "Blog",
40-
"readMore": "Leggi di più",
41-
"noContent": "Nessun articolo disponibile.",
42-
"backToBlog": "Torna al blog"
43-
},
4426
"events": {
4527
"title": "Eventi",
4628
"past": "Eventi passati",
@@ -51,17 +33,35 @@
5133
"gallery": "Galleria",
5234
"viewOnMeetup": "Vedi su Meetup"
5335
},
54-
"about": {
55-
"title": "Chi siamo",
56-
"description": "Il team che organizza e guida la community Python Catania.",
57-
"role": "Organizzatore"
58-
},
59-
"callForSpeakers": {
60-
"title": "Call for Speaker",
61-
"description": "Hai un'idea, un progetto o un'esperienza da condividere? Salire sul palco è più semplice di quanto pensi. La nostra community accoglie talk di ogni livello: dal racconto di un side project personale fino ai deep dive tecnici.",
62-
"cta": "Proponi un talk"
63-
},
6436
"footer": {
6537
"rights": "Tutti i diritti riservati"
38+
},
39+
"hero": {
40+
"title": "Python Catania 🐘🌋",
41+
"tagline": "Il posto giusto dove incontrare gli appassionati del linguaggio Python di Catania."
42+
},
43+
"nav": {
44+
"home": "PyCatania",
45+
"nextMeetup": "Prossimo Meetup",
46+
"callForSpeakers": "Proponi un talk",
47+
"contacts": "Contatti",
48+
"supporters": "Sostenitori",
49+
"community": "Community",
50+
"blog": "Blog",
51+
"events": "Eventi",
52+
"about": "Chi siamo"
53+
},
54+
"nextMeetup": {
55+
"title": "Prossimo Meetup",
56+
"description": "Organizziamo incontri periodici per condividere conoscenza, esperienze e passione per Python. Chiunque sia curioso è il benvenuto, dal principiante all'esperto.",
57+
"join": "Unisciti a noi"
58+
},
59+
"supporters": {
60+
"title": "Sostenitori",
61+
"groups": {
62+
"networks": "Reti",
63+
"mediaPartners": "Media Partner",
64+
"communityPartners": "Community Partner"
65+
}
6666
}
6767
}

src/app/components/header/header.component.html

Lines changed: 74 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -23,100 +23,103 @@
2323
>{{ 'nav.home' | transloco }}</a
2424
>
2525
</li>
26-
27-
<!-- Next Meetup -->
26+
<!-- Contacts -->
2827
<li class="flex list-none items-center">
2928
<a
30-
href="#next-meetup"
31-
(click)="scrollTo($event, 'next-meetup')"
29+
href="#contact"
30+
(click)="scrollTo($event, 'contact')"
3231
class="rounded-(--radius) px-3 py-[0.4rem] text-inherit no-underline transition-colors duration-150 hover:bg-(--surface)"
33-
>{{ 'nav.nextMeetup' | transloco }}</a
32+
>{{ 'nav.contacts' | transloco }}</a
3433
>
3534
</li>
36-
37-
<!-- Call for Speakers -->
35+
<!-- Supporters -->
3836
<li class="flex list-none items-center">
3937
<a
40-
href="#call-for-speakers"
41-
(click)="scrollTo($event, 'call-for-speakers')"
38+
href="#supporters"
39+
(click)="scrollTo($event, 'supporters')"
4240
class="rounded-(--radius) px-3 py-[0.4rem] text-inherit no-underline transition-colors duration-150 hover:bg-(--surface)"
43-
>{{ 'nav.callForSpeakers' | transloco }}</a
41+
>{{ 'nav.supporters' | transloco }}</a
4442
>
4543
</li>
46-
47-
<!-- Contacts -->
44+
<!-- Eventi -->
4845
<li class="flex list-none items-center">
4946
<a
50-
href="#contact"
51-
(click)="scrollTo($event, 'contact')"
52-
class="rounded-(--radius) px-3 py-[0.4rem] text-inherit no-underline transition-colors duration-150 hover:bg-(--surface)"
53-
>{{ 'nav.contacts' | transloco }}</a
47+
routerLink="/events"
48+
routerLinkActive="text-(--color-primary)"
49+
(click)="closeDropdown($event)"
50+
class="block rounded-[calc(var(--radius)-2px)] px-3 py-2 text-inherit no-underline hover:bg-(--surface)"
51+
>{{ 'nav.events' | transloco }}</a
5452
>
5553
</li>
5654

57-
<!-- Supporters -->
55+
<!-- Chi siamo -->
5856
<li class="flex list-none items-center">
5957
<a
60-
href="#supporters"
61-
(click)="scrollTo($event, 'supporters')"
62-
class="rounded-(--radius) px-3 py-[0.4rem] text-inherit no-underline transition-colors duration-150 hover:bg-(--surface)"
63-
>{{ 'nav.supporters' | transloco }}</a
58+
routerLink="/chi-siamo"
59+
routerLinkActive="text-(--color-primary)"
60+
(click)="closeDropdown($event)"
61+
class="block rounded-[calc(var(--radius)-2px)] px-3 py-2 text-inherit no-underline hover:bg-(--surface)"
62+
>{{ 'nav.about' | transloco }}</a
6463
>
6564
</li>
6665

66+
<!-- Next Meetup -->
67+
<!-- <li class="flex list-none items-center">
68+
<a
69+
href="#next-meetup"
70+
(click)="scrollTo($event, 'next-meetup')"
71+
class="rounded-(--radius) px-3 py-[0.4rem] text-inherit no-underline transition-colors duration-150 hover:bg-(--surface)"
72+
>{{ 'nav.nextMeetup' | transloco }}</a
73+
>
74+
</li> -->
75+
76+
<!-- Call for Speakers -->
77+
<!-- <li class="flex list-none items-center">
78+
<a
79+
href="#call-for-speakers"
80+
(click)="scrollTo($event, 'call-for-speakers')"
81+
class="rounded-(--radius) px-3 py-[0.4rem] text-inherit no-underline transition-colors duration-150 hover:bg-(--surface)"
82+
>{{ 'nav.callForSpeakers' | transloco }}</a
83+
>
84+
</li> -->
85+
6786
<!-- Community dropdown -->
68-
<li class="relative flex list-none items-center">
69-
<details class="group">
70-
<summary
71-
class="flex cursor-pointer list-none items-center gap-1 rounded-(--radius) px-3 py-[0.4rem] text-inherit transition-colors duration-150 hover:bg-(--surface) [&::-webkit-details-marker]:hidden"
72-
>
73-
{{ 'nav.community' | transloco }}
74-
<svg
75-
class="h-3 w-3 transition-transform group-open:rotate-180"
76-
viewBox="0 0 10 6"
77-
fill="none"
78-
stroke="currentColor"
79-
stroke-width="1.5"
80-
aria-hidden="true"
87+
@if (debugService.isEnabled) {
88+
<li class="relative flex list-none items-center">
89+
<details class="group">
90+
<summary
91+
class="flex cursor-pointer list-none items-center gap-1 rounded-(--radius) px-3 py-[0.4rem] text-inherit transition-colors duration-150 hover:bg-(--surface) [&::-webkit-details-marker]:hidden"
8192
>
82-
<path d="M1 1l4 4 4-4" />
83-
</svg>
84-
</summary>
85-
<ul
86-
class="absolute top-[calc(100%+0.25rem)] left-0 z-10 m-0 min-w-40 list-none rounded-(--radius) border border-(--border) bg-(--bg) p-1 shadow-[0_4px_16px_rgba(0,0,0,0.15)]"
87-
>
88-
<li class="block">
89-
<a
90-
routerLink="/chi-siamo"
91-
routerLinkActive="text-(--color-primary)"
92-
(click)="closeDropdown($event)"
93-
class="block rounded-[calc(var(--radius)-2px)] px-3 py-2 text-inherit no-underline hover:bg-(--surface)"
94-
>{{ 'nav.about' | transloco }}</a
93+
{{ 'nav.community' | transloco }}
94+
<svg
95+
class="h-3 w-3 transition-transform group-open:rotate-180"
96+
viewBox="0 0 10 6"
97+
fill="none"
98+
stroke="currentColor"
99+
stroke-width="1.5"
100+
aria-hidden="true"
95101
>
96-
</li>
97-
@if (debugService.isEnabled) {
98-
<li class="block">
99-
<a
100-
routerLink="/blog"
101-
routerLinkActive="text-(--color-primary)"
102-
(click)="closeDropdown($event)"
103-
class="block rounded-[calc(var(--radius)-2px)] px-3 py-2 text-inherit no-underline hover:bg-(--surface)"
104-
>{{ 'nav.blog' | transloco }}</a
105-
>
106-
</li>
107-
}
108-
<li class="block">
109-
<a
110-
routerLink="/events"
111-
routerLinkActive="text-(--color-primary)"
112-
(click)="closeDropdown($event)"
113-
class="block rounded-[calc(var(--radius)-2px)] px-3 py-2 text-inherit no-underline hover:bg-(--surface)"
114-
>{{ 'nav.events' | transloco }}</a
115-
>
116-
</li>
117-
</ul>
118-
</details>
119-
</li>
102+
<path d="M1 1l4 4 4-4" />
103+
</svg>
104+
</summary>
105+
<ul
106+
class="absolute top-[calc(100%+0.25rem)] left-0 z-10 m-0 min-w-40 list-none rounded-(--radius) border border-(--border) bg-(--bg) p-1 shadow-[0_4px_16px_rgba(0,0,0,0.15)]"
107+
>
108+
@if (debugService.isEnabled) {
109+
<li class="block">
110+
<a
111+
routerLink="/blog"
112+
routerLinkActive="text-(--color-primary)"
113+
(click)="closeDropdown($event)"
114+
class="block rounded-[calc(var(--radius)-2px)] px-3 py-2 text-inherit no-underline hover:bg-(--surface)"
115+
>{{ 'nav.blog' | transloco }}</a
116+
>
117+
</li>
118+
}
119+
</ul>
120+
</details>
121+
</li>
122+
}
120123
</ul>
121124

122125
<!-- Language toggle (desktop) -->

0 commit comments

Comments
 (0)