Skip to content

Commit

Permalink
Merge branch 'main' of github.com:kodadot/nft-gallery into cf-upgrade…
Browse files Browse the repository at this point in the history
…-pnpm
  • Loading branch information
preschian committed Jul 3, 2024
2 parents 5307b8c + 068acc5 commit 9a9ba7b
Show file tree
Hide file tree
Showing 201 changed files with 12,545 additions and 13,775 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ SUBSQUID_ENDPOINT=""
RAMP_API_KEY=""
TRANSAK_API_KEY=""
TRANSAK_ENV="" #STAGING|PRODUCTION
WALLET_CONNECT_PROJECT_ID=""
2 changes: 1 addition & 1 deletion .github/diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: 'Close stale issues'
on:
schedule:
# run at 12:00 every day
- cron: '0 0 * * SAT'


permissions:
issues: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# start from the oldest issues when performing stale operations
ascending: true
days-before-issue-stale: 720
days-before-issue-close: 120

stale-issue-label: stale
exempt-issue-labels: chief
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
activity in last 720 days. It will be closed in 120 days if no further activity occurs. Please @kodadot/internal
feel free to leave a comment if you believe the issue is still relevant.
Thank you for your contributions!
close-issue-message: >
This issue has been automatically closed because it has not had any further
activity in the last 120 days. Thank you for your contributions!
42 changes: 0 additions & 42 deletions assets/styles/pages/create.scss

This file was deleted.

24 changes: 24 additions & 0 deletions components/BackablePage.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<template>
<div class="max-md:gap-6 grid grid-cols-1 md:grid-cols-3">
<NeoButton
variant="outlined-rounded"
icon-left="arrow-left"
@click="$router.back()">
{{ $t('goBack') }}
</NeoButton>

<div>
<h1 class="text-3xl font-bold">{{ title }}</h1>

<hr class="!my-8" />

<slot />
</div>
<div />
</div>
</template>
<script lang="ts" setup>
import { NeoButton } from '@kodadot1/brick'
defineProps<{ title: string }>()
</script>
33 changes: 33 additions & 0 deletions components/CreateLanding.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<template>
<BackablePage :title="$t('createPlaceholder.welcome')">
<div class="flex flex-col gap-4">
<p class="capitalize">{{ $t('createPlaceholder.ourFocus') }}</p>

<div class="flex">
<p class="capitalize">
{{ $t('createPlaceholder.intersted') }}
<a
href="https://form.kodadot.xyz/drop-interest"
class="text-k-blue hover:text-k-blue-hover"
target="_blank"
rel="nofollow noopener noreferrer">
{{ $t('createPlaceholder.fillOut') }}
</a>
{{ $t('createPlaceholder.learnMore') }}
</p>
</div>

<p class="capitalize">
{{ $t('createPlaceholder.codeStructure') }}

<a
href="https://hello.kodadot.xyz/generative/generative-art"
class="text-k-blue hover:text-k-blue-hover"
target="_blank"
rel="nofollow noopener noreferrer">
{{ $t('documentation') }}
</a>
</p>
</div>
</BackablePage>
</template>
10 changes: 0 additions & 10 deletions components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,6 @@
data-testid="learn">
{{ $t('learn') }}
</a>
<CreateDropdown
v-show="isCreateVisible"
class="navbar-create custom-navbar-item ml-0"
data-testid="create"
:chain="urlPrefix"
@select="showMobileNavbar" />

<MobileExpandableSection
v-slot="{ onCloseMobileSubMenu }"
Expand Down Expand Up @@ -205,7 +199,6 @@ import { NeoButton, NeoIcon } from '@kodadot1/brick'
import { nextTick } from 'vue'
import { ConnectWalletModalConfig } from '@/components/common/ConnectWallet/useConnectWallet'
import ChainSelectDropdown from '@/components/navbar/ChainSelectDropdown.vue'
import CreateDropdown from '@/components/navbar/CreateDropdown.vue'
import MobileExpandableSection from '@/components/navbar/MobileExpandableSection.vue'
import MobileLanguageOption from '@/components/navbar/MobileLanguageOption.vue'
import NavbarChainOptions from '@/components/navbar/NavbarChainOptions.vue'
Expand All @@ -215,7 +208,6 @@ import ConnectWalletButton from '@/components/shared/ConnectWalletButton.vue'
import { useIdentityStore } from '@/stores/identity'
import { getChainNameByPrefix } from '@/utils/chain'
import { createVisible } from '@/utils/config/permission.config'
import ShoppingCartButton from './navbar/ShoppingCartButton.vue'
const { neoModal } = useProgrammatic()
Expand All @@ -233,8 +225,6 @@ const mobilSearchRef = ref<{ focusInput: () => void } | null>(null)
const account = computed(() => identityStore.getAuthAddress)
const isCreateVisible = computed(() => createVisible(urlPrefix.value))
const logoSrc = computed(() => {
const variant = isTouch ? 'Koda' : 'Koda_Beta'
const color = isDarkMode.value ? '_dark' : ''
Expand Down
5 changes: 5 additions & 0 deletions components/TheFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,11 @@ const menuKodadot: Menu[] = [
url: '/terms-of-use',
external: false,
},
{
name: $i18n.t('footer.create'),
url: '/create',
external: false,
},
]
const socials = [
Expand Down
82 changes: 0 additions & 82 deletions components/base/BaseCollectionForm.vue

This file was deleted.

Loading

0 comments on commit 9a9ba7b

Please sign in to comment.