Skip to content

Commit

Permalink
Remove banner on production version of web app
Browse files Browse the repository at this point in the history
  • Loading branch information
glass-ships committed Mar 25, 2024
1 parent 5a1fa8a commit 05eda3b
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,24 @@
</template>

<template v-else>
<TheBanner>
<TheBanner v-if="apiName !== 'prod'">
This web app is the
<strong v-if="apiName === 'beta'">BETA VERSION</strong
><strong v-if="apiName === 'dev'">DEV VERSION</strong> successor to the
<AppLink to="https://previous.monarchinitiative.org/"
>old web app here</AppLink
>. Not all features are implemented yet. Please use the feedback form
<AppIcon icon="comment" /> &nbsp;on any page to tell us what you think!
<strong v-if="apiName === 'local'">LOCAL VERSION</strong>
<strong v-if="apiName === 'beta'">BETA VERSION</strong>
<strong v-if="apiName === 'dev'">DEV VERSION</strong>
of the
<AppLink to="https://monarchinitiative.org">
Monarch Web App
</AppLink>.
Not all features are implemented yet. Please use the feedback form
<AppIcon icon="comment" />
&nbsp;on any page to tell us what you think!
</TheBanner>
<!-- <TheBanner v-else>
This banner can be used to make announcements on the production version of the web app.
Uncomment this section and replace this text with your announcement as needed.
Disabling the banner is as simple as commenting out this section.
</TheBanner> -->

<TheHeader />
<main>
Expand Down

0 comments on commit 05eda3b

Please sign in to comment.