diff --git a/app/controllers/signup/eth-account.js b/app/controllers/signup/eth-account.js
index d1a8bcf..1a29880 100644
--- a/app/controllers/signup/eth-account.js
+++ b/app/controllers/signup/eth-account.js
@@ -28,13 +28,10 @@ export default Controller.extend({
fetch(config.githubSignupUrl, {
method: 'POST',
- headers: {
- 'Content-Type': 'application/json'
- },
+ headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(payload)
- }).then(response => {
- return response.json();
})
+ .then(res => res.json())
.then(data => {
console.log('Created contributor:', data);
@@ -43,7 +40,7 @@ export default Controller.extend({
ethAddress: null
});
- // TODO show success message or transition to success page
+ this.transitionToRoute('signup.complete');
});
}
diff --git a/app/router.js b/app/router.js
index 61cc122..e2c6349 100644
--- a/app/router.js
+++ b/app/router.js
@@ -29,6 +29,7 @@ Router.map(function() {
this.route('signup', function() {
this.route('github');
this.route('eth-account');
+ this.route('complete');
});
});
diff --git a/app/routes/signup/complete.js b/app/routes/signup/complete.js
new file mode 100644
index 0000000..6c74252
--- /dev/null
+++ b/app/routes/signup/complete.js
@@ -0,0 +1,4 @@
+import Route from '@ember/routing/route';
+
+export default Route.extend({
+});
diff --git a/app/styles/_layout.scss b/app/styles/_layout.scss
index 66729a6..bd95fe8 100644
--- a/app/styles/_layout.scss
+++ b/app/styles/_layout.scss
@@ -31,6 +31,10 @@ main {
section {
.content {
+ a {
+ font-size: inherit;
+ }
+
&.text-lg {
p {
font-size: 1.2rem;
@@ -39,6 +43,10 @@ main {
}
}
+ &.text-center {
+ text-align: center;
+ }
+
p {
&.mg-bottom-md {
margin-bottom: 2rem;
diff --git a/app/styles/app.scss b/app/styles/app.scss
index ce49075..8396a20 100644
--- a/app/styles/app.scss
+++ b/app/styles/app.scss
@@ -38,6 +38,10 @@ h1, h2, h3, h4, h5, input, button {
font-weight: 300;
}
+a {
+ color: $primary-color;
+}
+
section {
h2 {
font-size: 1.4rem;
diff --git a/app/templates/signup.hbs b/app/templates/signup.hbs
index f6d10f9..2e18661 100644
--- a/app/templates/signup.hbs
+++ b/app/templates/signup.hbs
@@ -1,13 +1,5 @@
Create your contributor profile
- Welcome aboard!
+
+ Congratulations. Your initial profile is now complete. +
++ Why not say hi to your fellow contributors + in one of our chat rooms?. +
++ {{#link-to "dashboard" class="button small"}}Return to dashboard{{/link-to}} +
+- Kredits allow you to take part in project governance, and to earn rewards for - your contributions. For both, you will need an Ethereum wallet/account. -
- -