Skip to content

Commit

Permalink
add redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksandre committed Jul 23, 2024
1 parent 0250f58 commit db93478
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
Binary file removed .DS_Store
Binary file not shown.
19 changes: 19 additions & 0 deletions docs/.vuepress/components/Redirect.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<template>
</template>


<script>
/** Redirects to the given 'to' url, which is relative to the current location. */
export default {
name: 'Redirect',
props: {
to: {
type: String,
required: true
}
},
beforeMount() {
document.location.replace(this.to);
}
}
</script>
1 change: 1 addition & 0 deletions docs/about/nft-formats/dynamic-nfts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<Redirect to="/about/nft-features/dynamic" />

0 comments on commit db93478

Please sign in to comment.