Skip to content

Commit

Permalink
feat: Container around shield
Browse files Browse the repository at this point in the history
  • Loading branch information
RezaRahemtola committed Jul 1, 2024
1 parent f20a25b commit 25e5104
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/pages/Home/DataSecuritySection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,16 @@
distributed data storage, and rigorous access controls ensure that your data remains safeguarded against
unauthorized access, surveillance, or exploitation.
</p>
<div class="tilted-image mx-auto">
<img alt="shield" class="rounded-3xl" height="622" src="../../assets/home/shield.png" width="622" />
<div
class="tilted-image mx-auto flex items-center justify-center rounded-3xl bg-neutral-white md:h-156 md:w-156"
>
<img
alt="shield"
class="shield-image rounded-3xl"
height="500"
src="../../assets/home/shield.png"
width="500"
/>
</div>
</div>
</div>
Expand Down Expand Up @@ -40,7 +48,7 @@ const onTiltedImageMove = (event: MouseEvent) => {
const onTiltedImageLeave = () => {
// @ts-ignore
document.querySelector(".tilted-image img")!.style.transform = "rotateX(0deg) rotateY(0deg)";
document.querySelector(".tilted-image .shield-image")!.style.transform = "rotateX(0deg) rotateY(0deg)";
};
onMounted(() => {
Expand Down

0 comments on commit 25e5104

Please sign in to comment.