5 changed files with 66 additions and 65 deletions
@ -1,33 +1,32 @@ |
|||
import { cn } from "../../core/utils/cn.ts"; |
|||
import React from "react"; |
|||
import { cn } from "@core/utils/cn.ts" |
|||
|
|||
export interface FooterProps extends React.HTMLAttributes<HTMLElement> {} |
|||
type FooterProps = { |
|||
className?: string; |
|||
} |
|||
|
|||
const Footer = React.forwardRef<HTMLElement, FooterProps>( |
|||
({ className, ...props }) => { |
|||
return ( |
|||
<footer |
|||
className={cn("flex mt-auto justify-center p-2", className)} |
|||
{...props} |
|||
> |
|||
<p> |
|||
<a |
|||
href="https://vercel.com/?utm_source=meshtastic&utm_campaign=oss" |
|||
className="hover:underline text-link" |
|||
> |
|||
Powered by ▲ Vercel |
|||
</a>{" "} |
|||
| Meshtastic® is a registered trademark of Meshtastic LLC. |{" "} |
|||
<a |
|||
href="https://meshtastic.org/docs/legal" |
|||
className="hover:underline text-link" |
|||
> |
|||
Legal Information |
|||
</a> |
|||
</p> |
|||
</footer> |
|||
); |
|||
}, |
|||
); |
|||
const Footer = ({ className, ...props }: FooterProps) => { |
|||
return ( |
|||
<footer |
|||
className={cn("flex mt-auto justify-center p-2", className)} |
|||
{...props} |
|||
> |
|||
<p> |
|||
<a |
|||
href="https://vercel.com/?utm_source=meshtastic&utm_campaign=oss" |
|||
className="hover:underline text-link" |
|||
> |
|||
Powered by ▲ Vercel |
|||
</a>{" "} |
|||
| Meshtastic® is a registered trademark of Meshtastic LLC. |{" "} |
|||
<a |
|||
href="https://meshtastic.org/docs/legal" |
|||
className="hover:underline text-link" |
|||
> |
|||
Legal Information |
|||
</a> |
|||
</p> |
|||
</footer> |
|||
); |
|||
} |
|||
|
|||
export default Footer; |
|||
|
|||
Loading…
Reference in new issue