diff --git a/apps/www/next.config.js b/apps/www/next.config.js index ad7a15a..caa757d 100644 --- a/apps/www/next.config.js +++ b/apps/www/next.config.js @@ -6,7 +6,14 @@ await import("./src/env.js"); /** @type {import("next").NextConfig} */ const config = { - transpilePackages: ["@rapidlaunch/ui"], + images: { + remotePatterns: [ + { + protocol: "https", + hostname: "utfs.io", + }, + ], + }, }; export default config; diff --git a/apps/www/package.json b/apps/www/package.json index 0d989ad..09d7617 100644 --- a/apps/www/package.json +++ b/apps/www/package.json @@ -14,8 +14,11 @@ "@hookform/resolvers": "^3.3.4", "@radix-ui/react-dialog": "^1.0.5", "@radix-ui/react-dropdown-menu": "^2.0.6", + "@radix-ui/react-icons": "^1.3.0", "@radix-ui/react-label": "^2.0.2", + "@radix-ui/react-scroll-area": "^1.0.5", "@radix-ui/react-slot": "^1.0.2", + "@radix-ui/react-tabs": "^1.0.4", "@t3-oss/env-nextjs": "^0.9.2", "@tanstack/react-query": "^5.24.1", "@vercel/analytics": "^1.2.2", @@ -29,6 +32,7 @@ "react-dom": "18.2.0", "react-hook-form": "^7.50.1", "react-wrap-balancer": "^1.1.0", + "sharp": "^0.33.3", "sonner": "^1.4.2", "tailwind-merge": "^2.2.1", "tailwindcss-animate": "^1.0.7", diff --git a/apps/www/prettier.config.js b/apps/www/prettier.config.js index aa5080b..1c9fe51 100644 --- a/apps/www/prettier.config.js +++ b/apps/www/prettier.config.js @@ -1,7 +1,7 @@ /** @type {import('prettier').Config & import('prettier-plugin-tailwindcss').PluginOptions} */ const config = { - plugins: ["prettier-plugin-tailwindcss"], - tabWidth: 4, + plugins: ["prettier-plugin-tailwindcss"], + tabWidth: 4, }; export default config; diff --git a/apps/www/src/components/early-access-form.tsx b/apps/www/src/app/(app)/_components/early-access-form.tsx similarity index 90% rename from apps/www/src/components/early-access-form.tsx rename to apps/www/src/app/(app)/_components/early-access-form.tsx index 1968013..cd3c7db 100644 --- a/apps/www/src/components/early-access-form.tsx +++ b/apps/www/src/app/(app)/_components/early-access-form.tsx @@ -13,7 +13,7 @@ import { z } from "zod"; import { zodResolver } from "@hookform/resolvers/zod"; import { useForm } from "react-hook-form"; import { useMutation } from "@tanstack/react-query"; -import { joinEarlyAccessAction } from "@/server/actions"; +import { joinEarlyAccessAction } from "@/server/actions/early-access"; import { Icons } from "@/components/icons"; import { toast } from "sonner"; @@ -62,7 +62,7 @@ export function EarlyAccessForm() {