chore(ui): add LogIn icon to register button

This commit is contained in:
Fatih Kadir Akın
2025-12-29 21:16:46 +03:00
parent a8b90ba3ab
commit 56aaa1cf58
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -15,6 +15,8 @@ NEXTAUTH_SECRET="your-super-secret-key-change-in-production"
# AZURE_AD_TENANT_ID=""
# GITHUB_CLIENT_ID=your_client_id
# GITHUB_CLIENT_SECRET=your_client_secret
# Run `npx auth add apple` to generate the secret, follow the instructions in the prompt
# AUTH_APPLE_ID=""
# AUTH_APPLE_SECRET=""
+2 -1
View File
@@ -1,7 +1,7 @@
import Link from "next/link";
import Image from "next/image";
import { getTranslations } from "next-intl/server";
import { ArrowRight, Star, Heart, Trophy, Users, HeartHandshake, Code, Lock, Building2, Github, GraduationCap } from "lucide-react";
import { ArrowRight, Star, Heart, Trophy, Users, HeartHandshake, Code, Lock, Building2, Github, GraduationCap, LogIn } from "lucide-react";
import { auth } from "@/lib/auth";
import { getConfig } from "@/lib/config";
import { Button } from "@/components/ui/button";
@@ -149,6 +149,7 @@ export default async function HomePage() {
{showRegisterButton && (
<Button variant="outline" size="lg" asChild>
<Link href={isOAuth ? "/login" : "/register"}>
<LogIn className="mr-1.5 h-4 w-4" />
{isOAuth ? tNav("login") : tNav("register")}
</Link>
</Button>