generated from nextauthjs/next-auth-example
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.tsx
29 lines (28 loc) · 1.08 KB
/
footer.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import CustomLink from "./custom-link"
import packageJSON from "next-auth/package.json"
export default function Footer() {
return (
<footer className="mx-0 my-4 flex w-full flex-col gap-4 px-4 text-sm sm:mx-auto sm:my-12 sm:h-5 sm:max-w-3xl sm:flex-row sm:items-center sm:justify-between sm:px-6">
<div className="flex flex-col gap-4 sm:flex-row">
<CustomLink href="https://nextjs.authjs.dev">Documentation</CustomLink>
<CustomLink href="https://www.npmjs.com/package/next-auth">
NPM
</CustomLink>
<CustomLink href="https://github.com/nextauthjs/next-auth/tree/main/apps/examples/nextjs">
Source on GitHub
</CustomLink>
<CustomLink href="/policy">Policy</CustomLink>
</div>
<div className="flex items-center justify-start gap-2">
<img
className="size-5"
src="https://authjs.dev/img/logo-sm.png"
alt="Auth.js Logo"
/>
<CustomLink href="https://npmjs.org/package/next-auth">
{packageJSON.version}
</CustomLink>
</div>
</footer>
)
}