Skip to content

Commit

Permalink
Remove partytown
Browse files Browse the repository at this point in the history
Signed-off-by: Little Human <[email protected]>
  • Loading branch information
Little Human committed Sep 12, 2022
1 parent d62d987 commit 77a5427
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 29 deletions.
11 changes: 0 additions & 11 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"cid": "node cidv0"
},
"dependencies": {
"@builder.io/partytown": "^0.7.0",
"next": "^12.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
10 changes: 3 additions & 7 deletions pages/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import Head from "next/head";
import Script from "next/script";
import TopBar from "../src/components/TopBar";
import HeadLine from "../src/components/Headline";
import Footer from "../src/components/Footer";
import RoundArt from "../src/components/RoundArt";
import GridArt from "../src/components/GridArt";
import ClipArt from "../src/components/ClipArt";
import { Partytown } from "@builder.io/partytown/react";

export default function Home() {
return (
Expand Down Expand Up @@ -90,15 +90,11 @@ export default function Home() {
content="https://kongkowitpku.xyz/og.png"
/>
{/* ==== Third Party Scripts ==== */}
<Partytown debug={true} forward={["dataLayer.push"]} />
{/* Analytics */}
<script
async
defer
<Script
strategy="lazyOnload"
data-website-id="d1583115-1cef-471b-ba5e-904a35920fe4"
src="https://umami.kongkowitpku.xyz/mojok.js"
// TODO: Uncomment this line
// type="text/partytown"
/>
</Head>
<TopBar />
Expand Down
10 changes: 0 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,6 @@ __metadata:
version: 6
cacheKey: 8

"@builder.io/partytown@npm:^0.7.0":
version: 0.7.0
resolution: "@builder.io/partytown@npm:0.7.0"
bin:
partytown: bin/partytown.cjs
checksum: fac24fbe8f223e3e36dec5a729cda8ce4f4db6cd8547bda61455d247d7d01438ebd7708aea215961aa7adb64c83145a60383f7b0f8455ccbea4dcc8a0adce752
languageName: node
linkType: hard

"@gar/promisify@npm:^1.1.3":
version: 1.1.3
resolution: "@gar/promisify@npm:1.1.3"
Expand All @@ -25,7 +16,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@kongkowitpku/soon@workspace:."
dependencies:
"@builder.io/partytown": ^0.7.0
autoprefixer: ^10.4.8
multiformats: ^9.5.8
next: ^12.3.0
Expand Down

1 comment on commit 77a5427

@vercel
Copy link

@vercel vercel bot commented on 77a5427 Sep 12, 2022

Choose a reason for hiding this comment

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

Please sign in to comment.