From e874e3a40a3a53b4bdb582e409605d0469cd59b8 Mon Sep 17 00:00:00 2001 From: Shayan Monadjemi Date: Sun, 27 Oct 2024 14:04:41 -0400 Subject: [PATCH] turning off nav items --- _data/navigation.yml | 8 ++++---- _data/program_navigation.yml | 26 +++++++++++++------------- src/styles/program-navigation.css | 6 ++++-- 3 files changed, 21 insertions(+), 19 deletions(-) diff --git a/_data/navigation.yml b/_data/navigation.yml index 1672355fb..4346c869b 100644 --- a/_data/navigation.yml +++ b/_data/navigation.yml @@ -31,7 +31,7 @@ blog: menu: - dropdown: "Attend" - display: true + display: false sections: - subsections: - heading: "Attending VIS 2025" @@ -108,7 +108,7 @@ menu: # is_new: false - dropdown: "Contribute" - display: true + display: false sections: - subsections: - heading: "Call for Participation" @@ -213,7 +213,7 @@ menu: description: "Your support makes this conference possible!" - dropdown: "Program" - display: true + display: false sections: - subsections: - heading: "Vis Program" @@ -298,7 +298,7 @@ menu: # # # url: "https://www.google.com" - dropdown: "Events & Community" - display: true + display: false sections: - subsections: - heading: "Associated Events" diff --git a/_data/program_navigation.yml b/_data/program_navigation.yml index 82d41e763..f28456773 100644 --- a/_data/program_navigation.yml +++ b/_data/program_navigation.yml @@ -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" diff --git a/src/styles/program-navigation.css b/src/styles/program-navigation.css index 0c2d8d675..f435671c2 100644 --- a/src/styles/program-navigation.css +++ b/src/styles/program-navigation.css @@ -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; @@ -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;