Skip to content

Commit

Permalink
CORE: highlite tutorial (#1133) (#1134)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekachxaidze98 authored Apr 4, 2024
1 parent 76ed7c9 commit 3f4a07a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions pages/services/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const FeaturesSection = ({ id, description, title, video, features }) => {
type="button"
onClick={() => setVisibleVideo(true)}
>
<div className={styles.pulse} />
<img src="/images/services/video_placeholder.svg" alt="video" />
</button>
)}
Expand Down
23 changes: 23 additions & 0 deletions pages/services/services.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
}
&-video-img {
margin-right: 1rem;
position: relative;
&:hover,
&:focus {
--button-overlay: none;
Expand All @@ -37,6 +38,28 @@
width: 100%;
height: auto;
}
.pulse {
position: absolute;
top: 18%;
left: 22%;
width: 100px;
height: 100px;
border-radius: 50%;
background-color: rgba(255, 0, 0, 0.5);
animation: pulse 2s infinite;
z-index: -1;
}

@keyframes pulse {
0% {
transform: scale(0);
opacity: 1;
}
100% {
transform: scale(2);
opacity: 0;
}
}
}
&-title {
display: block;
Expand Down

0 comments on commit 3f4a07a

Please sign in to comment.