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