forked 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="flex flex-col gap-4 px-4 my-4 mx-0 w-full text-sm sm:flex-row sm:justify-between sm:items-center sm:px-6 sm:my-12 sm:mx-auto sm:max-w-3xl sm:h-5">
<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 gap-2 justify-start items-center">
<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>
)
}