Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
871
Issues
871
List
Boards
Labels
Service Desk
Milestones
Merge Requests
43
Merge Requests
43
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
6dd1e28d
Commit
6dd1e28d
authored
14 minutes ago
by
Emiliano Balbuena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(chore): Add buy tokens form back; redirect to /token
parent
f9d49c6c
1 merge request
!591
Marketing pages layout
Pipeline
#89045602
failed with stages
in 8 minutes and 47 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
src/app/modules/upgrades/buy-tokens.component.html
src/app/modules/upgrades/buy-tokens.component.html
+8
-3
src/app/modules/upgrades/buy-tokens.component.ts
src/app/modules/upgrades/buy-tokens.component.ts
+7
-0
No files found.
src/app/modules/upgrades/buy-tokens.component.html
View file @
6dd1e28d
...
...
@@ -17,8 +17,8 @@
</p>
</div>
<div
class=
"m-upgradesBuyTokens__form"
*ngIf=
"false"
>
<div
class=
"upgradesBuyTokens__amount"
>
<div
class=
"m-upgradesBuyTokens__form"
>
<div
class=
"upgradesBuyTokens__amount"
style=
"visibility: hidden;"
>
<label
for=
"m-upgradesBuyTokens__amountInput"
>
$
</label>
<input
type=
"number"
...
...
@@ -32,7 +32,12 @@
</div>
<div
class=
"upgradesBuyTokens__action"
>
<button
class=
"mf-button"
>
Buy Tokens
</button>
<button
class=
"mf-button"
(click)=
"navigateToTokensPage(); $event.preventDefault()"
>
Buy Tokens
</button>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/upgrades/buy-tokens.component.ts
View file @
6dd1e28d
import
{
ChangeDetectionStrategy
,
Component
}
from
'
@angular/core
'
;
import
{
Router
}
from
'
@angular/router
'
;
@
Component
({
selector
:
'
m-upgrades__buyTokens
'
,
...
...
@@ -7,4 +8,10 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
})
export
class
BuyTokensComponent
{
readonly
cdnAssetsUrl
:
string
=
window
.
Minds
.
cdn_assets_url
;
constructor
(
protected
router
:
Router
)
{}
navigateToTokensPage
()
{
this
.
router
.
navigate
([
'
/token
'
]);
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment