mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
theme-heo-hero-layout
This commit is contained in:
@@ -7,18 +7,31 @@
|
||||
const Hero = props => {
|
||||
return (
|
||||
<>
|
||||
|
||||
<notice className="max-w-[88rem] w-full mx-auto flex h-16 px-5">
|
||||
<div className="bg-indigo-100 w-full h-full"></div>
|
||||
<notice className="max-w-[88rem] w-full mx-auto flex h-12 mb-4 px-5 font-bold">
|
||||
<div className="bg-white rounded-xl border w-full h-full flex items-center justify-between px-5">
|
||||
<div>左侧 图表</div>
|
||||
<div className="w-full h-full hover:text-indigo-600 flex justify-center items-center">这里是公告栏</div>
|
||||
<div>右侧按钮</div>
|
||||
</div>
|
||||
</notice>
|
||||
|
||||
<hero id="hero" style={{ zIndex: 1 }} className="max-w-[88rem] w-full mx-auto flex relative px-5" >
|
||||
<hero id="hero" style={{ zIndex: 1 }} className="max-w-[88rem] w-full mx-auto flex relative space-x-3 px-5" >
|
||||
<div id='hero-left' className='flex flex-col flex-1 bg-red-200'>
|
||||
<div className="h-60 bg-blue-200 my-2"></div>
|
||||
<div className="h-20 bg-yellow-100 my-2"></div>
|
||||
<div className="h-60 bg-white rounded-xl border my-2"></div>
|
||||
<div className="h-20 flex flex-nowrap justify-between space-x-3 my-2">
|
||||
<div className="bg-white rounded-xl border flex-1">
|
||||
|
||||
</div>
|
||||
<div className="bg-white rounded-xl border flex-1">
|
||||
|
||||
</div>
|
||||
<div className="bg-white rounded-xl border flex-1">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id='hero-right' className='flex flex-col flex-1 bg-green-200 '>
|
||||
<div className="my-2 h-full bg-indigo-200"></div>
|
||||
<div className="my-2 h-full bg-white rounded-xl border "></div>
|
||||
|
||||
</div>
|
||||
</hero>
|
||||
|
||||
Reference in New Issue
Block a user