Enhance Next.js configuration and dependencies for improved functionality and localization support. Added support for internationalization with next-intl, updated global styles, and integrated new fonts. Removed default home page and updated README with project details and setup instructions.

This commit is contained in:
smhk1376 committed 2026-09-24 14:53:01 +03:30
1 parent 2911dea00b
commit 44f4fa98e2
320 files changed
+31666 -220

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
import Link from "next/link";
import { cn } from "@/lib/utils";
type TextLinkProps = React.ComponentProps<typeof Link> & {
tone?: "default" | "inverse" | "accent";
};
export function TextLink({
className,
tone = "default",
...props
}: TextLinkProps) {
return (
<Link
className={cn(
"font-medium underline-offset-4 transition-colors hover:underline",
tone === "default" && "text-chart-2 hover:text-primary",
tone === "inverse" && "text-background/90 hover:text-background",
tone === "accent" && "text-primary hover:text-foreground",
className,
)}
{...props}
/>
);
}