Skip to content

Commit

Permalink
chore: remove light-effect
Browse files Browse the repository at this point in the history
  • Loading branch information
sonofmagic committed Jan 15, 2025
1 parent cd73a8b commit 5187b9a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions website/src/theme/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
import { useLocation } from '@docusaurus/router'
// import { useLocation } from '@docusaurus/router'
import Layout from '@theme-original/Layout'
import React from 'react'

export default function LayoutWrapper(props) {
const location = useLocation()
// const location = useLocation()

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

0 comments on commit 5187b9a

Please sign in to comment.