Skip to content

Commit

Permalink
Merge pull request #118 from agrattan0820/dev
Browse files Browse the repository at this point in the history
Privacy Policy Page
  • Loading branch information
agrattan0820 authored Feb 4, 2024
2 parents 930413c + c967540 commit aa68460
Show file tree
Hide file tree
Showing 15 changed files with 2,238 additions and 1,587 deletions.
50 changes: 25 additions & 25 deletions apps/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,42 +10,42 @@
"test:e2e": "playwright test"
},
"dependencies": {
"@auth/drizzle-adapter": "^0.3.6",
"@sentry/nextjs": "^7.80.1",
"@tanstack/react-query": "^5.8.4",
"@upstash/ratelimit": "^0.4.4",
"@upstash/redis": "^1.25.1",
"@vercel/analytics": "^1.1.1",
"@xstate/react": "^3.2.2",
"autoprefixer": "10.4.16",
"clsx": "^2.0.0",
"@auth/drizzle-adapter": "^0.5.1",
"@sentry/nextjs": "^7.99.0",
"@tanstack/react-query": "^5.18.1",
"@upstash/ratelimit": "^1.0.0",
"@upstash/redis": "^1.28.3",
"@vercel/analytics": "^1.1.2",
"@xstate/react": "^4.0.3",
"autoprefixer": "10.4.17",
"clsx": "^2.1.0",
"database": "workspace:*",
"drizzle-orm": "^0.29.0",
"framer-motion": "^10.16.5",
"next": "^14.0.2",
"drizzle-orm": "^0.29.3",
"framer-motion": "^11.0.3",
"next": "^14.1.0",
"next-auth": "^4.24.5",
"postcss": "8.4.31",
"postcss": "8.4.33",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hot-toast": "^2.4.1",
"react-icons": "^4.12.0",
"react-icons": "^5.0.1",
"server-only": "^0.0.1",
"sharp": "^0.32.6",
"socket.io-client": "^4.7.2",
"tailwind-merge": "^2.0.0",
"tailwindcss": "^3.3.5",
"typescript": "5.2.2",
"sharp": "^0.33.2",
"socket.io-client": "^4.7.4",
"tailwind-merge": "^2.2.1",
"tailwindcss": "^3.4.1",
"typescript": "5.3.3",
"use-sound": "^4.0.1",
"xstate": "^4.38.3"
"xstate": "^5.6.0"
},
"devDependencies": {
"@playwright/test": "^1.39.0",
"@playwright/test": "^1.41.2",
"@tailwindcss/typography": "^0.5.10",
"@types/node": "^20.9.0",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@types/node": "^20.11.16",
"@types/react": "^18.2.52",
"@types/react-dom": "^18.2.18",
"eslint-config-custom": "workspace:*",
"prettier-plugin-tailwindcss": "^0.5.7",
"prettier-plugin-tailwindcss": "^0.5.11",
"tsconfig": "workspace:*"
},
"engines": {
Expand Down
24 changes: 24 additions & 0 deletions apps/client/src/app/global-error.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
"use client";

import * as Sentry from "@sentry/nextjs";
import NextError from "next/error";
import { useEffect } from "react";

export default function GlobalError({
error,
}: {
error: Error & { digest?: string };
}) {
useEffect(() => {
Sentry.captureException(error);
}, [error]);

return (
<html>
<body>
{/* This is the default Next.js error component but it doesn't allow omitting the statusCode property yet. */}
<NextError statusCode={undefined as never} />
</body>
</html>
);
}
2 changes: 1 addition & 1 deletion apps/client/src/app/how-to-play/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const ImageFigure = ({

export default function HowToPlay() {
return (
<main className="container mx-auto px-4 py-16 md:py-32 ">
<main className="container mx-auto px-4 py-16 md:py-32">
<section className="prose mx-auto text-white prose-headings:text-white prose-a:text-white prose-a:underline-offset-2 prose-a:transition hover:prose-a:text-indigo-200 prose-blockquote:text-white">
<h1>How to Play</h1>
<p>
Expand Down
Loading

0 comments on commit aa68460

Please sign in to comment.