diff --git a/.prettierrc b/.prettierrc index bf357fbbc..417bf4faa 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,3 +1,4 @@ { + "plugins": ["prettier-plugin-tailwindcss"], "trailingComma": "all" } diff --git a/apps/web/app/footer.tsx b/apps/web/app/footer.tsx new file mode 100644 index 000000000..ba2492b90 --- /dev/null +++ b/apps/web/app/footer.tsx @@ -0,0 +1,29 @@ +import Image from "next/image"; +import { githubProfile, linkedIn } from "../src/lib/socials"; + +export default function Footer() { + return ( + + ); +} diff --git a/apps/web/app/global.css b/apps/web/app/global.css new file mode 100644 index 000000000..b5c61c956 --- /dev/null +++ b/apps/web/app/global.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; diff --git a/apps/web/app/head.tsx b/apps/web/app/head.tsx new file mode 100644 index 000000000..ed57e658a --- /dev/null +++ b/apps/web/app/head.tsx @@ -0,0 +1,135 @@ +import Script from "next/script"; +import * as gtag from "../src/lib/gtag"; +import { ADSENSE_CLIENT_ID } from "../src/lib/adsense"; + +export default function Head() { + return ( +
+ + + + + + + + + + + + + + {process.env.NEXT_PUBLIC_VERCEL_ENV !== "production" && ( + <> + {/* Disable indexing of all non-production sites */} + + > + )} + + {process.env.NODE_ENV === "production" && ( + <> + {/* Google Ads */} +