Skip to content

Commit 08b9a11

Browse files
author
James Chien
committed
feat: change checkout args
Signed-off-by: James Chien <james@numbersprotocol.io>
1 parent 958f3e8 commit 08b9a11

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

scripts/deploy-staging.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
# Variables
44
DISTRIBUTION_ID="E1GEDS049Y53CA"
5-
INVALIDATION_PATH="/staging/capture-eye.bundled.js"
5+
INVALIDATION_PATH="/staging/capture-eye-popl.bundled.js"
66
FILE_PATH="dist/capture-eye.bundled.js"
77
S3_BUCKET="numbers-static"
8-
S3_KEY="staging/capture-eye.bundled.js"
8+
S3_KEY="staging/capture-eye-popl.bundled.js"
99

1010
# Upload the file to S3
1111
aws s3 cp $FILE_PATH s3://$S3_BUCKET/$S3_KEY

src/constant.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const Constant: ConstantType = {
6666
ipfsGateway: 'https://ipfs-pin.numbersprotocol.io/ipfs',
6767
explorer: 'https://mainnet.num.network',
6868
profile: 'https://asset.captureapp.xyz',
69-
showcase: 'https://dashboard.captureapp.xyz/showcase',
69+
showcase: 'https://timecapsule.lollipoppool.org/showcase',
7070
collect: 'https://captureappiframe.numbersprotocol.io/checkout',
7171
fontFaceCssUrl: `${numbersCdnUrl}/fonts/degular.css`,
7272
blankThumbnail: 'https://via.placeholder.com/100',

src/modal/modal.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ export class CaptureEyeModal extends LitElement {
416416
const actionButtonLink = this._actionButtonLink
417417
? this._actionButtonLink
418418
: this._asset?.hasNftProduct
419-
? `${Constant.url.collect}?nid=${this.nid}&from=capture-eye`
419+
? `${Constant.url.collect}?nid=${this.nid}&from=lpop`
420420
: this.isOriginal()
421421
? `${Constant.url.profile}/${this.nid}`
422422
: this._asset?.usedBy ?? '';
@@ -555,7 +555,7 @@ export class CaptureEyeModal extends LitElement {
555555
this.style.setProperty('--primary-color', this._color);
556556

557557
// Set hover color
558-
this.style.setProperty('--hover-color', ''); // Clear the color
558+
this.style.setProperty('--hover-color', ''); // Clear the color
559559
if (!this._color) {
560560
return;
561561
}
@@ -580,7 +580,9 @@ export class CaptureEyeModal extends LitElement {
580580
const r = fadeColor(1);
581581
const g = fadeColor(3);
582582
const b = fadeColor(5);
583-
hoverColor = `#${((1 << 24) + (r << 16) + (g << 8) + b).toString(16).slice(1)}`;
583+
hoverColor = `#${((1 << 24) + (r << 16) + (g << 8) + b)
584+
.toString(16)
585+
.slice(1)}`;
584586
this.style.setProperty('--hover-color', hoverColor);
585587
}
586588

0 commit comments

Comments
 (0)