-
Notifications
You must be signed in to change notification settings - Fork 26.1k
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
Showing
6 changed files
with
5,415 additions
and
5,016 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,13 +1,11 @@ | ||
import Link from "next/link"; | ||
import Link from 'next/link' | ||
|
||
export default function About() { | ||
return ( | ||
<> | ||
<h1>About</h1> | ||
|
||
<Link href="/"> | ||
back to home | ||
</Link> | ||
<Link href="/">back to home</Link> | ||
</> | ||
); | ||
) | ||
} |
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 @@ | ||
export { default as FacebookPixel } from './FacebookPixel'; | ||
export { default as FacebookPixel } from './FacebookPixel' |
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,14 +1,12 @@ | ||
import { FacebookPixel } from './components'; | ||
import { FacebookPixel } from './components' | ||
|
||
export default function RootLayout({ | ||
children, | ||
}) { | ||
export default function RootLayout({ children }) { | ||
return ( | ||
<html lang="en"> | ||
<body> | ||
{children} | ||
<FacebookPixel /> | ||
</body> | ||
</html> | ||
); | ||
) | ||
} |
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,17 +1,14 @@ | ||
import Link from "next/link"; | ||
import Link from 'next/link' | ||
|
||
export default function Home() { | ||
return ( | ||
<> | ||
<h2> | ||
Go to `app/layout.js` to see how implement Facebook Pixel in NextJS ˆ13 with app folder | ||
Go to `app/layout.js` to see how implement Facebook Pixel in NextJS ˆ13 | ||
with app folder | ||
</h2> | ||
<h2> | ||
If you want to see old implementation, go to `_pages/index.js` | ||
</h2> | ||
<Link href="/about"> | ||
About page | ||
</Link> | ||
<h2>If you want to see old implementation, go to `_pages/index.js`</h2> | ||
<Link href="/about">About page</Link> | ||
</> | ||
); | ||
) | ||
} |
Oops, something went wrong.