-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #274 from rcarteraz/add-footer
- Loading branch information
Showing
9 changed files
with
368 additions
and
313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import React from "react"; | ||
|
||
export interface FooterProps extends React.HTMLAttributes<HTMLElement> {} | ||
|
||
const Footer = React.forwardRef<HTMLElement, FooterProps>( | ||
({ className, ...props }, ref) => { | ||
return ( | ||
<footer | ||
className={`flex flex- justify-center p-2 ${className}`} | ||
style={{ | ||
backgroundColor: "var(--backgroundPrimary)", | ||
color: "var(--textPrimary)", | ||
}} | ||
> | ||
<p> | ||
<a | ||
href="https://vercel.com/?utm_source=meshtastic&utm_campaign=oss" | ||
className="hover:underline" | ||
style={{ color: "var(--link)" }} | ||
> | ||
Powered by ▲ Vercel | ||
</a>{" "} | ||
| Meshtastic® is a registered trademark of Meshtastic LLC. |{" "} | ||
<a | ||
href="https://meshtastic.org/docs/legal" | ||
className="hover:underline" | ||
style={{ color: "var(--link)" }} | ||
> | ||
Legal Information | ||
</a> | ||
</p> | ||
</footer> | ||
); | ||
}, | ||
); | ||
|
||
export default Footer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.