Skip to content

Commit 8dcb9eb

Browse files
authored
Merge pull request #3246 from ava-labs/pr-2926-verified
feat: auth integration
2 parents f21830f + 24ac2a8 commit 8dcb9eb

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

app/layout.config.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -511,9 +511,9 @@ export const baseOptions: BaseLayoutProps = {
511511
github,
512512
userMenu,
513513
ambassadorMenu,
514-
{
515-
type: "custom",
516-
children: <AuthButton />,
517-
},
514+
// {
515+
// type: "custom",
516+
// children: <AuthButton />,
517+
// },
518518
],
519519
};

components/ambassador-dao/How-it-works.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import React, { useState } from "react";
44
import { ListChecks } from "lucide-react";
55
import { AuthModal } from "./sections/auth-modal";
6-
6+
import { useRouter } from "next/navigation";
77
interface Step {
88
number: number;
99
title: string;
@@ -17,6 +17,7 @@ interface HowItWorksProps {
1717

1818
const HowItWorks: React.FC<HowItWorksProps> = ({ steps }) => {
1919
const [openAuthModal, setOpenAuthModal] = useState(false);
20+
const router = useRouter();
2021

2122
return (
2223
<div className='dark:bg-black bg-white text-[var(--white-text-color)] py-8'>
@@ -57,7 +58,7 @@ const HowItWorks: React.FC<HowItWorksProps> = ({ steps }) => {
5758
className={`${
5859
step.number === 1 ? "cursor-pointer" : ""
5960
} rounded-lg py-6 px-2 min-h-[80px] flex items-center text-wrap`}
60-
onClick={() => step.number === 1 && setOpenAuthModal(true)}
61+
onClick={() => step.number === 1 && router.push("/login")}
6162
>
6263
<h3 className='text-base font-medium dark:text-white text-black'>
6364
{step.title}

toolbox/src/versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"avaplatform/avalanchego": "v1.13.4",
3-
"avaplatform/subnet-evm_avalanchego": "v0.7.8_v1.13.4",
3+
"avaplatform/subnet-evm_avalanchego": "v0.7.9_v1.13.5",
44
"avaplatform/icm-relayer": "v1.6.6"
55
}

0 commit comments

Comments
 (0)