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

(beta): 83% of January 2025 Ice Apple 🧊🍏 #11380

Merged
merged 158 commits into from
Jan 26, 2025
Merged
Changes from 1 commit
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
a299af4
add(offers): use unsued offered nft tokens
hassnian Dec 2, 2024
5143869
ref(offers): unsued offer tokens check by `id` and `currentOwner`
hassnian Dec 2, 2024
54f4951
Merge branch 'main' into issue-offer-reuse-nft
hassnian Dec 2, 2024
98715f6
ref(offers): `execMakingOffer` transaction action param type
hassnian Dec 2, 2024
78a6d60
Merge branch 'issue-offer-reuse-nft' of https://github.com/hassnian/n…
hassnian Dec 2, 2024
c3996ea
fix(offers): action params in modal
hassnian Dec 2, 2024
b4787bb
feat: edit collectio n permission
Jarsen136 Dec 5, 2024
443280e
fix: token input
Jarsen136 Dec 5, 2024
bc09014
fix: edit collection
Jarsen136 Dec 6, 2024
6f61081
Merge branch 'main' into issue-11148
Jarsen136 Dec 7, 2024
3273b99
Merge branch 'main' into issue-offer-reuse-nft
hassnian Dec 8, 2024
7f953cf
feat: collection edit holderOf
Jarsen136 Dec 10, 2024
3d1e9db
Merge branch 'main' into issue-offer-reuse-nft
hassnian Dec 11, 2024
ecd38e1
Merge branch 'main' into issue-11148
hassnian Dec 11, 2024
a513708
fix: collection type edit
Jarsen136 Dec 11, 2024
5fd39a3
fix: dark mode
Jarsen136 Dec 11, 2024
7a30321
Merge branch 'issue-11148' of github.com:Jarsen136/nft-gallery into i…
Jarsen136 Dec 11, 2024
5004f93
Merge branch 'main' into issue-11148
Jarsen136 Dec 16, 2024
e812186
Merge branch 'main' into issue-offer-reuse-nft
hassnian Dec 19, 2024
ee9d345
Merge branch 'main' into issue-offer-reuse-nft
hassnian Dec 20, 2024
8a7bdb4
refactor: update EventRowTablet component styles to Tailwind CSS
preschian Dec 24, 2024
650a2b3
refactor: update UnlockableCollectionBanner styles to Tailwind CSS
preschian Dec 24, 2024
2b23a28
refactor: update UnlockableCollectionInfo styles to Tailwind CSS
preschian Dec 24, 2024
e9a5027
refactor: update CreateLanding component styles to Tailwind CSS
preschian Dec 24, 2024
4314cc4
refactor: update CreateNftPreview component styles to Tailwind CSS
preschian Dec 26, 2024
e47a051
fix: useAsyncData already mounted
preschian Dec 26, 2024
b86eed5
Merge branch 'main' into issue-offer-reuse-nft
hassnian Dec 28, 2024
17f2533
fix(transaction/utils.ts): `isActionValid` accept swap action validation
hassnian Dec 29, 2024
936a127
fix(MakeOfferModal.vue): freeze action on modal signing
hassnian Dec 29, 2024
6c2c6ce
ref(MakeOfferModal.vue): remove default offer expiration duration mag…
hassnian Dec 29, 2024
c8157cf
fix(transactionOffer.ts): dont allow offers with `0` price
hassnian Dec 29, 2024
ee457d8
ref(transactionOffer.ts): use `isAssetHub` util
hassnian Dec 29, 2024
73c896d
fix(transactionExecutor.ts): ts warning
hassnian Dec 29, 2024
9ca79ac
Merge branch 'main' into issue-offer-reuse-nft
hassnian Dec 29, 2024
daca799
Upgrade ParaSpell to v8
dudo50 Dec 31, 2024
afcc79f
One more missed thing
dudo50 Dec 31, 2024
243632c
Add required changes
dudo50 Dec 31, 2024
e8c8701
Merge branch 'main' into main
dudo50 Dec 31, 2024
8346d44
Merge branch 'main' into main
vikiival Dec 31, 2024
529975e
fix: collection permission edit
Jarsen136 Dec 31, 2024
0935655
fix: ids too large
preschian Jan 1, 2025
f7aa5e5
fix: add todo for using generateId() in transactionOffer
preschian Jan 1, 2025
3f58f61
refactor: export getLastIndexUsedOnChain function and update dyndata …
preschian Jan 1, 2025
b1d1af8
fix: search input
Jarsen136 Jan 1, 2025
774907c
chore: price copy
Jarsen136 Jan 1, 2025
194f864
chore: edit type
Jarsen136 Jan 1, 2025
9de8a8d
chore: CollectionMintSettingType type
Jarsen136 Jan 1, 2025
b13bf11
test: add e2e test for gallery item trade offer and update component …
preschian Jan 2, 2025
fad39ce
test: rename e2e test for offer modal interaction
preschian Jan 2, 2025
962b797
refactor: replace generateIdAssethub with generateId in transactionOf…
preschian Jan 2, 2025
2b85cb6
Merge branch 'main' into main
vikiival Jan 2, 2025
c663b01
Merge branch 'main' into issue-offer-reuse-nft
hassnian Jan 2, 2025
6ae9628
Merge branch 'main' into fix--ids-too-large
preschian Jan 2, 2025
14c89fe
refactor: getCollectionMintSettings utils
Jarsen136 Jan 2, 2025
05ed2bb
fix(useTrades.ts): empty table with valid swaps
hassnian Jan 4, 2025
3382e01
Merge branch 'main' into issue-offer-reuse-nft
hassnian Jan 4, 2025
2eebb52
Delete TokenImportButton.vue
dudo50 Jan 4, 2025
145f062
Merge branch 'main' into main
dudo50 Jan 4, 2025
ff9cbea
Merge pull request #11311 from dudo50/main
vikiival Jan 4, 2025
2017623
Merge pull request #11297 from kodadot/refactor--remove-some-abstract…
vikiival Jan 4, 2025
ce1521e
feat: rarity of attribute on mass mint
Jarsen136 Jan 5, 2025
384663a
refactor: remove `/rmrk` with Pagination
Jarsen136 Jan 5, 2025
8c5813f
refactor: remove `/rmrk`
Jarsen136 Jan 5, 2025
9d73bf9
refactor: remove `/rmrk` types
Jarsen136 Jan 5, 2025
9e80e12
Merge pull request #11333 from hassnian/issue-11325
vikiival Jan 6, 2025
d68eb90
Merge pull request #11336 from Jarsen136/issue-3299
vikiival Jan 6, 2025
dedfeb5
🔧 massmint missing names & numbers
roiLeo Jan 6, 2025
9b4d148
Merge branch 'main' into issue-11151-1
vikiival Jan 7, 2025
2b63e09
refactor: remove `@/components/bsx`
Jarsen136 Jan 7, 2025
ed158ce
🔧 wicked join hack
roiLeo Jan 7, 2025
e704f0d
fix: Missing header content of table
Jarsen136 Jan 7, 2025
bb949a4
🔧 new map hack
roiLeo Jan 7, 2025
2fa678e
Merge pull request #11344 from Jarsen136/issue-11343
vikiival Jan 7, 2025
a1a9749
Merge pull request #11335 from Jarsen136/issue-11151-1
vikiival Jan 7, 2025
1073e8a
Merge pull request #11340 from roiLeo/fix/massmint/missingNamesNumbers
vikiival Jan 7, 2025
facfc9d
Merge branch 'main' into issue-offer-reuse-nft
vikiival Jan 8, 2025
b589f34
Merge pull request #11204 from hassnian/issue-offer-reuse-nft
vikiival Jan 8, 2025
306d2ce
Merge pull request #11339 from Jarsen136/issue-3299-1
vikiival Jan 8, 2025
3705956
fix: Not recognising links in collection description
Jarsen136 Jan 8, 2025
2cfefc1
refactor: simplify styles in ChooseCollectionDropdown component
preschian Jan 9, 2025
28c8986
refactor: clean up styles in WalletAssetMenu component
preschian Jan 9, 2025
5176056
refactor: update styles in WalletAssetNfts component to use CSS varia…
preschian Jan 9, 2025
f1d55cf
refactor: remove unused SCSS variable import from AutoTeleportModal c…
preschian Jan 9, 2025
b0507bd
refactor: update ShoppingCartModal styles for improved responsiveness
preschian Jan 9, 2025
0286ef5
refactor: remove unused SCSS styles from MintConfirmModal component
preschian Jan 9, 2025
83edc85
refactor: update media query in BasicDropCard component for improved …
preschian Jan 9, 2025
79f2db9
refactor: remove unused SCSS variable imports and update styles to us…
preschian Jan 9, 2025
57c3ed3
style(explore): replace mixins with media queries and CSS variables
preschian Jan 9, 2025
338c5ed
style(gallery): replace Sass mixins and imports with CSS variables an…
preschian Jan 9, 2025
3a81ad9
style(identity): replace theme mixins with CSS variables in popover s…
preschian Jan 9, 2025
c37670f
style(itemsGrid): replace theme mixin with CSS variables
preschian Jan 9, 2025
cab86e0
style(components): replace SCSS mixins with CSS variables for theme c…
preschian Jan 9, 2025
89f7c83
style(profile): replace mixins with media queries for responsiveness
preschian Jan 9, 2025
d6ef931
style(css): replace SCSS theme mixins with CSS variables for consistency
preschian Jan 9, 2025
6f3bf5d
style(filters): remove SCSS imports and adjust styles for consistency
preschian Jan 9, 2025
12806ab
style(shared): replace SCSS mixins with CSS variables for theme colors
preschian Jan 9, 2025
d361025
style(header): update media query for widescreen layout
preschian Jan 9, 2025
8bc64a5
style(galleryCard): update background and backdrop-filter for improve…
preschian Jan 9, 2025
e68e906
Merge pull request #11349 from Jarsen136/issue-11348
vikiival Jan 9, 2025
6f48009
Merge branch 'main' into refactor--remove-abstracts/variables-part-2
hassnian Jan 10, 2025
3b0a555
Merge branch 'main' into issue-11148
hassnian Jan 10, 2025
750268e
add(swap/GridList.vue): limit amount of atomic swaps per swap to one
hassnian Jan 12, 2025
5c8bffb
refactor: use tailwind variants
preschian Jan 13, 2025
801c723
style(gallery): update styles for alignment and background color cons…
preschian Jan 13, 2025
4dd7d2f
style(profileDetail): fix mobile layout styles and border properties …
preschian Jan 13, 2025
45934a8
fix(Canvas.vue): event type not being validated before accesing payload
hassnian Jan 13, 2025
8f89c91
add(codeChecker): support for `loadTable` function
hassnian Jan 14, 2025
acae5ab
🔧 footer presskit
roiLeo Jan 14, 2025
7135d49
Merge pull request #11357 from roiLeo/fix/footer/presskit
vikiival Jan 14, 2025
46a3539
Merge branch 'main' into refactor--remove-abstracts/variables-part-2
vikiival Jan 14, 2025
4942569
Merge pull request #11352 from hassnian/issue-11351
vikiival Jan 14, 2025
1c771bf
feat: Enable Rarity Calculation Based on Attributes
Jarsen136 Jan 14, 2025
4ab1af8
Merge branch 'main' into refactor--remove-abstracts/variables-part-2
vikiival Jan 15, 2025
cc004fa
Merge branch 'main' into issue-code-checker-load-table
hassnian Jan 15, 2025
d2ba448
ref(codeChecker): allow any loadTable params `utils/processing.ts` an…
hassnian Jan 15, 2025
4e3b00b
ref(processing.ts): use own cors proxy worker
hassnian Jan 15, 2025
c973376
Merge branch 'issue-code-checker-load-table' of https://github.com/ha…
hassnian Jan 15, 2025
b7b11e3
fix(codeChecker): check for `http`
hassnian Jan 16, 2025
71356ea
ref(services/cors-proxy.ts): rename `getProxiedUrl` to `getCorsProxie…
hassnian Jan 16, 2025
879bbb2
fix: Add video preview
Jarsen136 Jan 16, 2025
82c65c4
fix: Video NFTs not showing on mobile
Jarsen136 Jan 16, 2025
884f9a0
refactor: useQuery
Jarsen136 Jan 17, 2025
792217b
Merge branch 'main' into issue-11152
Jarsen136 Jan 17, 2025
4dd8fae
ref(min/nft): remove large success message
hassnian Jan 18, 2025
658676b
[skip ci] updated code diagram
kkukelka Jan 19, 2025
20b6a76
add(ProfileDetail.vue): collection sorting same style as with other tabs
hassnian Jan 20, 2025
d67727a
refactor: add spacing var
preschian Jan 20, 2025
3011e36
style(variables, filters): remove frosted glass variables and update …
preschian Jan 20, 2025
b73948d
Merge branch 'refactor--remove-abstracts/variables-part-2' of github.…
preschian Jan 20, 2025
c2c0714
Merge branch 'main' into fix--ids-too-large
preschian Jan 20, 2025
43dc9eb
Merge pull request #11315 from kodadot/fix--ids-too-large
preschian Jan 20, 2025
5d9cf5c
Merge pull request #11362 from Jarsen136/issue-11360
Jarsen136 Jan 20, 2025
12d8047
add(composables/useTrades.ts): `isExpired` based on current blocknumber
hassnian Jan 21, 2025
5665f0b
ref(CreateNft.vue): change nft mint redirect message
hassnian Jan 21, 2025
926ad12
Merge branch 'main' into issue-11364
hassnian Jan 21, 2025
f2b09a5
fix: Move Download button
Jarsen136 Jan 21, 2025
13abf9d
chore: style
Jarsen136 Jan 21, 2025
0001d9b
Merge branch 'main' into issue-11148
Jarsen136 Jan 21, 2025
b067827
fix: safari macos ipfs
Jarsen136 Jan 22, 2025
407fc42
Merge branch 'main' into issue-11361
Jarsen136 Jan 22, 2025
aca42ed
fix: test
Jarsen136 Jan 22, 2025
8084797
Update tests/e2e/galleryitem.spec.ts
Jarsen136 Jan 22, 2025
27ec390
Update components/gallery/useGalleryItem.ts
vikiival Jan 22, 2025
582ad56
Merge pull request #11363 from Jarsen136/issue-11361
vikiival Jan 23, 2025
0492623
Merge pull request #11372 from Jarsen136/issue-11371
vikiival Jan 23, 2025
1436f51
Merge pull request #11367 from hassnian/issue-11321
vikiival Jan 23, 2025
6478eb6
Merge pull request #11365 from hassnian/issue-11364
vikiival Jan 23, 2025
8ae33a8
Merge pull request #11350 from kodadot/refactor--remove-abstracts/var…
vikiival Jan 23, 2025
1078be6
Merge pull request #11273 from kodadot/action
vikiival Jan 23, 2025
b565981
Merge pull request #11358 from Jarsen136/issue-11152
vikiival Jan 23, 2025
47d8d28
Merge pull request #11356 from hassnian/issue-code-checker-load-table
hassnian Jan 23, 2025
afa5f80
ref(useCurrentBlock.ts): Subscribe to blocks with `subscribeNewHeads`
hassnian Jan 23, 2025
335596f
🔧 profile creation remove avatar popover
roiLeo Jan 23, 2025
e38fb8a
Merge branch 'main' into issue-expired-status-delay
vikiival Jan 23, 2025
09f5a05
Merge pull request #11370 from hassnian/issue-expired-status-delay
vikiival Jan 23, 2025
b975580
Merge branch 'main' into fix/profile-creation/Avatar
roiLeo Jan 23, 2025
8c56c63
Merge pull request #11217 from Jarsen136/issue-11148
Jarsen136 Jan 23, 2025
764db7d
Merge pull request #11376 from roiLeo/fix/profile-creation/Avatar
Jarsen136 Jan 24, 2025
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
Prev Previous commit
Next Next commit
refactor: update CreateLanding component styles to Tailwind CSS
- Replaced SCSS classes with Tailwind CSS utility classes for improved consistency and maintainability.
- Enhanced layout properties for better responsiveness, including adjustments to flex direction and spacing.
- Removed unused SCSS styles, streamlining the codebase and enhancing overall performance.
- Improved accessibility with updated class names and text handling.

These changes aim to simplify the styling approach and enhance the user experience of the CreateLanding component.
  • Loading branch information
preschian committed Dec 24, 2024
commit e9a50276a28634d8542221c6cd05ff8a95ed9b65
123 changes: 17 additions & 106 deletions components/create/CreateLanding.vue
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
<template>
<div class="container flex items-center justify-center flex-col">
<div class="h-[calc(100vh-5.25rem)] m-0 max-w-full flex items-center justify-center flex-col bg-k-primary-light max-lg:h-screen max-sm:px-8">
<div>
<h1 class="title text-[2.5rem] mb-7">
<h1 class="text-[2.5rem] mb-7 max-sm:text-2xl font-bold">
{{ $t('mint.landing.heading') }}
</h1>

<div
v-if="route.query?.select !== 'nft'"
class="pack"
class="flex gap-6"
>
<div
class="pack-box"
class="cursor-pointer px-8 py-16 bg-background-color border border-card-border-color text-text-color hover:border-text-color hover:text-text-color max-sm:p-8"
@click="gotoPathAfterLogin('/create/collection')"
>
<div class="pack-content">
<div class="text-center w-56 max-sm:flex max-sm:gap-8 max-sm:text-left max-sm:w-full">
<NeoIcon
icon="image-polaroid"
custom-size="fa-3x"
/>
<div class="pack-content-text">
<div class="mt-8 max-sm:mt-0">
<p class="text-2xl font-bold">
Collection
</p>
Expand All @@ -27,16 +27,16 @@
</div>
</div>
<button
class="pack-box"
class="cursor-pointer px-8 py-16 bg-background-color border border-card-border-color text-text-color hover:border-text-color hover:text-text-color max-sm:p-8"
data-testid="create-landing-nft-button"
@click="router.push({ query: { select: 'nft' } })"
>
<div class="pack-content">
<div class="text-center w-56 max-sm:flex max-sm:gap-8 max-sm:text-left max-sm:w-full">
<NeoIcon
icon="gem"
custom-size="fa-3x"
/>
<div class="pack-content-text">
<div class="mt-8 max-sm:mt-0">
<p class="text-2xl font-bold">
NFT
</p>
Expand All @@ -48,19 +48,19 @@

<div
v-else
class="pack"
class="flex gap-6 max-sm:flex-col"
>
<div
class="pack-box"
class="cursor-pointer px-8 py-16 bg-background-color border border-card-border-color text-text-color hover:border-text-color hover:text-text-color max-sm:p-8"
data-testid="create-landing-single-nft-button"
@click="gotoPathAfterLogin('/create/nft')"
>
<div class="pack-content">
<div class="text-center w-56 max-sm:flex max-sm:gap-8 max-sm:text-left max-sm:w-full">
<NeoIcon
icon="image"
custom-size="fa-3x"
/>
<div class="pack-content-text">
<div class="mt-8 max-sm:mt-0">
<p class="text-2xl font-bold">
{{ $t('mint.landing.singleNft') }}
</p>
Expand All @@ -69,16 +69,16 @@
</div>
</div>
<div
class="pack-box"
class="cursor-pointer px-8 py-16 bg-background-color border border-card-border-color text-text-color hover:border-text-color hover:text-text-color max-sm:p-8"
data-testid="create-landing-multiple-nft-button"
@click="gotoPathAfterLogin(`/${urlPrefix}/massmint`)"
>
<div class="pack-content">
<div class="text-center w-56 max-sm:flex max-sm:gap-8 max-sm:text-left max-sm:w-full">
<NeoIcon
icon="photo-film"
custom-size="fa-3x"
/>
<div class="pack-content-text">
<div class="mt-8 max-sm:mt-0">
<p class="text-2xl font-bold">
{{ $t('mint.landing.massNft') }}
</p>
Expand All @@ -93,106 +93,17 @@

<script setup lang="ts">
import { NeoIcon } from '@kodadot1/brick'
import type { RawLocation } from 'vue-router/types/router'

const { doAfterLogin } = useDoAfterlogin()
const { urlPrefix } = usePrefix()
const route = useRoute()
const router = useRouter()

const gotoPathAfterLogin = (path: RawLocation) => {
const gotoPathAfterLogin = (path) => {
doAfterLogin({
onLoginSuccess: () => {
navigateTo({ path, query: { collectionId: route.query.collectionId } })
},
})
}
</script>

<style scoped lang="scss">
@import '@/assets/styles/abstracts/variables';

.container {
height: calc(100vh - 5.25rem); // 5.25rem = header height
margin: 0;
max-width: 100% !important;

@include ktheme() {
background-color: theme('k-primaryLight');
}

@include touch() {
height: 100vh;
}

@include mobile() {
padding: 0 2rem;

.title {
font-size: 2rem !important;
}
}
}

.pack {
display: flex;
gap: 1.5rem;

&-box {
@apply cursor-pointer text-[unset] px-8 py-16;

@include ktheme() {
background-color: theme('background-color');
border: 1px solid theme('card-border-color');
color: theme('text-color');

&:hover {
color: theme('text-color');
border-color: theme('text-color');
}
}
}

&-content {
@apply text-center w-56;

&-text {
margin-top: 2rem;
}
}

&-box-waifu {
width: 17rem;

.time-limit {
@include ktheme() {
border: 1px solid theme('k-grey');
background-color: theme('background-color');
}
}
}

&-content-waifu {
&-text {
margin-top: 2rem;
}
}

@include mobile() {
flex-direction: column;
width: 100%;

&-box {
padding: 2rem;
}

&-content {
@apply flex gap-8 text-left w-full;

&-text {
margin-top: 0;
}
}
}
}
</style>