Skip to content

Commit

Permalink
chore: add github link to the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelgautier committed Oct 30, 2024
1 parent 855c0fd commit 6bebe2a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion app/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { Button } from '@/components/ui/button'
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'

import NachoLogo from './nacho_logo.svg'
import { GitHubLogoIcon } from '@radix-ui/react-icons'

export default function Header() {
const session = useSession()
Expand All @@ -28,7 +29,11 @@ export default function Header() {
<Link href="/clients" className="font-medium">Clients</Link>
</div>

<div className="flex flex-1 items-center space-x-2 justify-end">
<div className="flex flex-1 items-center space-x-4 justify-end">
<Link href="https://github.com/cerberauth/nacho" rel="nofollow noopener noreferrer" target="_blank">
<GitHubLogoIcon className="w-6 h-6" />
</Link>

{user ? (
<DropdownMenu>
<DropdownMenuTrigger asChild>
Expand Down
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default function RootLayout({
<Link className="text-primary" href="/clients">Clients</Link> - <Link className="text-primary" href="/templates">Templates</Link> - <Link className="text-primary" href="/openid/providers">OpenID Connect Providers Benchmark</Link>
</p>
<p className="text-sm">
<Link className="text-gray-500 hover:text-gray-600" href="https://www.cerberauth.com/tos?utm_source=nacho" rel="nofollow noopener" target="_blank">Terms of Service</Link> - <Link className="text-gray-500 hover:text-gray-600" href="https://www.cerberauth.com/privacy?utm_source=nacho" rel="nofollow noopener" target="_blank">Privacy Policy</Link>
<Link className="text-gray-500 hover:text-gray-600" href="https://www.cerberauth.com/tos?utm_source=nacho" rel="nofollow" target="_blank">Terms of Service</Link> - <Link className="text-gray-500 hover:text-gray-600" href="https://www.cerberauth.com/privacy?utm_source=nacho" rel="nofollow" target="_blank">Privacy Policy</Link> - <Link className="text-gray-500 hover:text-gray-600" href="https://github.com/cerberauth/nacho" rel="nofollow noopener noreferrer" target="_blank">Github</Link>
</p>
<p className="text-sm text-gray-500">Proudly part of <Link className="text-primary"
href="https://www.cerberauth.com/?utm_source=nacho">CerberAuth</Link> community.</p>
Expand Down

0 comments on commit 6bebe2a

Please sign in to comment.