Skip to content

Commit 494afdd

Browse files
authored
Merge pull request #7 from web3dev1337/feature/editor-usability-work1
fix: landing page redirects to showcase
2 parents 4ca2f8c + 6abe73b commit 494afdd

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8"/>
5-
<meta http-equiv="refresh" content="0;url=editor.html"/>
5+
<meta http-equiv="refresh" content="0;url=showcase.html"/>
66
<title>ShaderBrew</title>
77
</head>
88
<body>
9-
<p>Redirecting to <a href="editor.html">ShaderBrew Editor</a>...</p>
9+
<p>Redirecting to <a href="showcase.html">ShaderBrew</a>...</p>
1010
</body>
1111
</html>

src/ui/top-nav.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function initTopNav() {
8989
nav.appendChild(title);
9090

9191
const raw = window.location.pathname.split("/").pop() || "index.html";
92-
const path = raw === "index.html" ? "editor.html" : raw;
92+
const path = raw === "index.html" ? "showcase.html" : raw;
9393

9494
for (const group of NAV_GROUPS) {
9595
const groupEl = document.createElement("div");

0 commit comments

Comments
 (0)