Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove "every Thursday" from Drops #11183

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 3 additions & 20 deletions components/drops/Drops.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,10 @@
<div>
<div class="flex max-md:flex-col md:items-center justify-between mb-7 md:gap-8">
<h1 class="text-4xl font-semibold text-balance">
<span class="block lg:inline mb-0 md:mr-3">{{ $i18n.t('drops.title') }},</span>
<span class="inverse-text">{{ $i18n.t('drops.everyThursday') }}</span>
<span>{{ $i18n.t('drops.title') }}</span>
</h1>

<div class="max-md:pt-8 flex items-center flex-col md:flex-row gap-6 max-md:gap-4 md:justify-between flex-grow">
<NeoButton
icon-left="plus"
rounded
variant="outlined-rounded"
@click="isCreateEventModalActive = true"
>
{{ $t('drops.addToCal') }}
</NeoButton>

<div class="max-md:pt-8 flex items-center flex-col md:flex-row gap-6 max-md:gap-4 md:justify-end flex-grow">
<nuxt-link
class="flex-shrink-0"
to="https://form.kodadot.xyz/drop-interest"
Expand Down Expand Up @@ -60,25 +50,18 @@
:drop="drop"
/>
</DynamicGrid>

<DropsCreateCalendarEventModal
v-model="isCreateEventModalActive"
:title="$t('drops.kodadotWeeklyGenerativeDrop')"
/>
</template>
</div>
</template>

<script lang="ts" setup>
import { NeoButton, NeoIcon } from '@kodadot1/brick'
import { NeoIcon } from '@kodadot1/brick'
import { useQuery } from '@tanstack/vue-query'
import { getDrops } from '@/services/fxart'

const { $i18n } = useNuxtApp()
const { urlPrefix } = usePrefix()

const isCreateEventModalActive = ref(false)

const { data: dropItems } = useQuery({
queryKey: ['drop-items', urlPrefix.value],
queryFn: () => getDrops({
Expand Down
3 changes: 0 additions & 3 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@
"documentation": "Documentation",
"dropUpload": "Drop your file here or click to select.",
"drops": {
"addToCal": "Add To Calendar",
"agreeToProceed": "Agree to proceed",
"amountMintedSuccessfully": "{0} NFTs minted successfully",
"artBy": "{0} By",
Expand All @@ -327,7 +326,6 @@
"emailConfirmationSent": "Email confirmation sent",
"emailNotConfirmed": "Email not confirmed. Please confirm your email address and check again",
"enterValidEmail": "Enter valid email address",
"everyThursday": "Every Thursday",
"exploreDrop": "Explore Algorithm",
"failedCheckingSubscription": "Failed checking subscription",
"failedEmailConfirmation": "Failed sending email confirmation",
Expand All @@ -338,7 +336,6 @@
"holderOfCollection": "Holder of NFT from {name} collection",
"iveConfirmed": "I've confirmed",
"justConfirmSubscriptionViaEmail": "Just confirm your subscription via email",
"kodadotWeeklyGenerativeDrop": "Koda weekly generative drop",
"latestMints": "Latest NFT Mints",
"listNft": "List NFT",
"mintDrop": "Mint Drop",
Expand Down
Loading