Raw
1 import clsx from "clsx"
2
3 type HomepageEdgesProps = {
4 className?: string
5 }
6
7 const HomepageEdges = ({ className }: HomepageEdgesProps) => {
8 return (
9 <>
10 <span
11 className={clsx(
12 "absolute -top-px -left-px w-[5px] h-[5px] border-t border-l border-medusa-fg-subtle",
13 className
14 )}
15 />
16 <span
17 className={clsx(
18 "absolute -top-px -right-px w-[5px] h-[5px] border-t border-r border-medusa-fg-subtle",
19 className
20 )}
21 />
22 <span
23 className={clsx(
24 "absolute -bottom-px -left-px w-[5px] h-[5px] border-b border-l border-medusa-fg-subtle",
25 className
26 )}
27 />
28 <span
29 className={clsx(
30 "absolute -bottom-px -right-px w-[5px] h-[5px] border-b border-r border-medusa-fg-subtle",
31 className
32 )}
33 />
34 </>
35 )
36 }
37
38 export default HomepageEdges