diff --git a/src/components/photos/index.tsx b/src/components/photos/index.tsx index 90c168d..072affb 100644 --- a/src/components/photos/index.tsx +++ b/src/components/photos/index.tsx @@ -58,11 +58,13 @@ export const Photos: FunctionalComponent = () => { class={style.gallery} onClick={() => (shouldAnimate.current = false)} > -
- +
+ {photosMap.map((url) => ( ))} + +
); diff --git a/src/components/photos/style.scss b/src/components/photos/style.scss index 663666b..36ce26d 100644 --- a/src/components/photos/style.scss +++ b/src/components/photos/style.scss @@ -20,7 +20,7 @@ } } -.block { +.blockleft { position: absolute; margin-top: -120px; margin-left: 120px; @@ -32,6 +32,18 @@ transform: rotate(-90deg); } +.blockright { + position: absolute; + margin-top: -120px; + margin-left: 775px; + display: block; + width: 260px; + height: 500px; + background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.00) 50%); + z-index: 2; + transform: rotate(90deg); + } + .gallery { display: flex;