barely functional

This commit is contained in:
ingawei 2022-09-28 20:56:59 -07:00
parent 7f7e7acd61
commit c9ca2fe4d6
2 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,7 @@ import { ReactNode } from 'react'
import { BottomNavBar } from './nav/bottom-nav-bar' import { BottomNavBar } from './nav/bottom-nav-bar'
import Sidebar from './nav/sidebar' import Sidebar from './nav/sidebar'
import { Toaster } from 'react-hot-toast' import { Toaster } from 'react-hot-toast'
import { ScrollToTopButton } from './scroll-to-top-button'
export function Page(props: { export function Page(props: {
rightSidebar?: ReactNode rightSidebar?: ReactNode
@ -53,6 +54,7 @@ export function Page(props: {
</div> </div>
</aside> </aside>
</div> </div>
<ScrollToTopButton className="inset-left-[90%] inset-right-0 fixed bottom-8" />
<BottomNavBar /> <BottomNavBar />
</> </>
) )

View File

@ -210,7 +210,6 @@ export function ContractPageContent(
{showConfetti && ( {showConfetti && (
<FullscreenConfetti recycle={false} numberOfPieces={300} /> <FullscreenConfetti recycle={false} numberOfPieces={300} />
)} )}
{ogCardProps && ( {ogCardProps && (
<SEO <SEO
title={question} title={question}
@ -219,7 +218,6 @@ export function ContractPageContent(
ogCardProps={ogCardProps} ogCardProps={ogCardProps}
/> />
)} )}
<Col className="w-full justify-between rounded border-0 border-gray-100 bg-white py-6 pl-1 pr-2 sm:px-2 md:px-6 md:py-8"> <Col className="w-full justify-between rounded border-0 border-gray-100 bg-white py-6 pl-1 pr-2 sm:px-2 md:px-6 md:py-8">
{backToHome && ( {backToHome && (
<button <button