forked from crowetic/commerce
fix cookie consent on mobile
This commit is contained in:
parent
dc6919e1da
commit
1dfff92072
@ -61,9 +61,9 @@ const Layout: FC<Props> = ({ children, pageProps }) => {
|
|||||||
{ 'shadow-magical': hasScrolled }
|
{ 'shadow-magical': hasScrolled }
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div className="px-4">
|
<Container>
|
||||||
<Navbar />
|
<Navbar />
|
||||||
</div>
|
</Container>
|
||||||
</header>
|
</header>
|
||||||
<main className="fit">{children}</main>
|
<main className="fit">{children}</main>
|
||||||
<Footer pages={pageProps.pages} />
|
<Footer pages={pageProps.pages} />
|
||||||
@ -77,8 +77,7 @@ const Layout: FC<Props> = ({ children, pageProps }) => {
|
|||||||
{modalView === 'FORGOT_VIEW' && <ForgotPassword />}
|
{modalView === 'FORGOT_VIEW' && <ForgotPassword />}
|
||||||
</Modal>
|
</Modal>
|
||||||
<Featurebar
|
<Featurebar
|
||||||
title="This site uses cookies to improve your experience."
|
title="This site uses cookies to improve your experience. By clicking, you agree to our Privacy Policy."
|
||||||
description="By clicking, you agree to our Privacy Policy."
|
|
||||||
hide={acceptedCookies}
|
hide={acceptedCookies}
|
||||||
action={
|
action={
|
||||||
<Button className="mx-5" onClick={() => setAcceptedCookies(true)}>
|
<Button className="mx-5" onClick={() => setAcceptedCookies(true)}>
|
||||||
|
@ -5435,11 +5435,6 @@ lodash.templatesettings@^4.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
lodash._reinterpolate "^3.0.0"
|
lodash._reinterpolate "^3.0.0"
|
||||||
|
|
||||||
lodash.throttle@^4.1.1:
|
|
||||||
version "4.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz#c23e91b710242ac70c37f1e1cda9274cc39bf2f4"
|
|
||||||
integrity sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ=
|
|
||||||
|
|
||||||
lodash.toarray@^4.4.0:
|
lodash.toarray@^4.4.0:
|
||||||
version "4.4.0"
|
version "4.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/lodash.toarray/-/lodash.toarray-4.4.0.tgz#24c4bfcd6b2fba38bfd0594db1179d8e9b656561"
|
resolved "https://registry.yarnpkg.com/lodash.toarray/-/lodash.toarray-4.4.0.tgz#24c4bfcd6b2fba38bfd0594db1179d8e9b656561"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user