Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions apps/portal/redirects.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1016,11 +1016,7 @@ const otherRedirects = {
"/unity/wallets/providers/account-abstraction",
"/wallet/get-started/overview": "/connect/wallet/overview",
// connect > wallets
"/connect/:path*": "/wallets/:path*",
"/connect/wallet/:path*": "/wallets/:path*",
"/connect/auth/:path*": "/wallets/auth/:path*",
"/connect/connect/:path*": "/wallets/connect/:path*",
"/connect/embedded-wallet/:path*": "/wallets/embedded-wallet/:path*",
"/connect": "/wallets",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would also do connect/* -> wallets/ (root)

"/connect/wallet/sign-in-methods/configure": "/wallets/users",
"/connect/wallet/server": "/wallets/server",
"/connect/account-abstraction/get-started": "/wallets/sponsor-gas",
Expand Down
4 changes: 2 additions & 2 deletions apps/portal/src/app/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const apisLinks = [
name: "Payments",
},
{
href: "/connect/account-abstraction/api",
href: "/bundler",
name: "Bundler",
},
];
Expand Down Expand Up @@ -265,7 +265,7 @@ export function Header() {
{links.map((link) => {
return (
<li
className="flex items-center py-2 relative px-2.5 rounded-lg hover:bg-accent hover:text-foreground"
className="flex items-center py-2 relative px-2.5 hover:text-foreground"
key={link.href}
onClick={() => {
setShowBurgerMenu(false);
Expand Down
15 changes: 15 additions & 0 deletions apps/portal/src/app/bundler/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { DocLayout } from "@/components/Layouts/DocLayout";

export default async function Layout(props: { children: React.ReactNode }) {
return (
<DocLayout
editPageButton={true}
sideBar={{
name: "Bundler",
links: [],
}}
>
{props.children}
</DocLayout>
);
}
Loading
Loading