Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
emgk committed Nov 7, 2023
1 parent d25cf34 commit 54092bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@
<h1>The documentation for SUI 3 has been shifted to a new location</h1>
<p><a href="https://wpmudev.github.io/sui-react/">Click here</a> if you are not redirected automatically.</p>
<script>
const redirectDelay = 5000 // 10 seconds
const redirectDelay = 3000 // 3 seconds
let url = (window?.location?.href)?.replace('sui-docs', 'sui-react');

function redirectToAnotherPage() {
window.location.href = "https://wpmudev.github.io/sui-react/" // Replace with your target URL
window.location.href = url // Replace with your target URL
}

// Start a timer to redirect after the specified delay
Expand Down

0 comments on commit 54092bd

Please sign in to comment.