Skip to content

Commit 2d18440

Browse files
committed
Update jwt examples
1 parent 13bc7b7 commit 2d18440

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+638
-30558
lines changed

web-no-modal-sdk/blockchain-interaction/aptos-no-modal-example/src/App.css

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,4 +206,79 @@ input::placeholder {
206206
overflow: auto;
207207
word-wrap: break-word;
208208
font-family: monospace;
209+
font-size: 14px; /* Use whole px */
210+
padding: 16px;
211+
margin: 24px 0;
212+
background-color: #0a0a0a; /* Near-black background */
213+
color: #e0e0e0; /* Light grey text */
214+
border-radius: 0; /* Sharp corners */
215+
border: none; /* No border */
216+
}
217+
218+
/* Footer */
219+
.footer {
220+
width: 100%;
221+
padding: 32px 0;
222+
border-top: 1px solid var(--border-color);
223+
display: flex;
224+
justify-content: center;
225+
align-items: center;
226+
gap: 24px;
227+
margin-top: 48px;
228+
flex-wrap: wrap;
229+
}
230+
231+
.footer a {
232+
color: var(--text-muted);
233+
text-decoration: none;
234+
font-size: 14px;
235+
transition: color 0.2s ease;
236+
}
237+
238+
.footer a:hover {
239+
color: var(--primary-color);
240+
}
241+
242+
.error {
243+
color: red;
244+
}
245+
246+
.loading {
247+
color: var(--primary-color);
248+
}
249+
250+
/* Responsive */
251+
@media (min-width: 640px) {
252+
.container {
253+
max-width: 640px;
254+
}
255+
256+
.title {
257+
font-size: 32px;
258+
}
259+
260+
form {
261+
flex-direction: row;
262+
align-items: flex-start;
263+
}
264+
265+
form button {
266+
margin-top: 0;
267+
}
268+
}
269+
270+
@media (min-width: 768px) {
271+
.container {
272+
max-width: 768px;
273+
}
274+
275+
.title {
276+
font-size: 36px;
277+
}
278+
}
279+
280+
@media (min-width: 1024px) {
281+
.container {
282+
max-width: 1024px;
283+
}
209284
}

web-no-modal-sdk/custom-authentication/single-connection/jwt-login/google-one-tap-no-modal-example/src/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ function App() {
2424
id_token: idToken,
2525
extraLoginOptions: {
2626
isUserIdCaseSensitive: false,
27+
userIdField: "email",
2728
},
2829
});
2930
};

web-no-modal-sdk/custom-authentication/single-connection/jwt-login/nextauth-no-modal-example/.eslintrc.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

web-no-modal-sdk/custom-authentication/single-connection/jwt-login/nextauth-no-modal-example/.gitignore

Lines changed: 0 additions & 36 deletions
This file was deleted.

web-no-modal-sdk/custom-authentication/single-connection/jwt-login/nextauth-no-modal-example/README.md

Lines changed: 0 additions & 45 deletions
This file was deleted.

web-no-modal-sdk/custom-authentication/single-connection/jwt-login/nextauth-no-modal-example/actions/index.ts

Lines changed: 0 additions & 20 deletions
This file was deleted.

web-no-modal-sdk/custom-authentication/single-connection/jwt-login/nextauth-no-modal-example/app/api/auth/[...nextauth]/route.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

web-no-modal-sdk/custom-authentication/single-connection/jwt-login/nextauth-no-modal-example/app/globals.css

Lines changed: 0 additions & 33 deletions
This file was deleted.

web-no-modal-sdk/custom-authentication/single-connection/jwt-login/nextauth-no-modal-example/app/layout.tsx

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)