Skip to content

Commit 31eea0c

Browse files
Feat/rework menu (#1064)
* chore: only show additional information if it exists * feat: add custom titles and only show titles when there are enough items * feat: adjust items as described * chore: add new menu structure to translation files as well There were no translated menu items in the files so just copy pasted from the EN file
1 parent cdd5d57 commit 31eea0c

File tree

10 files changed

+1545
-953
lines changed

10 files changed

+1545
-953
lines changed

config/_default/menus.de.yaml

Lines changed: 181 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -1,153 +1,224 @@
11
main:
2+
# Start Here
3+
- name: Start Here
4+
weight: 1
5+
identifier: start-here
6+
- name: Get involved
7+
URL: /community/
8+
parent: start-here
9+
weight: 1
10+
- name: Community and Events
11+
URL: /events/community-calls/
12+
parent: start-here
13+
weight: 2
14+
- name: Check out Our Repositories
15+
URL: https://github.com/InnerSourceCommons
16+
parent: start-here
17+
weight: 3
18+
- name: Join our Chat on Slack
19+
URL: /slack
20+
parent: start-here
21+
weight: 4
22+
- name: Join our Mailing List
23+
URL: https://innersourcecommons.us1.list-manage.com/subscribe?u=0363fb06e6a59d48c6e260f1b&id=97224b5ff2
24+
parent: start-here
25+
weight: 5
226

27+
# About
28+
- name: About
29+
weight: 2
30+
identifier: about
31+
- name: Who We Are
32+
URL: /about/
33+
parent: about
34+
weight: 1
35+
- name: Board & Governance
36+
URL: /about/board/
37+
parent: about
38+
weight: 2
39+
- name: Members
40+
URL: /about/members/
41+
parent: about
42+
weight: 3
43+
- name: Sponsors
44+
URL: /about/sponsors/
45+
parent: about
46+
weight: 4
47+
# - name: Code of Conduct
48+
# URL: /about/codeofconduct/
49+
# parent: about
50+
# weight: 5
51+
- name: Get in Touch
52+
URL: /about/contact/
53+
parent: about
54+
weight: 5
355

4-
## Learning
5-
- name: Learning
6-
URL: learn
56+
# Community
57+
- name: Community
58+
weight: 3
59+
identifier: community
60+
- name: Join us on Slack
61+
URL: /slack
62+
parent: community
763
weight: 1
8-
identifier: learning
64+
- name: Working Groups
65+
URL: /community/
66+
parent: community
67+
weight: 2
68+
- name: Case Studies
69+
URL: /stories/microsoft/
70+
parent: community
71+
weight: 3
72+
- name: Services Directory
73+
URL: /community/services/
74+
parent: community
75+
weight: 4
76+
- name: Code of Conduct
77+
URL: /about/codeofconduct/
78+
parent: community
79+
weight: 5
80+
81+
# Learning (Mega Menu)
982
- name: Learning
10-
URL: learn/
83+
weight: 4
84+
identifier: learning
85+
params:
86+
mainTitle: Learning Resources
87+
secondaryColumnTitle: Books
88+
# Learning Resources Column
89+
- name: InnerSource Patterns ⭐
90+
URL: /learn/books/innersource-patterns/
1191
parent: learning
1292
weight: 1
93+
params:
1394
- name: Learning Path
14-
URL: learn/learning-path
95+
URL: /learn/learning-path/
1596
parent: learning
1697
weight: 2
17-
- name: InnerSource Patterns
18-
URL: https://innersourcecommons.org/learn/books/innersource-patterns/
98+
params:
99+
- name: InnerSource Stories
100+
URL: /stories/microsoft/
19101
parent: learning
20102
weight: 3
21-
- name: Managing InnerSource Projects
22-
URL: https://innersourcecommons.org/learn/books/managing-innersource-projects/
103+
params:
104+
- name: Community Videos
105+
URL: https://www.youtube.com/@InnerSourceCommons
23106
parent: learning
24107
weight: 4
25-
- name: Videos
26-
URL: https://www.youtube.com/@InnerSourceCommons
108+
params:
109+
# Books Column
110+
- name: Getting Started with InnerSource
111+
URL: /learn/books/getting-started-with-innersource/
27112
parent: learning
28113
weight: 5
29-
- name: Books
30-
URL: learn/books
114+
params:
115+
isSecondary: true
116+
- name: Understanding the InnerSource Checklist
117+
URL: /learn/books/understanding-the-innersource-checklist/
31118
parent: learning
32119
weight: 6
33-
- name: Getting Started with InnerSource
34-
URL: https://innersourcecommons.org/learn/books/getting-started-with-innersource/
120+
params:
121+
isSecondary: true
122+
- name: Managing InnerSource Projects
123+
URL: /learn/books/managing-innersource-projects/
35124
parent: learning
36125
weight: 7
37-
- name: Understanding the InnerSource Checklist
38-
URL: https://innersourcecommons.org/learn/books/understanding-the-innersource-checklist/
126+
params:
127+
isSecondary: true
128+
- name: Adopting InnerSource
129+
URL: /learn/books/adopting-innersource-principles-and-case-studies/
39130
parent: learning
40131
weight: 8
41-
- name: Adopting InnerSource Principles and Case Studies
42-
URL: https://innersourcecommons.org/learn/books/adopting-innersource-principles-and-case-studies/
132+
params:
133+
isSecondary: true
134+
- name: See All Books
135+
URL: /learn/books/
43136
parent: learning
44137
weight: 9
138+
params:
139+
isSecondary: true
45140

46-
# Community
47-
- name: Community
48-
URL: community
49-
weight: 4
50-
identifier: community
141+
# Events (Mega Menu)
142+
- name: Events
143+
weight: 5
144+
identifier: events
145+
params:
146+
mainTitle: Event Types
147+
secondaryColumnTitle: General Info
148+
149+
# Event Types Column
51150
- name: Community Calls
52-
URL: events/community-calls
53-
parent: community
151+
URL: /events/community-calls/
152+
parent: events
54153
weight: 1
55-
- name: Activities and Working Groups
56-
URL: /community
57-
parent: community
58-
weight: 2
59-
- name: InnerSource Stories
60-
URL: stories
61-
parent: community
62-
weight: 3
63-
- name: Services Directory
64-
URL: community/services
65-
parent: community
66-
weight: 4
67-
- name: Research
68-
URL: learn/research
69-
parent: community
70-
weight: 5
71-
72-
- name: InnerSource Gatherings - Local Chapters
154+
params:
155+
- name: Gatherings - Local Chapters
73156
URL: https://gatherings.innersourcecommons.org/
74-
parent: community
75-
weight: 6
157+
parent: events
158+
weight: 2
159+
params:
76160
- name: InnerSource Summit 2025
77-
URL: events/isc-2025
78-
parent: community
79-
weight: 7
161+
URL: /events/isc-2025/
162+
parent: events
163+
weight: 3
80164
identifier: summit-2025
165+
params:
81166
- name: Call for Presenters
82167
URL: https://docs.google.com/forms/d/e/1FAIpQLSfWKkRDWIYN8eTOMlxONZp23-_i9nnAfqSJm26QCdzS5NtO9w/viewform
83-
parent: community
84-
weight: 8
168+
parent: events
169+
weight: 4
170+
params:
85171
- name: Why Sponsor the InnerSource Summit 2025?
86172
URL: /events/isc-2025/#why-sponsor?
87-
parent: community
88-
weight: 9
89-
- name: Past Summits
90-
URL: events/past-summits
91-
parent: community
92-
weight: 10
93-
- name: InnerSourcerers Map
94-
URL: about/map
95-
parent: community
96-
weight: 11
97-
98-
# News
99-
- name: Announcements
100-
URL: about/announcements
101-
parent: community
102-
weight: 12
103-
- name: Past Newsletters
104-
URL: https://us1.campaign-archive.com/home/?u=0363fb06e6a59d48c6e260f1b&id=97224b5ff2
105-
parent: community
106-
weight: 13
107-
173+
parent: events
174+
weight: 5
175+
params:
176+
- name: InnerSource Past Summits
177+
URL: /events/past-summits/
178+
parent: events
179+
weight: 6
180+
params:
108181

109-
# Calendar
110-
- name: Calendar
111-
URL: #
182+
# General Info Column
183+
- name: Upcoming Events
184+
URL: /events/community-calls/
185+
parent: events
186+
weight: 7
187+
params:
188+
isSecondary: true
189+
- name: Events Calendar
190+
URL: https://calendar.google.com/calendar/embed?src=c_62694f414055ac569e5cb12dafbb0890ca22f3640b177a4b10b53171fbc9bdd4%40group.calendar.google.com&ctz=Europe%2FDublin
191+
parent: events
192+
weight: 8
193+
params:
194+
isSecondary: true
195+
- name: Past Event Recordings
196+
URL: https://www.youtube.com/@InnerSourceCommons
197+
parent: events
112198
weight: 9
113-
identifier: calendar
114-
115-
# About
116-
- name: About
117-
URL: about
118-
weight: 10
119-
identifier: about
120-
parent: about
199+
params:
200+
isSecondary: true
201+
202+
# News & Updatess
203+
- name: News & Updates
204+
weight: 6
205+
identifier: news
206+
- name: Announcements
207+
URL: /about/announcements/
208+
parent: news
121209
weight: 1
122-
- name: Who We Are
123-
URL: about
124-
parent: about
210+
- name: Newsletters
211+
URL: https://us1.campaign-archive.com/home/?u=0363fb06e6a59d48c6e260f1b&id=97224b5ff2
212+
parent: news
125213
weight: 2
126-
- name: Board & Governance
127-
URL: about/board
128-
parent: about
214+
- name: Newsletter Signup
215+
URL: https://innersourcecommons.us1.list-manage.com/subscribe?u=0363fb06e6a59d48c6e260f1b&id=97224b5ff2
216+
parent: news
129217
weight: 3
130-
- name: Members
131-
URL: about/members
132-
parent: about
218+
- name: Submit an Article
219+
URL: mailto:[email protected]
220+
parent: news
133221
weight: 4
134-
- name: Sponsors
135-
URL: about/sponsors
136-
parent: about
137-
weight: 5
138-
- name: GitHub
139-
URL: https://github.com/InnerSourceCommons
140-
parent: about
141-
weight: 7
142-
- name: Contact Us
143-
URL: about/contact
144-
parent: about
145-
weight: 10
146-
- name: Code of Conduct
147-
URL: about/codeofconduct
148-
parent: about
149-
weight: 11
150-
151222

152223
footer_left:
153224
- name: Learn

0 commit comments

Comments
 (0)