Skip to content

Commit

Permalink
turning off nav items
Browse files Browse the repository at this point in the history
  • Loading branch information
Shayan Monadjemi committed Oct 27, 2024
1 parent 11757da commit e874e3a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 19 deletions.
8 changes: 4 additions & 4 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ blog:

menu:
- dropdown: "Attend"
display: true
display: false
sections:
- subsections:
- heading: "Attending VIS 2025"
Expand Down Expand Up @@ -108,7 +108,7 @@ menu:
# is_new: false

- dropdown: "Contribute"
display: true
display: false
sections:
- subsections:
- heading: "Call for Participation"
Expand Down Expand Up @@ -213,7 +213,7 @@ menu:
description: "Your support makes this conference possible!"

- dropdown: "Program"
display: true
display: false
sections:
- subsections:
- heading: "Vis Program"
Expand Down Expand Up @@ -298,7 +298,7 @@ menu:
# # # url: "https://www.google.com"

- dropdown: "Events & Community"
display: true
display: false
sections:
- subsections:
- heading: "Associated Events"
Expand Down
26 changes: 13 additions & 13 deletions _data/program_navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,36 +27,36 @@ navbar_metadata:


schedule:
display: true
display: false
text: "Schedule"
url: "/year/2025/program/calendar"

all_events:
display: true
display: false
text: "All Events"
url: "/year/2025/program/events.html"

papers:
display: true
display: false
text: "Accepted Papers"
url: "/year/2025/program/papers.html"

posters:
display: true
display: false
text: "Posters"
url: "/year/2025/program/posters.html"

workshops:
display: false
text: "Workshops"
url: "/year/2025/program/workshops.html"
# workshops:
# display: false
# text: "Workshops"
# url: "/year/2025/program/workshops.html"

speakers:
display: false
text: "Speakers"
url: "/year/2025/program/speakers.html"
# speakers:
# display: false
# text: "Speakers"
# url: "/year/2025/program/speakers.html"

awards:
display: true
display: false
text: "Awards"
url: "/year/2025/program/awards/awards.html"
6 changes: 4 additions & 2 deletions src/styles/program-navigation.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@
display: none;
position: fixed;
/* top: var(--program-navigation-height); */
top: 140px;
/* change to 140 when content navbar is on */
top: 70;
height: calc(100vh - var(--program-navigation-height));
width: 100vw;
overflow-y: scroll;
Expand All @@ -95,7 +96,8 @@
@screen md {
.program-menu {
position: static;
top: 140px;
/* change to 140 when content navbar is on */
top: 70;
height: 100%;
overflow-y: unset;
@apply bg-accent-blue;
Expand Down

0 comments on commit e874e3a

Please sign in to comment.