Skip to content

Commit

Permalink
brought back navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen-Gordon committed Mar 31, 2024
1 parent 547dda0 commit 57b8c12
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/components/BottomNav/BottomNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const BottomNavbar = () => {
return (
<>
{showNav && (
<nav className='fixed bottom-0 z-40 flex w-full justify-between overflow-hidden bg-transparent bg-opacity-0 bg-gradient-to-br from-slate-50/10 p-4 px-8 pb-8 pt-4 backdrop-blur-xl transition-all duration-500 '>
<nav className='sticky bottom-0 z-40 flex w-full justify-between h-auto bg-transparent bg-opacity-0 bg-gradient-to-br from-slate-50/10 p-4 px-8 pb-8 pt-4 backdrop-blur-xl transition-all duration-500 '>
{/* <Link href='/home'>
<Home
className='stroke-muted-foreground'
Expand Down
2 changes: 2 additions & 0 deletions src/app/home/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ export default function Page() {
PullToRefresh.init({
mainElement: '#card',
triggerElement: '#card',
instructionsReleaseToRefresh : ' ',

onRefresh() {
window.location.reload();
},
Expand Down
6 changes: 3 additions & 3 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default function RootLayout({
/>
</head>

<body id='main' className='overflow-y-scroll'>
<body id='main' className='overflow-hidden'>
<ThemeProvider
attribute='class'
defaultTheme='dark'
Expand Down Expand Up @@ -181,12 +181,12 @@ export default function RootLayout({
<WagmiProvider config={config!}>
<QueryClientProvider client={queryClient}>
<LayoutGroup>
<div vaul-drawer-wrapper='' className='min-h-[100vh] overflow-y-scroll relative'>
<div vaul-drawer-wrapper='' className='h-[100vh] overflow-y-scroll relative'>
{auth}
{drawer}

{children}
{/* <BottomNavbar /> */}
<BottomNavbar />
</div>
</LayoutGroup>
</QueryClientProvider>
Expand Down

0 comments on commit 57b8c12

Please sign in to comment.