Hide menu while going through player setup

This commit is contained in:
Alec LaLonde
2021-09-18 21:49:13 -06:00
committed by Alec LaLonde
parent 67f4c1993f
commit f12ee0c7cb
10 changed files with 11 additions and 11 deletions

View File

@@ -56,8 +56,8 @@ const App: React.FC<WithUrqlProps> = ({
</Head>
<Web3ContextProvider resetUrqlClient={resetUrqlClient}>
<>
<MegaMenu />
<PlayerStatsBar />
{!pageProps.hideTopMenu && <MegaMenu />}
{!pageProps.hideTopMenu && <PlayerStatsBar />}
<Component {...pageProps} />
</>
</Web3ContextProvider>

View File

@@ -7,7 +7,7 @@ import React, { useState } from 'react';
export const getStaticProps = async () => ({
props: {
hideAppDrawer: true,
hideTopMenu: true,
},
});

View File

@@ -6,7 +6,7 @@ import React from 'react';
export const getStaticProps = async () => ({
props: {
hideAppDrawer: true,
hideTopMenu: true,
},
});

View File

@@ -9,7 +9,7 @@ import React, { useState } from 'react';
export const getStaticProps = async () => ({
props: {
hideAppDrawer: true,
hideTopMenu: true,
},
});

View File

@@ -16,7 +16,7 @@ export const getStaticProps = async () => {
props: {
personalityParts,
personalityTypes,
hideAppDrawer: true,
hideTopMenu: true,
},
};
};

View File

@@ -13,7 +13,7 @@ export const getStaticProps = async () => {
return {
props: {
playerTypeChoices,
hideAppDrawer: true,
hideTopMenu: true,
},
};
};

View File

@@ -14,7 +14,7 @@ export const getStaticProps = async () => {
return {
props: {
skillChoices,
hideAppDrawer: true,
hideTopMenu: true,
},
};
};

View File

@@ -7,7 +7,7 @@ import React, { useState } from 'react';
export const getStaticProps = async () => ({
props: {
hideAppDrawer: true,
hideTopMenu: true,
},
});

View File

@@ -7,7 +7,7 @@ import React, { useState } from 'react';
export const getStaticProps = async () => ({
props: {
hideAppDrawer: true,
hideTopMenu: true,
},
});

View File

@@ -4,7 +4,7 @@ import React from 'react';
export const getStaticProps = async () => ({
props: {
hideAppDrawer: true,
hideTopMenu: true,
},
});