mirror of
https://github.com/uetchy/namae.git
synced 2025-03-17 12:30:32 +09:00
chore: remove footer in standalone mode
This commit is contained in:
parent
bbbee91ebc
commit
1822fb29ae
@ -28,7 +28,7 @@ export default function App() {
|
|||||||
<Redirect to="/" />
|
<Redirect to="/" />
|
||||||
</Route>
|
</Route>
|
||||||
</Switch>
|
</Switch>
|
||||||
<Footer />
|
{!isStandalone() && <Footer />}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -63,7 +63,9 @@ function Home() {
|
|||||||
<Header>
|
<Header>
|
||||||
<Form />
|
<Form />
|
||||||
</Header>
|
</Header>
|
||||||
<Content>{!isStandalone() && <Welcome />}</Content>
|
<Content>
|
||||||
|
<Welcome />
|
||||||
|
</Content>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user