Skip to content

Commit

Permalink
Merge pull request #90 from AshishBarvaliya/prod
Browse files Browse the repository at this point in the history
feat: g tag added to product hunt embded
  • Loading branch information
AshishBarvaliya authored Dec 27, 2023
2 parents 692eee4 + c223ec4 commit 5a2e6f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import GlowingBoxes from "@/components/growing-dots";
import useAnalytics from "@/hooks/useAnalytics";
import moment from "moment";
import dynamic from "next/dynamic";
import Head from "next/head";
Expand All @@ -9,6 +10,8 @@ const Countdown = dynamic(() => import("react-countdown"), {
});

export default function Home() {
const gTrigger = useAnalytics("Home - coming soon");

const renderer = ({ days, hours, minutes, seconds, completed }: any) => {
const data = [
{ val: days, label: "Days" },
Expand Down Expand Up @@ -111,6 +114,7 @@ export default function Home() {
<a
href="https://www.producthunt.com/posts/theme-ai?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-theme&#0045;ai"
target="_blank"
onClickCapture={() => gTrigger("ProductHunt", "Click")}
>
<img
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=431314&theme=light"
Expand Down

0 comments on commit 5a2e6f3

Please sign in to comment.