33---
44< div class ="home ">
55
6- {%- if page.title -%}
7- < h1 class ="page-heading " > {{ page.title }} </ h1 >
8- {%- endif -%}
9-
10- {{ content }}
6+ <!-- Hero Section -->
7+ < section class ="hero-section " >
8+ < div class =" hero-content " >
9+ < h1 class =" hero-title " > {{ page.hero.title | default: "Marca User Group" }} </ h1 >
10+ < p class =" hero-subtitle " > {{ page.hero.subtitle | default: "La community tech del territorio trevigiano" }} </ p >
1111
12- < div class ="page-space "> </ div >
12+ {%- if page.hero.badges -%}
13+ < div class ="hero-badges ">
14+ {%- for badge in page.hero.badges -%}
15+ < span class ="badge "> {{ badge }}</ span >
16+ {%- endfor -%}
17+ </ div >
18+ {%- endif -%}
1319
14- <!-- Upcoming MUGTalk -->
20+ {%- if page.hero.cta_text -%}
21+ < a href ="{{ page.hero.cta_link }} " class ="btn-primary hero-cta "> {{ page.hero.cta_text }} →</ a >
22+ {%- endif -%}
23+ </ div >
24+ </ section >
1525
26+ <!-- Upcoming Event Highlight -->
1627 {%- assign events = site.posts | where: 'categories','eventi' -%}
1728 {%- assign sorted_events = events | sort: 'date' | reverse -%}
1829 {%- if sorted_events.size > 0 -%}
1930 {%- assign today = site.time -%}
2031 {%- assign post = sorted_events.first -%}
2132
22- {%- if post.date > = today -%}
23- < h1 class ="page-heading "> Prossimo evento</ h1 >
24- {%- else -%}
25- < h1 class ="page-heading "> Ultimo evento</ h1 >
26- {%- endif -%}
27-
28- < div class ="home-event ">
29- < div class ="event-title "> {{ post.title | escape }}</ div >
30- < div class ="event-date "> {{ post.date | date_to_long_string }}</ div >
31- di
32- < div class ="event-speaker "> {{ post.speaker | escape }}</ div >
33- < div class ="event-link "> < a class ="post-link " href ="{{ post.url | relative_url }} "> Info e biglietti →</ a > </ div >
34- </ div >
33+ < section class ="upcoming-event-section ">
34+ < div class ="event-card-hero ">
35+ < div class ="event-card-header ">
36+ {%- if post.date > = today -%}
37+ < span class ="event-badge "> Prossimo evento</ span >
38+ {%- else -%}
39+ < span class ="event-badge "> Ultimo evento</ span >
40+ {%- endif -%}
41+ </ div >
42+
43+ < h2 class ="event-title-hero "> {{ post.title | escape }}</ h2 >
44+
45+ < div class ="event-meta ">
46+ < div class ="event-speaker-meta ">
47+ < strong > Speaker:</ strong > {{ post.speaker | escape }}
48+ </ div >
49+ < div class ="event-date-meta ">
50+ < strong > Data:</ strong > {{ post.date | date: "%d %B %Y" }}
51+ </ div >
52+ </ div >
53+
54+ {%- if post.excerpt -%}
55+ < p class ="event-excerpt "> {{ post.excerpt | strip_html | truncatewords: 30 }}</ p >
56+ {%- endif -%}
3557
58+ < div class ="event-actions ">
59+ < a href ="{{ post.url | relative_url }} " class ="btn-secondary "> Maggiori informazioni</ a >
60+ </ div >
61+ </ div >
62+ </ section >
3663 {%- endif -%}
3764
38- < div class ="page-space "> </ div >
65+ <!-- About MUG Section -->
66+ < section class ="about-section ">
67+ < div class ="about-content ">
68+ < h2 class ="section-heading "> Chi siamo</ h2 >
69+ {{ content }}
70+
71+ {%- if page.about.show_stats -%}
72+ < div class ="stats-container ">
73+ < div class ="stat-item ">
74+ < div class ="stat-number "> {{ site.posts | size }}+</ div >
75+ < div class ="stat-label "> Eventi</ div >
76+ </ div >
77+ < div class ="stat-item ">
78+ < div class ="stat-number "> 4+</ div >
79+ < div class ="stat-label "> Partner</ div >
80+ </ div >
81+ </ div >
82+ {%- endif -%}
83+ </ div >
84+ </ section >
85+
86+ <!-- Social CTA Section -->
87+ < section class ="social-cta-section " id ="join-community ">
88+ < div class ="social-cta-content ">
89+ < h2 class ="section-heading "> Unisciti alla community MUG</ h2 >
90+
91+ < div class ="social-cards ">
92+ {%- if page.social.telegram -%}
93+ < div class ="social-card ">
94+ < h3 > Telegram</ h3 >
95+ < p > Discussioni quotidiane, news e networking con la community</ p >
96+ < a href ="{{ page.social.telegram }} " class ="btn-social " target ="_blank "> Unisciti al gruppo →</ a >
97+ </ div >
98+ {%- endif -%}
99+
100+ {%- if page.social.linkedin -%}
101+ < div class ="social-card ">
102+ < h3 > LinkedIn</ h3 >
103+ < p > Aggiornamenti professionali, eventi e opportunità</ p >
104+ < a href ="{{ page.social.linkedin }} " class ="btn-social " target ="_blank "> Segui la pagina →</ a >
105+ </ div >
106+ {%- endif -%}
107+ </ div >
108+ </ div >
109+ </ section >
39110
40- <!-- All past events -->
111+ <!-- Speaker CTA -->
112+ {%- include speaker-cta.html -%}
41113
42- < h1 class ="page-heading "> Eventi passati</ h1 >
114+ <!-- Partner Principal -->
115+ {%- include partner-principal.html -%}
43116
44- < div class ="page-footer ">
45- < div class ="event-link "> < a class ="post-link " href ="{{ "eventi /" | relative_url }}"> Vedi gli eventi passati</ a > </ div >
46- </ div >
117+ <!-- Communities -->
118+ {%- include communities.html -%}
47119
48- </ div >
120+ </ div >
0 commit comments