9 changed files with 358 additions and 347 deletions
@ -1,38 +1,37 @@ |
|||||
import React from "react"; |
import React from "react"; |
||||
|
|
||||
export interface FooterProps |
export interface FooterProps extends React.HTMLAttributes<HTMLElement> {} |
||||
extends React.HTMLAttributes<HTMLElement> {} |
|
||||
|
|
||||
const Footer = React.forwardRef<HTMLElement, FooterProps>( |
const Footer = React.forwardRef<HTMLElement, FooterProps>( |
||||
({className, ...props}, ref) => { |
({ className, ...props }, ref) => { |
||||
return ( |
return ( |
||||
<footer |
<footer |
||||
className={`flex flex- justify-center pl-2 pr-2 pb-2 ${className}`} |
className={`flex flex- justify-center p-2 ${className}`} |
||||
style={{ |
style={{ |
||||
backgroundColor: "var(--backgroundPrimary)", |
backgroundColor: "var(--backgroundPrimary)", |
||||
color: "var(--textPrimary)", |
color: "var(--textPrimary)", |
||||
}} |
}} |
||||
> |
> |
||||
<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" |
className="hover:underline" |
||||
style={{ color: "var(--link)" }} |
style={{ color: "var(--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" |
||||
className="hover:underline" |
style={{ color: "var(--link)" }} |
||||
style={{ color: "var(--link)" }} |
> |
||||
> |
Legal Information |
||||
Legal Information |
</a> |
||||
</a> |
</p> |
||||
</p> |
</footer> |
||||
</footer> |
); |
||||
); |
}, |
||||
}); |
); |
||||
|
|
||||
export default Footer; |
export default Footer; |
||||
|
|||||
Loading…
Reference in new issue