-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
22,598 additions
and
20,803 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,9 @@ jobs: | |
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.66.6 | ||
- uses: taiga-family/ci/actions/setup/variables@v1.66.6 | ||
- uses: taiga-family/ci/actions/setup/node@v1.66.6 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.67.0 | ||
- uses: taiga-family/ci/actions/setup/variables@v1.67.0 | ||
- uses: taiga-family/ci/actions/setup/node@v1.67.0 | ||
- run: npx nx build-gh-pages taiga-lumbermill | ||
- uses: JamesIves/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...mill/src/dashboards/crypto/components/minter/minter-created/minter-created.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<tui-avatar | ||
size="xl" | ||
class="logo" | ||
[src]="token.urlIcon" | ||
/> | ||
<h3 | ||
tuiTitle | ||
class="info" | ||
> | ||
{{ token.amount }} (${{ token.symbol }}) have been sent to your wallet | ||
</h3> | ||
<button | ||
tuiButton | ||
(click)="createNew()" | ||
> | ||
Create new Token | ||
</button> |
57 changes: 57 additions & 0 deletions
57
...mill/src/dashboards/crypto/components/minter/minter-created/minter-created.component.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
.logo { | ||
background-color: #7c48c3; | ||
background-image: linear-gradient(45deg, #c86dd7 0%, #3023ae 100%); | ||
overflow: visible; | ||
margin-left: auto; | ||
margin-right: auto; | ||
animation: spinLogo 5s infinite; | ||
} | ||
|
||
@keyframes spinLogo { | ||
0% { | ||
transform: rotateY(0); | ||
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3); | ||
} | ||
|
||
12% { | ||
transform: rotateY(90deg) rotateZ(6deg) scale(1.7); | ||
box-shadow: 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.3); | ||
} | ||
|
||
25% { | ||
transform: rotateY(180deg); | ||
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3); | ||
} | ||
|
||
50% { | ||
transform: rotateY(180deg); | ||
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3); | ||
} | ||
|
||
62% { | ||
transform: rotateY(270deg) rotateZ(-8deg) scale(1.7); | ||
box-shadow: 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.3); | ||
} | ||
|
||
80% { | ||
transform: rotateY(720deg); | ||
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3); | ||
} | ||
|
||
100% { | ||
transform: rotateY(720deg); | ||
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3); | ||
} | ||
} | ||
|
||
:host { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1rem; | ||
} | ||
|
||
.info { | ||
margin-left: auto; | ||
margin-right: auto; | ||
text-align: center; | ||
} |
37 changes: 37 additions & 0 deletions
37
...ermill/src/dashboards/crypto/components/minter/minter-created/minter-created.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import {CommonModule} from '@angular/common'; | ||
import { | ||
ChangeDetectionStrategy, | ||
Component, | ||
EventEmitter, | ||
Input, | ||
Output, | ||
} from '@angular/core'; | ||
import {TuiButton, TuiTitle} from '@taiga-ui/core'; | ||
import {TuiAvatar} from '@taiga-ui/kit'; | ||
|
||
import type {Token} from '../minter.component'; | ||
|
||
@Component({ | ||
standalone: true, | ||
selector: 'lmb-minter-created', | ||
imports: [CommonModule, TuiAvatar, TuiButton, TuiTitle], | ||
templateUrl: './minter-created.component.html', | ||
styleUrl: './minter-created.component.less', | ||
changeDetection: ChangeDetectionStrategy.OnPush, | ||
}) | ||
export class MinterCreatedComponent { | ||
@Input() | ||
public token: Token = { | ||
urlIcon: '', | ||
token: '', | ||
amount: 0, | ||
symbol: '', | ||
}; | ||
|
||
@Output() | ||
public readonly tokenChange = new EventEmitter<null>(); | ||
|
||
protected createNew(): void { | ||
this.tokenChange.emit(null); | ||
} | ||
} |
109 changes: 109 additions & 0 deletions
109
...ermill/src/dashboards/crypto/components/minter/minter-deploy/minter-deploy.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
@let token = form.controls.name.value; | ||
@let symbol = form.controls.symbol.value; | ||
@let icon = form.controls.urlIcon.value; | ||
@let description = form.controls.description.value; | ||
<form | ||
[formGroup]="form" | ||
(submit)="onSubmit()" | ||
> | ||
<div class="info block-input"> | ||
<div tuiCell="l"> | ||
<tui-avatar | ||
size="xl" | ||
[src]="!openDialog && icon !== '' ? icon : '@tui.pencil'" | ||
(click)="showDialog()" | ||
/> | ||
<div tuiTitle> | ||
{{ token == '' ? 'Jetton Name' : token }} ({{ symbol == '' ? 'Symbol' : symbol }}) | ||
<div tuiSubtitle>{{ description == '' ? 'Description' : description }}</div> | ||
</div> | ||
</div> | ||
</div> | ||
<tui-input | ||
formControlName="name" | ||
tuiHintContent="Your project name with spaces" | ||
> | ||
Jetton Name | ||
<input tuiTextfieldLegacy /> | ||
</tui-input> | ||
|
||
<tui-error | ||
formControlName="name" | ||
class="block-input" | ||
[error]="[] | tuiFieldError | async" | ||
/> | ||
|
||
<tui-input | ||
formControlName="symbol" | ||
tuiHintContent="Currency symbol appearing in balance (usually 3-5 uppercase chars)" | ||
> | ||
Jetton Symbol | ||
<input tuiTextfieldLegacy /> | ||
</tui-input> | ||
<tui-error | ||
formControlName="symbol" | ||
class="block-input" | ||
[error]="[] | tuiFieldError | async" | ||
/> | ||
|
||
<tui-input-number | ||
formControlName="amount" | ||
tuiHintContent="Number of initial tokens to mint and send to your waller address" | ||
> | ||
Number of tokens | ||
<input tuiTextfieldLegacy /> | ||
</tui-input-number> | ||
<tui-error | ||
formControlName="amount" | ||
class="block-input" | ||
[error]="[] | tuiFieldError | async" | ||
/> | ||
|
||
<tui-input | ||
formControlName="description" | ||
tuiHintContent="Optional sentence explaining about yor project" | ||
> | ||
Description | ||
<input tuiTextfieldLegacy /> | ||
</tui-input> | ||
<tui-error | ||
formControlName="description" | ||
class="block-input" | ||
[error]="[] | tuiFieldError | async" | ||
/> | ||
|
||
<button | ||
tuiButton | ||
type="submit" | ||
> | ||
Deploy | ||
</button> | ||
<ng-template | ||
let-observer | ||
[tuiDialogOptions]="{label: 'Edit logo', size: 's', closeable: false, dismissible: false}" | ||
[(tuiDialog)]="openDialog" | ||
> | ||
<p>URL of 256x256 pixel PNG image of token logo</p> | ||
<tui-input | ||
formControlName="urlIcon" | ||
tuiAutoFocus | ||
> | ||
Logo token | ||
</tui-input> | ||
<tui-error | ||
formControlName="urlIcon" | ||
class="block-input" | ||
[error]="[] | tuiFieldError | async" | ||
[style.text-align]="'center'" | ||
/> | ||
|
||
<p> | ||
<button | ||
tuiButton | ||
(click)="icon !== '' ? observer.complete() : ''" | ||
> | ||
Submit | ||
</button> | ||
</p> | ||
</ng-template> | ||
</form> |
Oops, something went wrong.