Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion web/src/components/layout/components/public-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.

For commercial licensing, please contact support@quantumnous.com
*/
import { cn } from '@/lib/utils'

import type { TopNavLink } from '../types'
import { PublicHeader, type PublicHeaderProps } from './public-header'

type PublicLayoutProps = {
children: React.ReactNode
className?: string
showMainContainer?: boolean
navContent?: React.ReactNode
headerProps?: Omit<PublicHeaderProps, 'navContent'>
Expand All @@ -34,7 +37,12 @@ type PublicLayoutProps = {

export function PublicLayout(props: PublicLayoutProps) {
return (
<div className='bg-background text-foreground relative min-h-svh overflow-x-clip'>
<div
className={cn(
'bg-background text-foreground relative min-h-svh overflow-x-clip',
props.className
)}
>
<PublicHeader
navContent={props.navContent}
navLinks={props.navLinks}
Expand Down
Loading
Loading