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: 5 additions & 1 deletion packages/nextjs/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ const Home: NextPage = () => {
functionName: "getRegistry",
});

const { data: multisigs, isLoading: multisigsLoading } = useScaffoldReadContract({
const {
data: multisigs,
isLoading: multisigsLoading,
isSuccess,
} = useScaffoldReadContract({
contractName: "MultiSigRegistry",
functionName: "getSignerMultisigs",
contractAddress: registryAddress,
Expand Down
19 changes: 16 additions & 3 deletions packages/nextjs/components/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import * as React from "react";
"use client";

import { useEffect, useState } from "react";
import Link from "next/link";
import DarkLogo from "../public/lyxaxisdarkbg.svg";
import WhiteLogo from "../public/lyxaxiswhitebg.svg";
import { RainbowKitCustomConnectButton } from "./scaffold-eth";
import { useTheme } from "next-themes";

export const NavButton = ({ link, title }: { link: string; title: string }) => {
return (
Expand All @@ -13,11 +18,19 @@ export const NavButton = ({ link, title }: { link: string; title: string }) => {
};

export const Navbar = () => {
const { setTheme, resolvedTheme } = useTheme();
const [mounted, setMounted] = useState(false);

useEffect(() => setMounted(true), []);

if (!mounted) return null;

const isDarkMode = resolvedTheme === "dark";

return (
<div className="bg-base-200 w-[432px] mx-auto justify-between flex gap-x-1 px-2 border-b border-gray py-4">
<Link href="/">
{/* <img src={Logo.src} alt="GoluksMe" className="mt-1 cursor-pointer w-28" /> */}
<div className="ml-2">Lyxaxis</div>
<img src={isDarkMode ? DarkLogo.src : WhiteLogo.src} alt="lyxaxis" className="mt-1 cursor-pointer w-28" />
</Link>

<div className=" flex">
Expand Down
Binary file modified packages/nextjs/public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nextjs/public/faviconcc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 81 additions & 0 deletions packages/nextjs/public/lyxaxisdarkbg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nextjs/public/lyxaxiswhitebg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 81 additions & 0 deletions packages/nextjs/public/lyxaxiswhitebg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading