Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:snapshot-labs/snapshot into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
samuveth committed Apr 11, 2023
2 parents add66bf + a7b1039 commit 27529cc
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/components/TheNavbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,22 @@
const { pendingCount } = useTxStatus();
const { env, showSidebar, domain } = useApp();
const { web3Account } = useWeb3();
const showDemoBanner = ref(true);
</script>

<template>
<div
v-if="env === 'demo'"
class="bg-primary p-3 text-center"
v-if="env === 'demo' && showDemoBanner"
class="relative bg-primary p-3 text-center"
style="color: white; font-size: 20px"
>
{{ $t('demoSite') }}
<BaseButtonIcon
class="absolute right-3 top-[10px]"
@click="showDemoBanner = false"
>
<i-ho-x />
</BaseButtonIcon>
</div>
<div>
<BaseContainer class="pl-0 pr-3 sm:!px-4">
Expand Down

0 comments on commit 27529cc

Please sign in to comment.