File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed
Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -722,7 +722,8 @@ const en = {
722722 samlOidc : "SAML & OpenID Connect" ,
723723 samlOidcInfo : "We use these open standards as they are used in most countries and many sectors." ,
724724 attributes : "Attributes and claims" ,
725- attributesInfo : "Learn more about use these open standards as they are used in most countries and many sectors."
725+ attributesInfo : "Learn more about use these open standards as they are used in most countries and many sectors." ,
726+ connect : "Connect your application now"
726727 } ,
727728 forms : {
728729 cancel : "Cancel" ,
Original file line number Diff line number Diff line change @@ -3,9 +3,13 @@ import "./Connect.scss";
33import React from "react" ;
44import I18n from "../locale/I18n.js" ;
55import StudentPng from "../icons/student.png" ;
6+ import { Button , ButtonType , Tooltip } from "@surfnet/sds" ;
7+ import { useNavigate } from "react-router-dom" ;
68
79const Connect = ( ) => {
810
11+ const navigate = useNavigate ( ) ;
12+
913 return (
1014 < div className = "connect-container" >
1115 < div className = "connect-header-container" >
@@ -83,6 +87,11 @@ const Connect = () => {
8387 < p > { I18n . t ( "connect.attributesInfo" ) } </ p >
8488 </ div >
8589 </ div >
90+ < div className = "button-container" >
91+ < Button type = { ButtonType . Primary }
92+ onClick = { ( ) => navigate ( "/login-info" ) }
93+ txt = { I18n . t ( "connect.connect" ) } />
94+ </ div >
8695 </ div >
8796 </ div >
8897 ) ;
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ div.connect-container {
4949 .table-container {
5050 padding : 8px 15px 20px 15px ;
5151 background-color : var (--sds--color--gray--100 );
52+ border-radius : 8px ;
5253
5354 p .sup-info {
5455 font-size : 14px ;
@@ -96,5 +97,10 @@ div.connect-container {
9697 }
9798
9899 }
100+ .button-container {
101+ max-width : $width ;
102+ margin : 40px auto 0 auto ;
103+
104+ }
99105
100106}
You can’t perform that action at this time.
0 commit comments