Skip to content

Commit

Permalink
Use Next/Script
Browse files Browse the repository at this point in the history
  • Loading branch information
Kawtar Choubari committed Sep 13, 2023
1 parent e63662a commit 5322d00
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Providers } from "@/lib/provider";
import Footer from "@/components/footer";
import { siteConfig } from "@/config/site";
import Analytics from "@/components/analytics";
import Script from "next/script";

export const metadata = {
title: siteConfig.name,
Expand Down Expand Up @@ -73,7 +74,7 @@ export default function RootLayout({
</main>
</Providers>
<Footer />
<script
<Script
data-name="BMC-Widget"
data-cfasync="false"
src="https://cdnjs.buymeacoffee.com/1.0.0/widget.prod.min.js"
Expand All @@ -84,12 +85,12 @@ export default function RootLayout({
data-position="Right"
data-x_margin="18"
data-y_margin="18"
></script>
<script
></Script>
<Script
type="text/javascript"
async
src="https://embeds.beehiiv.com/attribution.js"
></script>
></Script>
</body>
</html>
);
Expand Down

0 comments on commit 5322d00

Please sign in to comment.