Only render analytics in non-dev. Also revert game css for now.

This commit is contained in:
Bradley Shellnut 2022-10-29 17:18:17 -05:00
parent d2762b3e38
commit 226c9454c7
2 changed files with 8 additions and 6 deletions

View file

@ -83,10 +83,8 @@
}
.game-container {
display: grid;
grid-template-rows: repeat(3, minmax(50px, 200px));
place-items: center;
max-width: 100px;
display: flex;
flex-wrap: wrap;
@media (max-width: 650px) {
max-width: none;

View file

@ -45,10 +45,14 @@
const dev = process.env.NODE_ENV !== 'production';
</script>
{#if !dev}
<Analytics />
{/if}
{#if dev}
<Toy register={{ boredState, collectionStore, gameStore, toast }} />
{/if}
<Transition transition={{ type: 'fade', duration: 250 }}>
<div class="wrapper">
<Header />