Skip to content

Commit

Permalink
fix: Remove notif on landing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarsen136 committed Sep 17, 2024
1 parent 2cf6a14 commit 8bd45cf
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 34 deletions.
25 changes: 0 additions & 25 deletions components/landing/DomainChangeNotificationBanner.vue

This file was deleted.

5 changes: 1 addition & 4 deletions components/landing/HeroBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@
</h1>

<div class="flex-shrink-0">
<LandingDomainChangeNotificationBanner
v-if="!isLatestProductionDomain"
/>
<LandingFarcasterBanner v-else />
<LandingFarcasterBanner />
</div>
</div>

Expand Down
4 changes: 1 addition & 3 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1170,9 +1170,7 @@
"hook": "Get in {0} and we will hook you up with free mints.",
"touch": "touch"
},
"connectFarcaster": "Connect with Koda on Farcaster",
"farcasterMintLive": "Mint is live!",
"becoming": "is becoming"
"connectFarcaster": "Connect with Koda on Farcaster"
},
"whyKoda": {
"title": "Why Koda?",
Expand Down
2 changes: 0 additions & 2 deletions utils/env.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
export const isLatestProductionDomain = window.location.hostname === 'koda.art'

export const isProduction = ['kodadot.xyz', 'koda.art'].includes(
window.location.hostname,
)
Expand Down

0 comments on commit 8bd45cf

Please sign in to comment.