Add Gallery option to Navbar

This commit is contained in:
Ray 2023-12-04 15:35:26 +00:00 committed by GitHub
parent b93ad1b100
commit 38f4fc0c6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ function App() {
{ label: "Home", link: "/" },
{ label: "About", link: "/about" },
{ label: "Contact", link: "/contact" },
{ label: "Gallery", link: "/gallery" },
]
@ -95,6 +96,7 @@ function App() {
<Route path="/about" element={<About greeting="Hey you, this is about page!" handler={saySomething} />} />
<Route path="/contact" element={<Contact greeting="Hey you, this is contact page!" />} />
<Route path="/detail/:id" element={<Detail handler={getDocument} />} />
<Route path="/gallery" element={<Home items={data} />} />
</Routes>
</StorageContext.Provider>
</div>