-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added footer and style for nav and link hover
- Loading branch information
Showing
4 changed files
with
31 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
'use client' | ||
|
||
import { cn } from '@/lib/utils' | ||
|
||
|
||
const Footer = () => { | ||
return ( | ||
<footer | ||
className={cn( | ||
'flex flex-row mx-auto space-x-8 w-full mt-8', | ||
'text-gray-500', | ||
'place-content-center', | ||
)} | ||
> | ||
<a | ||
href='https://github.com/travisvn/next-mdx-template' | ||
className='hover:ring-2 rounded-md px-2 py-1 duration-150 active:scale-95 active:duration-0' | ||
target='_blank' | ||
> | ||
View on GitHub | ||
</a> | ||
</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
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