Skip to content

Commit 898efc5

Browse files
authored
[Portal] Fix: Test Jam Feedback (#7677)
1 parent c0e7ae9 commit 898efc5

File tree

24 files changed

+744
-73
lines changed

24 files changed

+744
-73
lines changed

apps/portal/redirects.mjs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,11 +1016,7 @@ const otherRedirects = {
10161016
"/unity/wallets/providers/account-abstraction",
10171017
"/wallet/get-started/overview": "/connect/wallet/overview",
10181018
// connect > wallets
1019-
"/connect/:path*": "/wallets/:path*",
1020-
"/connect/wallet/:path*": "/wallets/:path*",
1021-
"/connect/auth/:path*": "/wallets/auth/:path*",
1022-
"/connect/connect/:path*": "/wallets/connect/:path*",
1023-
"/connect/embedded-wallet/:path*": "/wallets/embedded-wallet/:path*",
1019+
"/connect": "/wallets",
10241020
"/connect/wallet/sign-in-methods/configure": "/wallets/users",
10251021
"/connect/wallet/server": "/wallets/server",
10261022
"/connect/account-abstraction/get-started": "/wallets/sponsor-gas",

apps/portal/src/app/Header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ const apisLinks = [
136136
name: "Payments",
137137
},
138138
{
139-
href: "/connect/account-abstraction/api",
139+
href: "/bundler",
140140
name: "Bundler",
141141
},
142142
];
@@ -265,7 +265,7 @@ export function Header() {
265265
{links.map((link) => {
266266
return (
267267
<li
268-
className="flex items-center py-2 relative px-2.5 rounded-lg hover:bg-accent hover:text-foreground"
268+
className="flex items-center py-2 relative px-2.5 hover:text-foreground"
269269
key={link.href}
270270
onClick={() => {
271271
setShowBurgerMenu(false);
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { DocLayout } from "@/components/Layouts/DocLayout";
2+
3+
export default async function Layout(props: { children: React.ReactNode }) {
4+
return (
5+
<DocLayout
6+
editPageButton={true}
7+
sideBar={{
8+
name: "Bundler",
9+
links: [],
10+
}}
11+
>
12+
{props.children}
13+
</DocLayout>
14+
);
15+
}

0 commit comments

Comments
 (0)