File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export default function WalletLayout({
88 children : React . ReactNode ;
99} ) {
1010 return appConfig . demo ? (
11- < div className = "w-full flex-1" > { children } </ div >
11+ < > { children } </ >
1212 ) : (
1313 < main className = "flex-1 flex flex-col justify-center items-center bg-dalle bg-no-repeat bg-fixed bg-cover" >
1414 { children }
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export default function ConnectWalletForm() {
1111 const { submitForm, connectionError } = useConnectWalletContext ( ) ;
1212
1313 return (
14- < div className = "w-full md:max-w-[780px] p-6 flex flex-col gap-9 bg-darker md:bg-darker md:border border-tertiary md:rounded" >
14+ < div className = "flex-1 lg:my-8 w-full md:max-w-[780px] p-6 flex flex-col gap-9 bg-darker md:bg-darker md:border border-tertiary md:rounded" >
1515 < SelectWallet />
1616 < ContactDetails />
1717 < AcceptTnC />
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import DashboardTitle from "../../components/dashboard/DashboardTitle";
1515import FormError from "../../components/FormError" ;
1616import { CheckoutSteps , useSinkingContext } from "@/context/SinkingContext" ;
1717import { useSearchParams } from "next/navigation" ;
18+ import appConfig from "@/config" ;
1819
1920export default function SinkingForm ( ) {
2021 const { setSinkRequest, setStep } = useSinkingContext ( ) ;
@@ -61,7 +62,11 @@ export default function SinkingForm() {
6162
6263 return (
6364 < div className = "flex flex-col mt-8 md:mt-12" >
64- { /* <DashboardTitle>Sink CARBON</DashboardTitle> */ }
65+ { appConfig . demo && (
66+ < div className = "self-center text-2xl md:text-2xl font-semibold mb-6" >
67+ Sink CARBON
68+ </ div >
69+ ) }
6570 < form className = "flex flex-col gap-12 md:gap-20 mt-0" >
6671 < div className = "mx-4 md:mx-8 flex flex-col gap-12 min-w-[80%]" >
6772 < Suspense >
You can’t perform that action at this time.
0 commit comments