|
|
@ -5,9 +5,9 @@ import _ from "lodash"; |
|
|
|
|
|
|
|
|
|
|
|
export default function Header() { |
|
|
|
export default function Header() { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<header className="container flex flex-row justify-between z-50 transform -translate-y-24"> |
|
|
|
<header className="container flex flex-row justify-between z-20 transform -translate-y-24"> |
|
|
|
{[32, 17, 0, -17, -32].map((light, index) => ( |
|
|
|
{[32, 17, 0, -17, -32].map((light, index) => ( |
|
|
|
<Light degree={light} key={index}/> |
|
|
|
<Light degree={light} key={index} /> |
|
|
|
))} |
|
|
|
))} |
|
|
|
</header> |
|
|
|
</header> |
|
|
|
); |
|
|
|
); |
|
|
@ -18,17 +18,14 @@ const Light = ({ degree }) => { |
|
|
|
<div |
|
|
|
<div |
|
|
|
className="flex flex-col items-center relative" |
|
|
|
className="flex flex-col items-center relative" |
|
|
|
style={{ transform: `rotate(${degree}deg)` }} |
|
|
|
style={{ transform: `rotate(${degree}deg)` }} |
|
|
|
|
|
|
|
draggable={false} |
|
|
|
> |
|
|
|
> |
|
|
|
<img src={projectorIcon} alt="" className="w-12 h-12" /> |
|
|
|
<img src={projectorIcon} alt="" className="w-12 h-12" draggable={false} /> |
|
|
|
<img |
|
|
|
<img |
|
|
|
|
|
|
|
draggable={false} |
|
|
|
src={lightIcon} |
|
|
|
src={lightIcon} |
|
|
|
alt="" |
|
|
|
alt="" |
|
|
|
className={_.join( |
|
|
|
className={_.join(["absolute z-50 light-animation"], " ")} |
|
|
|
[ |
|
|
|
|
|
|
|
"absolute z-50 light-animation", |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
" " |
|
|
|
|
|
|
|
)} |
|
|
|
|
|
|
|
style={{ transform: `scale(6) translateY(24%)` }} |
|
|
|
style={{ transform: `scale(6) translateY(24%)` }} |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|