Skip to content

Commit f64db16

Browse files
alors la tu utilise une ico totalement bug, tu peut utiliser ça : https:
1 parent a152270 commit f64db16

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

src/app/(app)/profile/page.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
import { useAuth } from '@/hooks/useAuth';
55
import { Card, CardContent, CardDescription, CardHeader, CardTitle, CardFooter } from '@/components/ui/card';
66
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar';
7-
import { User as UserIcon, Mail, Shield, Edit3, Image as ImageIcon, Github, Link2, PowerOff, ExternalLink, Loader2 } from 'lucide-react'; // Added Loader2
8-
import { DiscordIcon } from '@/components/icons/DiscordIcon';
7+
import { User as UserIcon, Mail, Shield, Edit3, Image as ImageIcon, Github, Link2, PowerOff, ExternalLink, Loader2, MessageSquare } from 'lucide-react';
98
import { Skeleton } from '@/components/ui/skeleton';
109
import { Button } from '@/components/ui/button';
1110
import { Input } from '@/components/ui/input';
@@ -444,7 +443,7 @@ export default function ProfilePage() {
444443
<Card className="p-4 bg-muted/30">
445444
<div className="flex items-center justify-between">
446445
<div className="flex items-center gap-3">
447-
<DiscordIcon className="h-8 w-8 text-[#5865F2]" />
446+
<MessageSquare className="h-8 w-8 text-[#5865F2]" />
448447
<div>
449448
<h4 className="font-semibold">Discord</h4>
450449
{isLoadingDiscord ? (
@@ -473,7 +472,7 @@ export default function ProfilePage() {
473472
</Button>
474473
) : (
475474
<Button onClick={handleConnectDiscord}>
476-
<DiscordIcon className="mr-2 h-4 w-4" /> Connect
475+
<MessageSquare className="mr-2 h-4 w-4" /> Connect
477476
</Button>
478477
)}
479478
</div>

src/components/auth/LoginForm.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11

2-
32
'use client';
43

54
import { zodResolver } from "@hookform/resolvers/zod";
@@ -17,8 +16,7 @@ import {
1716
import { Input } from "@/components/ui/input";
1817
import { useAuth } from "@/hooks/useAuth";
1918
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
20-
import { AlertTriangle, Mail, KeyRound, Github } from "lucide-react";
21-
import { DiscordIcon } from '@/components/icons/DiscordIcon';
19+
import { AlertTriangle, Mail, KeyRound, Github, MessageSquare } from "lucide-react";
2220
import Link from "next/link";
2321
import { useState } from "react";
2422

@@ -129,7 +127,7 @@ export function LoginForm() {
129127
<Github className="mr-2 h-4 w-4" /> GitHub
130128
</Button>
131129
<Button variant="outline" type="button" onClick={() => window.location.href='/api/auth/discord/oauth/login'}>
132-
<DiscordIcon className="mr-2 h-4 w-4" /> Discord
130+
<MessageSquare className="mr-2 h-4 w-4" /> Discord
133131
</Button>
134132
</div>
135133

src/components/auth/SignupForm.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11

2-
32
'use client';
43

54
import { zodResolver } from "@hookform/resolvers/zod";
@@ -17,8 +16,7 @@ import {
1716
import { Input } from "@/components/ui/input";
1817
import { useAuth } from "@/hooks/useAuth";
1918
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
20-
import { AlertTriangle, Mail, User as UserIcon, KeyRound, Github } from "lucide-react";
21-
import { DiscordIcon } from '@/components/icons/DiscordIcon';
19+
import { AlertTriangle, Mail, User as UserIcon, KeyRound, Github, MessageSquare } from "lucide-react";
2220
import Link from "next/link";
2321
import { useState } from "react";
2422

@@ -153,7 +151,7 @@ export function SignupForm() {
153151
<Github className="mr-2 h-4 w-4" /> GitHub
154152
</Button>
155153
<Button variant="outline" type="button" onClick={() => window.location.href='/api/auth/discord/oauth/login'}>
156-
<DiscordIcon className="mr-2 h-4 w-4" /> Discord
154+
<MessageSquare className="mr-2 h-4 w-4" /> Discord
157155
</Button>
158156
</div>
159157

0 commit comments

Comments
 (0)