fix: update process.env to import.meta

This commit is contained in:
Dan Ditomaso
2025-03-02 15:23:57 -05:00
parent 88587f358d
commit 81a1e0e550
5 changed files with 66 additions and 65 deletions
+28 -29
View File
@@ -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;