mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-16 06:16:53 +08:00
Feat: Add Top bar while routing different different pages (#2298)
This commit is contained in:
16
web/app/components/base/topbar/index.tsx
Normal file
16
web/app/components/base/topbar/index.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
'use client'
|
||||
|
||||
import { AppProgressBar as ProgressBar } from 'next-nprogress-bar'
|
||||
|
||||
const Topbar = () => {
|
||||
return (
|
||||
<>
|
||||
<ProgressBar
|
||||
height='2px'
|
||||
color="#1C64F2FF"
|
||||
options={{ showSpinner: false }}
|
||||
shallowRouting />
|
||||
</>)
|
||||
}
|
||||
|
||||
export default Topbar
|
||||
Reference in New Issue
Block a user