Skip to content

Commit

Permalink
test redirects (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
sstraatemans authored Oct 23, 2024
2 parents 69acedb + acb5007 commit c48a65f
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 5 deletions.
14 changes: 9 additions & 5 deletions spirekey-web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="STYLESHEET" href="style.css" type="text/css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="icon" href="favicon.svg" type="image/svg+xml">
<link rel="icon" href="favicon.svg" type="image/svg+xml" />

<link
href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,[email protected]&family=Kode+Mono:[email protected]&display=swap"
Expand All @@ -16,8 +16,8 @@
</head>
<body>
<main class="card">
<img src="./logo.svg" width="250" alt="Kadena SpireKey" class="logo" />
<section class="stack column">
<img src="./logo.svg" width="250" alt="Kadena SpireKey" class="logo" />
<section class="stack column">
<p class="main-text">
Kadena SpireKey leverages WebAuthn standards to deliver a secure
backend, enabling end users to generate and store keypairs directly on
Expand All @@ -43,7 +43,7 @@ <h3>Developer Resources</h3>
<div class="section">
<a
class="link code"
href="https://github.com/kadena-io/KIPs/pull/52/files"
href="https://github.com/kadena-io/KIPs/blob/master/kip-0023.md"
target="_blank"
>KIP-0023</a
>
Expand Down Expand Up @@ -78,7 +78,11 @@ <h3>Demo Applications</h3>
<div class="section">
<div class="tile">
<h4>
<a href="https://chainweaver.kadena.io" class="link" target="_blank">
<a
href="https://chainweaver.kadena.io"
class="link"
target="_blank"
>
Chainweaver V3 Alpha
</a>
</h4>
Expand Down
44 changes: 44 additions & 0 deletions spirekey-web/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"redirects": [
{
"source": "/welcome",
"destination": "https://chainweaver.kadena.io/welcome",
"permanent": true
},
{
"source": "/recover",
"destination": "https://chainweaver.kadena.io/recover",
"permanent": true
},
{
"source": "/register",
"destination": "https://chainweaver.kadena.io/register",
"permanent": true
},
{
"source": "/settings",
"destination": "https://chainweaver.kadena.io/settings",
"permanent": true
},
{
"source": "/accounts/:raccount",
"destination": "https://chainweaver.kadena.io/accounts/:raccount",
"permanent": false
},
{
"source": "/accounts/:raccount/devices/:cid",
"destination": "https://chainweaver.kadena.io/accounts/:raccount/devices/:cid",
"permanent": false
},
{
"source": "/embedded/sidebar",
"destination": "https://chainweaver.kadena.io/embedded/sidebar",
"permanent": false
},
{
"source": "/embedded/notification",
"destination": "https://chainweaver.kadena.io/embedded/notification",
"permanent": false
}
]
}

0 comments on commit c48a65f

Please sign in to comment.