Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/aura-nw/landing-page int…
Browse files Browse the repository at this point in the history
…o bugfix/move-wagmin-wrapper-outside
  • Loading branch information
CloudCludfore committed Jun 21, 2024
2 parents b922ca2 + be5b222 commit 4f7f571
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 23 deletions.
1 change: 0 additions & 1 deletion src/app/get-aura/deposit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { useForm, Controller } from "react-hook-form";
import axios, { AxiosRequestConfig, AxiosResponse } from "axios";
import { useEffect, useState } from "react";
import { ToastContainer, toast } from "react-toastify";
import "react-toastify/dist/ReactToastify.css";

interface TableItemProps {
txTime: string;
Expand Down
17 changes: 2 additions & 15 deletions src/app/get-aura/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { WagmiProvider } from "wagmi";
import WalletConnectEVM from "./wallet-connect";
import { useEffect } from "react";
import { ToastContainer } from "react-toastify";

import "react-toastify/dist/ReactToastify.css";
// export const metadata: Metadata = {
// title: "Get Aura with Aura Network",
// description: "",
Expand All @@ -17,19 +17,6 @@ export default function Layout({
}: Readonly<{
children: React.ReactNode;
}>) {
const queryClient = new QueryClient();
const configWallet = getDefaultConfig({
appName: "Aura Network",
projectId: "86b13026f2930979d852f7dac07666b1",
chains: [aura],
ssr: false, // If your dApp uses server side rendering (SSR)
});
useEffect(() => {
const tutorialElement: any = document.querySelector(".tutorial");
if (tutorialElement) {
tutorialElement.style.display = "none";
}
}, []);

return (
<div className="bg-[#000] pb-24">
Expand All @@ -38,7 +25,7 @@ export default function Layout({
{children}
</RainbowKitProvider>

<ToastContainer position="top-right" autoClose={3000} hideProgressBar={false} newestOnTop={false} closeOnClick rtl={false} pauseOnFocusLoss draggable pauseOnHover theme="dark"></ToastContainer>
<ToastContainer position="top-right" autoClose={3000} hideProgressBar={true} newestOnTop={false} closeOnClick rtl={false} pauseOnFocusLoss draggable pauseOnHover theme="dark"></ToastContainer>
</div>
);
}
14 changes: 7 additions & 7 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ const ppmori = localFont({
});
const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
title: "Aura Network - The Layer 1 for emerging countries",
description: "Aura Network is the Layer 1 for emerging countries, providing public infrastructure through modular tech stacks. Build and drive Blockchain mass adoption.",
openGraph: {
images: "https://aura.network/img_thumb.png",
},
};
// export const metadata: Metadata = {
// title: "Aura Network - The Layer 1 for emerging countries",
// description: "Aura Network is the Layer 1 for emerging countries, providing public infrastructure through modular tech stacks. Build and drive Blockchain mass adoption.",
// openGraph: {
// images: "https://aura.network/img_thumb.png",
// },
// };

export default function RootLayout({
children,
Expand Down

0 comments on commit 4f7f571

Please sign in to comment.