mirror of
https://github.com/open-webui/docs
synced 2025-06-16 11:28:36 +00:00
refac
This commit is contained in:
21
src/theme/Layout.tsx
Normal file
21
src/theme/Layout.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
import React from 'react';
|
||||
import Layout from '@theme-original/Layout';
|
||||
import { TopBanners } from '../components/TopBanners';
|
||||
|
||||
export default function CustomLayout(props) {
|
||||
return (
|
||||
<>
|
||||
{/* <div className=' z-[1000]' >
|
||||
<div className='w-full flex justify-center'>
|
||||
<div className=' px-2 py-1'>
|
||||
<TopBanners />
|
||||
</div>
|
||||
</div>
|
||||
</div> */}
|
||||
|
||||
{/* Render the original layout (which includes the navbar and the rest) */}
|
||||
<Layout {...props} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user