Skip to content

Commit 5187b9a

Browse files
committed
chore: remove light-effect
1 parent cd73a8b commit 5187b9a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

website/src/theme/Layout.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
import { useLocation } from '@docusaurus/router'
1+
// import { useLocation } from '@docusaurus/router'
22
import Layout from '@theme-original/Layout'
33
import React from 'react'
44

55
export default function LayoutWrapper(props) {
6-
const location = useLocation()
6+
// const location = useLocation()
77

88
return (
99
<div className="relative">
10-
{location.pathname !== '/' && <div className="light-effect pointer-events-none absolute right-[13.14%] z-[201]"></div>}
10+
{/* {location.pathname !== '/' && (
11+
<div className="pointer-events-none absolute inset-0 z-[201]">
12+
<div className="light-effect pointer-events-none absolute right-[13.14%]"></div>
13+
</div>
14+
)} */}
1115
<Layout {...props} />
1216
<div className="pointer-events-none absolute inset-0 z-[202] flex-none">
1317
<div className="size-full rounded-none bg-[url(/img/framer.png)] bg-[length:128px] bg-repeat opacity-5">

0 commit comments

Comments
 (0)