Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chibat committed Dec 25, 2023
1 parent fc2b417 commit b3e94ba
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/shortcut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function shortcut() {
location.href = "/posts/new";
});
Mousetrap.bind("?", () => {
location.href = "/help";
location.href = "/shortcuts";
});
Mousetrap.bind(".", () => {
window.scroll({ top: 0, behavior: "smooth" });
Expand Down
4 changes: 2 additions & 2 deletions fresh.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import * as $auth from "./routes/auth.ts";
import * as $callback from "./routes/callback.tsx";
import * as $debug_auth from "./routes/debug_auth.tsx";
import * as $following from "./routes/following.tsx";
import * as $help from "./routes/help.tsx";
import * as $index from "./routes/index.tsx";
import * as $likes from "./routes/likes.tsx";
import * as $notification from "./routes/notification.tsx";
Expand All @@ -23,6 +22,7 @@ import * as $posts_postId_index from "./routes/posts/[postId]/index.tsx";
import * as $posts_new from "./routes/posts/new.tsx";
import * as $search from "./routes/search.tsx";
import * as $settings from "./routes/settings.tsx";
import * as $shortcuts from "./routes/shortcuts.tsx";
import * as $signout from "./routes/signout.ts";
import * as $sitemap_userId_ from "./routes/sitemap/[userId].tsx";
import * as $sitemap_index from "./routes/sitemap/index.tsx";
Expand Down Expand Up @@ -53,7 +53,6 @@ const manifest = {
"./routes/callback.tsx": $callback,
"./routes/debug_auth.tsx": $debug_auth,
"./routes/following.tsx": $following,
"./routes/help.tsx": $help,
"./routes/index.tsx": $index,
"./routes/likes.tsx": $likes,
"./routes/notification.tsx": $notification,
Expand All @@ -62,6 +61,7 @@ const manifest = {
"./routes/posts/new.tsx": $posts_new,
"./routes/search.tsx": $search,
"./routes/settings.tsx": $settings,
"./routes/shortcuts.tsx": $shortcuts,
"./routes/signout.ts": $signout,
"./routes/sitemap/[userId].tsx": $sitemap_userId_,
"./routes/sitemap/index.tsx": $sitemap_index,
Expand Down
3 changes: 2 additions & 1 deletion islands/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ export default function Header(
<li class="nav-item">
<a
class="noDecoration nav-link"
href="/help"
href="/shortcuts"
title="Keyboard Shortcuts"
>
<img
src="/assets/img/keyboard-fill.svg"
Expand Down
2 changes: 1 addition & 1 deletion routes/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default defineRoute(async (req, _ctx) => {
</a>
</li>
<li>
<a href="/help">Keyboard Shortcuts</a>
<a href="/shortcuts">Keyboard Shortcuts</a>
</li>
</ul>
</main>
Expand Down
File renamed without changes.

0 comments on commit b3e94ba

Please sign in to comment.