feat(frontend): add /u/[user]
This commit is contained in:
parent
eec01dc070
commit
36b7d26723
9 changed files with 222 additions and 19 deletions
14
frontend/components/BlueLink.tsx
Normal file
14
frontend/components/BlueLink.tsx
Normal file
|
@ -0,0 +1,14 @@
|
|||
import Link from "next/link";
|
||||
|
||||
export type Props = {
|
||||
to: string;
|
||||
children?: React.ReactNode;
|
||||
};
|
||||
|
||||
export default function BlueLink({ to, children }: Props) {
|
||||
return (
|
||||
<Link href={to} className="hover:underline text-sky-500 dark:text-sky-400">
|
||||
{children}
|
||||
</Link>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue