This commit is contained in:
huangjinming 2023-04-24 11:59:47 +08:00
parent ed6fc93778
commit 3d5bd32b3c
74 changed files with 68 additions and 19 deletions

View File

@ -17,6 +17,7 @@ body,
html { html {
padding: 0; padding: 0;
margin: 0; margin: 0;
line-height: 1.0;
font-family: "ui-sans-serif", "system-ui", "-apple-system", font-family: "ui-sans-serif", "system-ui", "-apple-system",
"BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica Neue", "Arial", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica Neue", "Arial",
"Noto Sans", "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Noto Sans", "sans-serif", "Apple Color Emoji", "Segoe UI Emoji",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 956 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 927 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 561 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 258 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 956 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 927 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

Before

Width:  |  Height:  |  Size: 561 B

After

Width:  |  Height:  |  Size: 561 B

View File

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 258 KiB

After

Width:  |  Height:  |  Size: 258 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -35,7 +35,7 @@
</div> </div>
</div> </div>
<div class="genesicard"> <div class="genesicard">
<div class="genesis-title pt-16"> <div class="genesis-title pt-24">
Genesis NFT <br /> Genesis NFT <br />
holder Only holder Only
</div> </div>
@ -56,24 +56,29 @@
<div class="ml-3 flex align-center">December 1 (st), 2022</div> <div class="ml-3 flex align-center">December 1 (st), 2022</div>
</div> </div>
<div class="december-number">2000 / 4000</div> <div class="december-number">2000 / 4000</div>
<div class="claim"> <div
:class="isbtn === true ? 'disabled-claim' : 'claim'"
@click="handClaimBadge"
>
<div class="claim-item">Claim your Airdorp</div> <div class="claim-item">Claim your Airdorp</div>
</div> </div>
</div> </div>
<div <div
class="card shadow-md rounded cards-container" class="card shadow-md rounded cards-container"
>
<div
class="text-xl font-bold card-title-right mb-4 p-3 text-black-color-300 cards-container"
>
EXPLORER
</div>
<div class="card-body cards-container flex pt-24"
:style="{ :style="{
transform: `translate3d(0, ${scrollOffset}, 0) ${cardStyle2.transform}`, transform: `translate3d(0, ${scrollOffset}, 0) ${cardStyle2.transform}`,
}" }"
@mouseenter="startTracking2" @mouseenter="startTracking2"
@mouseleave="stopTracking2" @mouseleave="stopTracking2"
>
<div
class="text-xl font-bold card-title-right mb-4 text-black-color-300 cards-container"
> >
EXPLORER
</div>
<div class="card-body cards-container flex pt-12">
<img src="../assets/img/badge/explorer BG.png" alt="" /> <img src="../assets/img/badge/explorer BG.png" alt="" />
</div> </div>
</div> </div>
@ -117,6 +122,7 @@ import ImageTextModal from "../components/global/ImageTextModal.vue";
const scrollOffset = ref("0%"); const scrollOffset = ref("0%");
const parallaxFactor = 0.135; // const parallaxFactor = 0.135; //
const visible = ref(false); const visible = ref(false);
const isbtn = ref(false);
const handlHero = () => { const handlHero = () => {
visible.value = true; visible.value = true;
@ -146,6 +152,9 @@ const {
stopTracking: stopTracking2, stopTracking: stopTracking2,
} = useMouseRotation(); } = useMouseRotation();
const handClaimBadge = () => {
isbtn.value = true;
};
onMounted(() => { onMounted(() => {
window.addEventListener("scroll", handleScroll); window.addEventListener("scroll", handleScroll);
}); });
@ -234,7 +243,7 @@ onBeforeUnmount(() => {
font-family: "Poppins"; font-family: "Poppins";
font-weight: 400; font-weight: 400;
} }
p{ p {
margin: 0; margin: 0;
} }
.btn-more { .btn-more {
@ -347,8 +356,8 @@ p{
margin-right: 194px; margin-right: 194px;
} }
.title-boder { .title-boder {
margin-top: 20px; margin-top: 25px;
margin-bottom: 21px; margin-bottom: 25px;
} }
.text-content { .text-content {
font-size: 14px; font-size: 14px;
@ -370,9 +379,49 @@ p{
font-family: Arial; font-family: Arial;
font-weight: 400; font-weight: 400;
color: #ffffff; color: #ffffff;
margin-bottom: 20px; margin-bottom: 30px;
// line-height: 60px; // line-height: 60px;
} }
.disabled-claim {
width: 300px;
height: 64px;
font-size: 18px;
font-family: Arial;
font-weight: 400;
color: #8b8b8b;
display: flex;
cursor: pointer;
border-radius: 12px;
align-items: center;
justify-content: center;
border: 1px solid #a6a6a6;
user-select: none;
cursor: not-allowed;
// background: #FFEA00;
.claim-item {
position: relative;
padding-right: 20px;
}
.claim-item::after {
content: "";
display: inline-block;
position: absolute;
top: 50%;
left: 100%; /* 将图标放在文字的右侧 */
transform: translateY(-50%); /* 垂直居中对齐 */
width: 10px; /* 设置图标宽度 */
height: 10px; /* 设置图标高度 */
background-image: url("../assets/img/badge/grey.png");
background-size: contain;
background-repeat: no-repeat;
margin-left: 0px; /* 与文字之间的间距 */
transition: margin-left 0.3s, background-image 0.3s; /* 添加过渡动画 */
}
}
.disabled-claim:hover .claim-item::after {
background-image: url("../assets/img/badge/grey.png");
margin-left: 10px; /* 在 hover 时向前移动 4px */
}
.claim { .claim {
width: 300px; width: 300px;
height: 64px; height: 64px;
@ -380,15 +429,17 @@ p{
font-family: Arial; font-family: Arial;
font-weight: 400; font-weight: 400;
color: #2f2b0b; color: #2f2b0b;
user-select: none;
display: flex; display: flex;
cursor: pointer; cursor: pointer;
border-radius: 12px; border-radius: 12px;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
background: #FFEA00; background: #ffea00;
// background-size: contain; // background-size: contain;
.claim-item { .claim-item {
position: relative; position: relative;
padding-right: 20px;
} }
.claim-item::after { .claim-item::after {
content: ""; content: "";
@ -402,15 +453,13 @@ p{
background-image: url("../assets/img/badge/triangle-black.png"); background-image: url("../assets/img/badge/triangle-black.png");
background-size: contain; background-size: contain;
background-repeat: no-repeat; background-repeat: no-repeat;
margin-left: 10px; /* 与文字之间的间距 */ margin-left: 0px; /* 与文字之间的间距 */
transition: margin-left 0.3s, background-image 0.3s; /* 添加过渡动画 */ transition: margin-left 0.3s, background-image 0.3s; /* 添加过渡动画 */
} }
}
}
.claim:hover .claim-item::after { .claim:hover .claim-item::after {
background-image: url("../assets/img/badge/triangle-black.png"); background-image: url("../assets/img/badge/triangle-black.png");
margin-left: 16px; /* 在 hover 时向前移动 4px */ margin-left: 10px; /* 在 hover 时向前移动 4px */
} }
.claim:hover { .claim:hover {
width: 300px; width: 300px;
@ -424,7 +473,6 @@ p{
align-items: center; align-items: center;
justify-content: center; justify-content: center;
background: #ffba00; background: #ffba00;
} }
@keyframes slide-up { @keyframes slide-up {
0% { 0% {