Skip to content

Commit

Permalink
try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zkSoju committed May 3, 2023
1 parent 90484e8 commit f1a85c4
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 34 deletions.
18 changes: 1 addition & 17 deletions components/layouts/Main.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { NextSeo } from "next-seo";
import Head from "next/head";
import { useRouter } from "next/router";

Expand All @@ -11,22 +10,7 @@ const Main = ({ children }: { children: React.ReactNode }) => {
<Head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Dove Interface</title>
<NextSeo
title="Dove Interface"
description="Experience the power of Dove, our innovative solution that eliminates liquidity fragmentation and bridges gaps across Layer 2 networks. Focus on the technical merits of your chosen L2, while Dove unlocks boundless liquidity for executing advanced leveraged LSD strategies on any L2."
openGraph={{
type: "website",
description:
"Experience the power of Dove, our innovative solution that eliminates liquidity fragmentation and bridges gaps across Layer 2 networks. Focus on the technical merits of your chosen L2, while Dove unlocks boundless liquidity for executing advanced leveraged LSD strategies on any L2.",
title: "Dove Interface",
images: [
{
url: "https://i.imgur.com/6fGh6n4.png",
},
],
}}
twitter={{ cardType: "summary_large_image", handle: "@doveprotocol" }}
/>

</Head>

{children}
Expand Down
53 changes: 36 additions & 17 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
} from "@rainbow-me/rainbowkit";
import "@rainbow-me/rainbowkit/styles.css";
import { AnimatePresence } from "framer-motion";
import { NextSeo } from "next-seo";
import { AppProps } from "next/app";
import { WagmiConfig, configureChains, createClient } from "wagmi";
import {
Expand Down Expand Up @@ -53,23 +54,41 @@ const apolloClient = new ApolloClient({

function MyApp({ Component, pageProps }: AppProps) {
return (
<ApolloProvider client={apolloClient}>
<WagmiConfig client={wagmiClient}>
<RainbowKitProvider
chains={chains}
modalSize="compact"
theme={midnightTheme({
accentColor: "#1da7eb",
accentColorForeground: "white",
borderRadius: "small",
})}
>
<AnimatePresence>
<Component {...pageProps} />
</AnimatePresence>
</RainbowKitProvider>
</WagmiConfig>
</ApolloProvider>
<>
<NextSeo
title="Dove Interface"
description="Experience the power of Dove, our innovative solution that eliminates liquidity fragmentation and bridges gaps across Layer 2 networks. Focus on the technical merits of your chosen L2, while Dove unlocks boundless liquidity for executing advanced leveraged LSD strategies on any L2."
openGraph={{
type: "website",
description:
"Experience the power of Dove, our innovative solution that eliminates liquidity fragmentation and bridges gaps across Layer 2 networks. Focus on the technical merits of your chosen L2, while Dove unlocks boundless liquidity for executing advanced leveraged LSD strategies on any L2.",
title: "Dove Interface",
images: [
{
url: "https://i.imgur.com/6fGh6n4.png",
},
],
}}
twitter={{ cardType: "summary_large_image", handle: "@doveprotocol" }}
/>
<ApolloProvider client={apolloClient}>
<WagmiConfig client={wagmiClient}>
<RainbowKitProvider
chains={chains}
modalSize="compact"
theme={midnightTheme({
accentColor: "#1da7eb",
accentColorForeground: "white",
borderRadius: "small",
})}
>
<AnimatePresence>
<Component {...pageProps} />
</AnimatePresence>
</RainbowKitProvider>
</WagmiConfig>
</ApolloProvider>
</>
);
}

Expand Down

1 comment on commit f1a85c4

@vercel
Copy link

@vercel vercel bot commented on f1a85c4 May 3, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

dove-interface – ./

dove-interface-apeiro.vercel.app
dove-interface-git-main-apeiro.vercel.app
dove-interface-eight.vercel.app

Please sign in to comment.