Skip to content

Commit 4e9ce10

Browse files
committed
RHD-763 Added registration confirmation page
1 parent 2ddbe00 commit 4e9ce10

4 files changed

Lines changed: 80 additions & 1 deletion

File tree

confirmation.html.slim

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
layout: base
3+
title: Thank you for registering!
4+
---
5+
6+
#registration-confirmation
7+
.row
8+
.large-24.columns
9+
h2.divider Thanks for Registering!
10+
11+
.row(data-equalizer)
12+
.large-24.columns
13+
h4.caps Try something new
14+
p Get easily started with Red Hat technology
15+
.medium-8.small-24.columns
16+
.spotlight(data-equalizer-watch)
17+
h5 Software Collections
18+
small
19+
i.fa.fa-clock-o 10 minutes
20+
p Get started with Red Hat's latest recommended versions of Python, PHP, Ruby, Node.js, MariaDB, PostgreSQL, Nginx and much more. You'll learn how to install and configure your development environment and get productive all in ten minutes.
21+
a.button(href='#{site.base_url}/products/softwarecollections/get-started') Get Started
22+
.medium-8.small-24.columns
23+
.spotlight(data-equalizer-watch)
24+
h5 Red Hat Mobile Application Platform
25+
small
26+
i.fa.fa-clock-o 17 minutes
27+
p Learn how to create and prototype new mobile apps. Learn how-to create, discover and re-use across multiple app projects to speed app dev while maintaining control. Get started with Red Hat Mobile Application Platform.
28+
a.button(href='#{site.base_url}/products/mobileplatform/get-started') Get Started
29+
.medium-8.small-24.columns
30+
.spotlight(data-equalizer-watch)
31+
h5 Red Hat JBoss Enterprise Application Platform
32+
small
33+
i.fa.fa-clock-o 15 minutes
34+
p Follow along the tutorial to learn Java EE fundamentals and more including: JPA, JAX-RS, HTML5 and jQuery Mobile to get you started on using Java EE6 and JBoss Enterprise Application Platform.
35+
a.button(href='#{site.base_url}/products/eap/get-started') Get Started
36+
.row
37+
.large-24.columns
38+
h4.home-title.caps I'm interested in…
39+
ul.medium-block-grid-3.small-block-grid-1
40+
li: a.button.button--solution(href="#{site.base_url}/containers/") Containers
41+
li: a.button.button--solution(href="#{site.base_url}/devops/") DevOps
42+
li: a.button.button--solution(href="#{site.base_url}/mobile/") Mobile
43+
li: a.button.button--solution(href="#{site.base_url}/web-and-api-development/") Web Development + APIs
44+
li: a.button.button--solution(href="#{site.base_url}/enterprise-java/") Enterprise Java

javascripts/sso.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ app.sso = function () {
2727
});
2828
$('li.register a, a.keycloak-url').on('click',function(e){
2929
e.preventDefault();
30-
keycloak.login({ action : 'register' });
30+
keycloak.login({ action : 'register', redirectUri : 'http://developers.redhat.com/confirmation' });
3131
});
3232
}
3333
}

stylesheets/_confirmation.scss

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#registration-confirmation {
2+
margin-top: emCalc(50px);
3+
.divider {
4+
border-bottom: 1px solid $grey-7;
5+
margin-bottom: 25px;
6+
padding-bottom: 20px;
7+
}
8+
.spotlight {
9+
background-color: $grey-1;
10+
min-height: 310px;
11+
padding: emCalc(20px);
12+
position: relative;
13+
small i {
14+
margin-bottom: 15px;
15+
}
16+
a.button {
17+
width: 90%;
18+
position: absolute;
19+
bottom: 0;
20+
}
21+
}
22+
.home-title {
23+
margin-top: emCalc(50px);
24+
}
25+
@include tablet-portrait-and-down {
26+
.spotlight {
27+
margin-top: emCalc(20px);
28+
a.button {
29+
position: relative;
30+
width: 100%;
31+
}
32+
}
33+
}
34+
}

stylesheets/app.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ $include-html-global-classes: false; // fix for our version of ruby - https://gi
8787
@import "javaone";
8888
@import "distributed-javaee-architecture";
8989
@import "devoxx-be";
90+
@import "confirmation";
9091

9192
.clearfix:after {visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } * html .clearfix { zoom: 1; } /* IE6 */ *:first-child+html .clearfix { zoom: 1; } /* IE7 */
9293

0 commit comments

Comments
 (0)