File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ import { GetStaticProps } from 'next';
22import Header from '../components/Header' ;
33import BookCard from '../components/BookCard' ;
44import { getBooksMetaOnly , BookMeta } from '../lib/books' ;
5+ import { Home } from "lucide-react" ;
6+ import Link from "next/link" ;
57
68export default function BooksPage ( { books } : { books : BookMeta [ ] } ) {
79 return (
@@ -24,6 +26,13 @@ export default function BooksPage({ books }: { books: BookMeta[] }) {
2426 </ div >
2527 ) }
2628 </ main >
29+ < Link
30+ href = "/"
31+ className = "fixed bottom-6 right-6 z-50 bg-white border border-gray-300 rounded-lg shadow-md p-3 hover:shadow-lg transition"
32+ aria-label = "홈으로 가기"
33+ >
34+ < Home className = "w-6 h-6 text-gray-800" />
35+ </ Link >
2736 </ >
2837 ) ;
2938}
You can’t perform that action at this time.
0 commit comments