Skip to content

Commit

Permalink
Merge pull request #255 from maretol/add-layout
Browse files Browse the repository at this point in the history
add layouts
  • Loading branch information
maretol authored Jan 12, 2025
2 parents c1fab49 + f46fd1f commit 7ccb71b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
5 changes: 5 additions & 0 deletions pages/app/about/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import BaseLayout from '@/components/large/base_layout'

export default function AbountLayout({ children }: { children: React.ReactNode }) {
return <BaseLayout>{children}</BaseLayout>
}
5 changes: 5 additions & 0 deletions pages/app/contact/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import BaseLayout from '@/components/large/base_layout'

export default function ContactLayout({ children }: { children: React.ReactNode }) {
return <BaseLayout>{children}</BaseLayout>
}
5 changes: 5 additions & 0 deletions pages/app/tag/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import BaseLayout from '@/components/large/base_layout'

export default function TagLayout({ children }: { children: React.ReactNode }) {
return <BaseLayout>{children}</BaseLayout>
}
2 changes: 1 addition & 1 deletion pages/components/middle/comicbook.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default function ComicBook(props: ComicBookProps) {
}

return (
<div className="h-[95vh] w-full bg-gray-700 static" onKeyDown={keyEvent} tabIndex={0}>
<div className="h-[95vh] min-h-[95vh] w-full bg-gray-700 static" onKeyDown={keyEvent} tabIndex={0}>
<div
className={cn(
'absolute top-0 left-0 w-full flex justify-center items-center bg-gray-300',
Expand Down

0 comments on commit 7ccb71b

Please sign in to comment.