Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 19 additions & 14 deletions demo/auth0-redirect-flow-example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions demo/auth0-redirect-flow-example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ function App() {
return (
<div className="container">
<h1 className="title">
<a target="_blank" href="https://web3auth.io/docs/guides/mpc" rel="noreferrer">
<a target="_blank" href="https://web3auth.io/docs/sdk/core-kit/mpc-core-kit" rel="noreferrer">
Web3Auth MPC Core Kit
</a> {" "}
Auth0 Redirect Flow Example
Expand All @@ -520,9 +520,10 @@ function App() {
</div>

<footer className="footer">
<a href="https://github.com/Web3Auth/web3auth-core-kit-examples/tree/main/tkey/tkey-mpc-beta-react-popup-example" target="_blank" rel="noopener noreferrer">
<a href="https://github.com/Web3Auth/mpc-core-kit/tree/master/demo/auth0-redirect-flow-example" target="_blank" rel="noopener noreferrer">
Source code
</a>
<a href="https://web3auth.io/community/c/help-core-kit/mpc-core-kit/33" target="_blank" rel="noopener noreferrer">Facing issue? Search/Post your issue on Community Forum!</a>
</footer>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion demo/redirect-flow-example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

81 changes: 77 additions & 4 deletions demo/redirect-flow-example/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,92 @@
font-size: 3rem;
text-align: center;
margin: 50px;
margin-bottom: 0;
}

.subtitle {
line-height: 1.15;
font-size: 1.5rem;
font-size: 2.5rem;
text-align: center;
margin: 10px;
margin: 20px;
}

.title a {
color: #0070f3;
text-decoration: none;
}

.title .first{
color: #0364ff;
}

.title .second{
color: #bb65ff;
}

.input {
width: 50%;
padding: 8px 12px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 4px;
outline: none;
}

.input:focus {
border-color: #0364ff;
}

.input:valid {
border-color: #0364ff; /* Green border for valid input */
}

.input:invalid {
border-color: #dc3545; /* Red border for invalid input */
}

.input-wrapper {
display: flex;
align-items: center;
}

.inputMock {
flex: 1;
padding: 8px 12px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 4px;
outline: none;
min-width: 300px;
}

.mockLoginBtn {
padding: 8px 12px;
font-size: 16px;
border: 1px solid #0364ff;
border-radius: 4px;
background-color: #ffffff;
color: #0364ff;
cursor: pointer;
margin-left: 10px;
}

.mockLoginBtn:hover {
background-color: #0364ff;
color: #ffffff;
}

.deleteSecurityQuestion{
border-color: #dc3545 !important;
color: #dc3545 !important;
}

.deleteSecurityQuestion:hover{
background-color: #dd4554 !important;
color: #ffffff !important;
border-color: #dc3545 !important;
}


.grid {
display: flex;
align-items: center;
Expand All @@ -56,7 +128,8 @@
.card:focus,
.card:active {
cursor: pointer;
background-color: #f1f1f1;
background-color: #0070f3;
color: #ffffff;
}

.footer {
Expand Down
Loading