引入 husky,并全局重新格式化
This commit is contained in:
@@ -7,16 +7,18 @@ export type PageProps = {
|
||||
|
||||
export default function Page(props: ComponentProps<'main'> & PageProps) {
|
||||
return (
|
||||
<main {...props} className={merge(
|
||||
`flex-auto rounded-tl-xl overflow-hidden relative`,
|
||||
)}>
|
||||
<main
|
||||
{...props}
|
||||
className={merge(
|
||||
`flex-auto rounded-tl-xl overflow-hidden relative`,
|
||||
)}>
|
||||
|
||||
{/* background */}
|
||||
<div className={`absolute inset-0 overflow-hidden`}>
|
||||
<div className={`absolute w-screen h-screen bg-gray-50`}></div>
|
||||
<div className={`absolute w-[2000px] h-[2000px] -left-[1000px] -top-[1000px] bg-radial from-blue-50/50 from-10% to-transparent to-50%`}></div>
|
||||
<div className={`absolute w-[2000px] h-[2000px] -right-[1000px] -top-[1000px] bg-radial from-blue-50/50 from-10% to-transparent to-50%`}></div>
|
||||
<div className={`absolute w-[2000px] h-[2000px] left-[calc(50%-1000px)] -bottom-[1000px] bg-radial from-blue-50/50 from-10% to-transparent to-50%`}></div>
|
||||
<div className="absolute inset-0 overflow-hidden">
|
||||
<div className="absolute w-screen h-screen bg-gray-50"></div>
|
||||
<div className="absolute w-[2000px] h-[2000px] -left-[1000px] -top-[1000px] bg-radial from-blue-50/50 from-10% to-transparent to-50%"></div>
|
||||
<div className="absolute w-[2000px] h-[2000px] -right-[1000px] -top-[1000px] bg-radial from-blue-50/50 from-10% to-transparent to-50%"></div>
|
||||
<div className="absolute w-[2000px] h-[2000px] left-[calc(50%-1000px)] -bottom-[1000px] bg-radial from-blue-50/50 from-10% to-transparent to-50%"></div>
|
||||
</div>
|
||||
|
||||
{/* content */}
|
||||
|
||||
Reference in New Issue
Block a user