Skip to content

Commit b08ad6e

Browse files
rdhyeeclaude
andauthored
Add Architecture & Vocabularies and Research & Resources to top navbar (#103)
Expands navbar from 4 to 6 items with dropdown menus matching Hana's wireframe. Each dropdown mirrors the sidebar structure: - How to Use: Overview, Deep-Dive, Globe, Search Explorer, Narrow vs Wide - About: Objectives, PIs, Photo Gallery, Background & History - Architecture & Vocabularies: Overview, Requirements, Metadata Model, Vocabularies - Research & Resources: Publications, Zenodo, Github Also adds navbar tests for the two new items. Closes #102 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e5a481c commit b08ad6e

2 files changed

Lines changed: 51 additions & 5 deletions

File tree

_quarto.yml

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,46 @@ website:
1212
text: Home
1313
- href: tutorials/progressive_globe.qmd
1414
text: Interactive Explorer
15-
- href: how-to-use.qmd
16-
text: How to Use
17-
- href: about.qmd
18-
text: About
15+
- text: How to Use
16+
menu:
17+
- text: Overview
18+
href: how-to-use.qmd
19+
- text: Deep-Dive Analysis
20+
href: tutorials/zenodo_isamples_analysis.qmd
21+
- text: 3D Globe Visualization
22+
href: tutorials/parquet_cesium_isamples_wide.qmd
23+
- text: Search Explorer
24+
href: tutorials/isamples_explorer.qmd
25+
- text: "Technical: Narrow vs Wide"
26+
href: tutorials/narrow_vs_wide_performance.qmd
27+
- text: About
28+
menu:
29+
- text: Objectives
30+
href: about.qmd
31+
- text: PIs and Contributors
32+
href: "about.qmd#team"
33+
- text: Photo Gallery
34+
href: "about.qmd#photo-gallery"
35+
- text: "Background & History"
36+
href: "about.qmd#background-history"
37+
- text: "Architecture & Vocabularies"
38+
menu:
39+
- text: Overview
40+
href: design/index.qmd
41+
- text: Requirements
42+
href: design/requirements.md
43+
- text: Metadata Model
44+
href: "https://isamplesorg.github.io/metadata/"
45+
- text: Vocabularies
46+
href: models/index.qmd
47+
- text: "Research & Resources"
48+
menu:
49+
- text: "Publications & Conferences"
50+
href: pubs.qmd
51+
- text: Zenodo Community
52+
href: "pubs.qmd#zenodo-community"
53+
- text: Github Repositories
54+
href: "pubs.qmd#github-repositories"
1955
right:
2056
- icon: github
2157
href: https://github.com/isamplesorg

tests/test_navigation.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def test_has_github_repositories(self, page):
114114

115115

116116
class TestNavbar:
117-
"""Top navbar should have the 4 main items."""
117+
"""Top navbar should have all 6 main items matching wireframe."""
118118

119119
def test_navbar_has_home(self, page):
120120
page.goto(SITE_URL, wait_until="domcontentloaded")
@@ -135,3 +135,13 @@ def test_navbar_has_about(self, page):
135135
page.goto(SITE_URL, wait_until="domcontentloaded")
136136
navbar = page.locator(".navbar")
137137
assert navbar.get_by_text("About", exact=True).count() > 0
138+
139+
def test_navbar_has_architecture_and_vocabularies(self, page):
140+
page.goto(SITE_URL, wait_until="domcontentloaded")
141+
navbar = page.locator(".navbar")
142+
assert navbar.get_by_text("Architecture").count() > 0
143+
144+
def test_navbar_has_research_and_resources(self, page):
145+
page.goto(SITE_URL, wait_until="domcontentloaded")
146+
navbar = page.locator(".navbar")
147+
assert navbar.get_by_text("Research").count() > 0

0 commit comments

Comments
 (0)