Skip to content

Commit a5165d0

Browse files
committed
updating menu
1 parent eb44c42 commit a5165d0

File tree

6 files changed

+71
-94
lines changed

6 files changed

+71
-94
lines changed

assets/scss/_custom.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ a:hover, .content a:hover {
5858
max-width: 800px;
5959
margin: 0 auto;
6060

61-
@media (max-width: 992px) {
61+
@media (max-width: 876px) {
6262
max-width: 600px;
6363
margin: 0 auto;
6464
padding: 30px;
@@ -397,7 +397,7 @@ button.svelte-la9dd4:disabled {
397397
border-bottom: 1px solid #eee;
398398
position: relative;
399399

400-
@media (max-width: 992px) {
400+
@media (max-width: 876px) {
401401
padding: 0 12px;
402402
}
403403
}

assets/scss/_search.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,23 @@
3232
max-height: 400px;
3333
overflow-y: auto;
3434
z-index: 1000;
35+
3536

3637
.search-result-item {
3738
display: block;
3839
padding: 10px;
3940
text-decoration: none;
40-
color: #0aa8a7;
41+
color: #000;
4142
border-bottom: 1px solid #eee;
4243

4344
&:hover {
4445
background: #f5f5f5;
46+
color: #0aa8a7;
47+
font-weight: bold;
4548
}
4649

4750
.search-result-title {
48-
font-weight: bold;
51+
font-weight: 500;
4952
margin-bottom: 5px;
5053
}
5154

config/_default/menus.en.yaml

Lines changed: 61 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,6 @@
11
main:
2-
- name: About
3-
URL: about
4-
weight: 1
5-
identifier: about
6-
- name: Who We Are
7-
URL: about
8-
parent: about
9-
weight: 2
10-
- name: Board & Governance
11-
URL: about/board
12-
parent: about
13-
weight: 3
14-
- name: Members
15-
URL: about/members
16-
parent: about
17-
weight: 4
18-
- name: Sponsors
19-
URL: about/sponsors
20-
parent: about
21-
weight: 5
22-
- name: InnerSource Stories
23-
URL: stories
24-
parent: about
25-
weight: 6
26-
- name: GitHub
27-
URL: https://github.com/InnerSourceCommons
28-
parent: about
29-
weight: 7
30-
- name: Contact Us
31-
URL: about/contact
32-
parent: about
33-
weight: 10
34-
- name: Code of Conduct
35-
URL: about/codeofconduct
36-
parent: about
37-
weight: 11
382

393

40-
# Projects
41-
- name: Activities
42-
URL: learn/patterns
43-
weight: 2
44-
identifier: activities
45-
- name: Activities
46-
URL: /community
47-
parent: activities
48-
weight: 1
49-
- name: InnerSource Patterns Working Group
50-
URL: /learn/patterns
51-
parent: activities
52-
weight: 1
53-
- name: ISPO Working Group
54-
URL: /community/
55-
parent: activities
56-
weight: 2
57-
- name: Learning Path Working Group
58-
URL: /community/
59-
parent: activities
60-
weight: 3
61-
- name: Marketing & Outreach Working Group
62-
URL: /community/
63-
parent: activities
64-
weight: 4
65-
- name: Local Community
66-
URL: /community/
67-
parent: activities
68-
weight: 7
69-
- name: State of InnerSource Survey
70-
URL: learn/research
71-
parent: activities
72-
weight: 8
73-
744
## Learning
755
- name: Learning
766
URL: learn
@@ -122,47 +52,91 @@ main:
12252
URL: events/community-calls
12353
parent: community
12454
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
12571

12672
- name: InnerSource Gatherings - Local Chapters
12773
URL: https://gatherings.innersourcecommons.org/
12874
parent: community
129-
weight: 3
75+
weight: 6
13076
- name: InnerSource Summit 2024
13177
URL: events/isc-2024
13278
parent: community
133-
weight: 4
79+
weight: 7
13480
- name: Past Summits
13581
URL: https://innersourcecommons.org/events/past-summits/
13682
parent: community
137-
weight: 5
138-
- name: Services Directory
139-
URL: community/services
140-
parent: community
141-
weight: 10
83+
weight: 8
14284
- name: InnerSourcerers Map
14385
URL: about/map
14486
parent: community
14587
weight: 11
14688

14789
# News
148-
- name: News
149-
URL: about/announcements
150-
weight: 5
151-
identifier: news
15290
- name: Announcements
15391
URL: about/announcements
154-
parent: news
155-
weight: 1
92+
parent: community
93+
weight: 12
15694
- name: Past Newsletters
15795
URL: https://us1.campaign-archive.com/home/?u=0363fb06e6a59d48c6e260f1b&id=97224b5ff2
158-
parent: news
159-
weight: 1
96+
parent: community
97+
weight: 13
98+
16099

161100
# Calendar
162-
- name: Schedule
101+
- name: Calendar
163102
URL: #
164103
weight: 9
165-
identifier: schedule
104+
identifier: calendar
105+
106+
# About
107+
- name: About
108+
URL: about
109+
weight: 10
110+
identifier: about
111+
- name: Who We Are
112+
URL: about
113+
parent: about
114+
weight: 2
115+
- name: Board & Governance
116+
URL: about/board
117+
parent: about
118+
weight: 3
119+
- name: Members
120+
URL: about/members
121+
parent: about
122+
weight: 4
123+
- name: Sponsors
124+
URL: about/sponsors
125+
parent: about
126+
weight: 5
127+
- name: GitHub
128+
URL: https://github.com/InnerSourceCommons
129+
parent: about
130+
weight: 7
131+
- name: Contact Us
132+
URL: about/contact
133+
parent: about
134+
weight: 10
135+
- name: Code of Conduct
136+
URL: about/codeofconduct
137+
parent: about
138+
weight: 11
139+
166140

167141
footer_left:
168142
- name: Learn

layouts/partials/menu.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ if eq .Name "Schedule" }}
1+
{{ if eq .Name "Calendar" }}
22
<li class="menu-item-has-children" id="schedule-menu-item">
33
<a href="#" style="border-bottom: 0px solid #e0e0e0;"><span>{{ .Name }}</span></a>
44
<div class="sub-menu" style="padding:0px;margin:0px;">

layouts/partials/search.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
return `
2626
<a href="${item.url}" class="search-result-item">
2727
<div class="search-result-title">${item.title || ''}</div>
28-
<div class="search-result-summary">${truncatedSummary}</div>
28+
<!-- div class="search-result-summary">${truncatedSummary}</div -->
2929
</a>
3030
`;
3131
}

static/css/custom-menu.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
}
249249
}
250250

251-
@media (max-width: 992px) {
251+
@media (max-width: 876px) {
252252
.container.wrap {
253253
padding: 0 12px;
254254
}

0 commit comments

Comments
 (0)