-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
602ae43
commit 032785a
Showing
49 changed files
with
9,929 additions
and
8,487 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
REACT_APP_INFURA_KEY= | ||
REACT_APP_WC_PROJECT_ID= | ||
REACT_APP_GITCOIN_GRANTS_ACTIVE= | ||
REACT_APP_GITCOIN_GRANTS_LINK= | ||
REACT_APP_DONATION_ADDRESS= | ||
NEXT_PUBLIC_INFURA_KEY= | ||
NEXT_PUBLIC_WC_PROJECT_ID= | ||
NEXT_PUBLIC_GITCOIN_GRANTS_ACTIVE= | ||
NEXT_PUBLIC_GITCOIN_GRANTS_LINK= | ||
NEXT_PUBLIC_DONATION_ADDRESS= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v18.16.1 | ||
v18.17.0 |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { IndexLayout as IndexLayoutC } from "@/components/layouts/IndexLayout"; | ||
import { getMetadata } from "@/utils"; | ||
|
||
export const metadata = getMetadata({ | ||
title: "Impersonator", | ||
description: | ||
"Impersonate any Ethereum Account and Login into DApps via WalletConnect, iframe or Extension!", | ||
images: "https://www.impersonator.xyz/metaIMG.PNG", | ||
}); | ||
|
||
export default function IndexLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode; | ||
}) { | ||
return <IndexLayoutC>{children}</IndexLayoutC>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import Body from "@/components/Body"; | ||
import Navbar from "@/components/Navbar"; | ||
import Footer from "@/components/Footer"; | ||
|
||
const Home = () => { | ||
return ( | ||
<div> | ||
<Navbar /> | ||
<Body /> | ||
<Footer /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Home; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import Script from "next/script"; | ||
|
||
const GA_ID = "G-QFNMM9LXBY"; | ||
|
||
export const Analytics = () => { | ||
return ( | ||
<> | ||
<Script | ||
strategy="afterInteractive" | ||
src={`https://www.googletagmanager.com/gtag/js?id=${GA_ID}`} | ||
/> | ||
<Script | ||
id="google-analytics" | ||
strategy="afterInteractive" | ||
dangerouslySetInnerHTML={{ | ||
__html: ` | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
gtag('config', '${GA_ID}'); | ||
`, | ||
}} | ||
/> | ||
</> | ||
); | ||
}; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { Providers } from "@/app/providers"; | ||
import { Analytics } from "@/components/Analytics"; | ||
|
||
export const IndexLayout = ({ children }: { children: React.ReactNode }) => { | ||
return ( | ||
<html lang="en"> | ||
{/* Farcaster Frame */} | ||
<head> | ||
<meta property="fc:frame" content="vNext" /> | ||
<meta | ||
property="fc:frame:image" | ||
content="https://frame.impersonator.xyz/impersonator.gif" | ||
/> | ||
<meta | ||
property="fc:frame:post_url" | ||
content="https://frame.impersonator.xyz/api/frame" | ||
/> | ||
<meta | ||
property="fc:frame:input:text" | ||
content="Type ENS or Address to impersonate..." | ||
/> | ||
<meta property="fc:frame:button:1" content="🕵️ Start" /> | ||
</head> | ||
<body> | ||
<Analytics /> | ||
<Providers>{children}</Providers> | ||
</body> | ||
</html> | ||
); | ||
}; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
const nextConfig = { | ||
reactStrictMode: true, | ||
webpack: (config) => { | ||
config.resolve.fallback = { fs: false, net: false, tls: false }; | ||
config.externals.push("pino-pretty"); | ||
return config; | ||
}, | ||
compiler: { | ||
styledComponents: true, | ||
}, | ||
experimental: { | ||
windowHistorySupport: true, | ||
}, | ||
}; | ||
|
||
module.exports = nextConfig; |
Oops, something went wrong.