mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
36 lines
995 B
JavaScript
36 lines
995 B
JavaScript
import React from "react";
|
|
import classNames from "classnames";
|
|
|
|
const LINKS = [
|
|
{ text: "Documentation", url: "https://bun.com/docs" },
|
|
{ text: "GitHub", url: "https://github.com/oven-sh/bun" },
|
|
{ text: "Discord", url: "https://bun.com/discord" },
|
|
{ text: "Blog", url: "https://bun.com/blog" },
|
|
];
|
|
|
|
export default function Footer() {
|
|
return (
|
|
<footer className="footer">
|
|
<div className="footer-content">
|
|
<div className="footer-logo">
|
|
<span className="logo-small">🥟</span>
|
|
<span className="footer-text">Built with Bun</span>
|
|
</div>
|
|
<nav className="footer-links">
|
|
{LINKS.map(({ text, url }) => (
|
|
<a
|
|
key={text}
|
|
href={url}
|
|
className={classNames("footer-link", "hover:text-accent")}
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
>
|
|
{text}
|
|
</a>
|
|
))}
|
|
</nav>
|
|
</div>
|
|
</footer>
|
|
);
|
|
}
|