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:
1 parent
2911dea00b
commit
44f4fa98e2
320 files changed
+31666
-220
No files matched your search
@@ -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}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user