Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"@radix-ui/react-collapsible": "^1.1.12",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-icons": "^1.3.2",
"@radix-ui/react-label": "^2.1.7",
"@radix-ui/react-navigation-menu": "^1.2.14",
"@radix-ui/react-popover": "^1.1.15",
Expand Down Expand Up @@ -55,7 +54,6 @@
"react": "19.2.3",
"react-dom": "19.2.3",
"react-hook-form": "^7.62.0",
"react-icons": "^5.5.0",
"react-spinners": "^0.17.0",
"react-use-measure": "^2.1.7",
"resend": "^6.0.1",
Expand Down
24 changes: 0 additions & 24 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/components/auth/error-card.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use client';
import { ExclamationTriangleIcon } from "@radix-ui/react-icons";
import { AlertTriangle } from "lucide-react";
import { useSearchParams } from "next/navigation";

import { CardWrapper } from "@/components/auth/card-wrapper";
Expand Down Expand Up @@ -34,7 +34,7 @@ export const ErrorCard = () => {
>
<div className="w-full flex flex-col items-center gap-4">
<div className="bg-destructive/15 p-3 rounded-md flex items-center gap-x-2 text-sm text-destructive">
<ExclamationTriangleIcon className="h-4 w-4" />
<AlertTriangle className="h-4 w-4" />
<p>{errorMessage}</p>
</div>
{error && (
Expand Down
4 changes: 2 additions & 2 deletions src/components/auth/error/error-card.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use client';
import { ExclamationTriangleIcon } from "@radix-ui/react-icons";
import { AlertTriangle } from "lucide-react";

import { CardWrapper } from "@/components/auth/card-wrapper";

Expand All @@ -11,7 +11,7 @@ export const ErrorCard = () => {
backButtonLabel="Back to login"
>
<div className="w-full flex justify-center items-center">
<ExclamationTriangleIcon className="text-destructive" />
<AlertTriangle className="text-destructive" />
</div>
</CardWrapper>
);
Expand Down
4 changes: 2 additions & 2 deletions src/components/auth/error/form-error.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ExclamationTriangleIcon } from "@radix-ui/react-icons";
import { AlertTriangle } from "lucide-react";

interface FormErrorProps {
message?: string;
Expand All @@ -11,7 +11,7 @@ export const FormError = ({

return (
<div className="bg-destructive/15 p-3 rounded-md flex items-center gap-x-2 text-sm text-destructive">
<ExclamationTriangleIcon className="h-4 w-4" />
<AlertTriangle className="h-4 w-4" />
<p>{message}</p>
</div>
);
Expand Down
4 changes: 2 additions & 2 deletions src/components/auth/form-error.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ExclamationTriangleIcon } from "@radix-ui/react-icons";
import { AlertTriangle } from "lucide-react";

interface FormErrorProps {
message?: string;
Expand All @@ -11,7 +11,7 @@ export const FormError = ({

return (
<div className="bg-destructive/15 p-3 rounded-md flex items-center gap-x-2 text-sm text-destructive">
<ExclamationTriangleIcon className="h-4 w-4" />
<AlertTriangle className="h-4 w-4" />
<p>{message}</p>
</div>
);
Expand Down
4 changes: 2 additions & 2 deletions src/components/auth/form-success.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CheckCircledIcon } from "@radix-ui/react-icons";
import { CheckCircle2 } from "lucide-react";

interface FormSuccessProps {
message?: string;
Expand All @@ -11,7 +11,7 @@ export const FormSuccess = ({

return (
<div className="bg-emerald-500/15 p-3 rounded-md flex items-center gap-x-2 text-sm text-emerald-500">
<CheckCircledIcon className="h-4 w-4" />
<CheckCircle2 className="h-4 w-4" />
<p>{message}</p>
</div>
);
Expand Down
7 changes: 3 additions & 4 deletions src/components/auth/user-button.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"use client";

import { FaUser } from "react-icons/fa";
import { ExitIcon } from "@radix-ui/react-icons"
import { User as UserIcon, LogOut } from "lucide-react";

import {
DropdownMenu,
Expand All @@ -27,14 +26,14 @@ export const UserButton = () => {
<Avatar>
<AvatarImage src={user?.image || ""} />
<AvatarFallback className="bg-black">
<FaUser className="text-[#fcfcfc] p-[2px]" />
<UserIcon className="text-[#fcfcfc] p-[2px]" />
</AvatarFallback>
</Avatar>
</DropdownMenuTrigger>
<DropdownMenuContent className="w-40" align="end">
<LogoutButton>
<DropdownMenuItem>
<ExitIcon className="h-4 w-4 mr-2" />
<LogOut className="h-4 w-4 me-2" />
Logout
</DropdownMenuItem>
</LogoutButton>
Expand Down