Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tilt effect to privacy policy and terms and conditions page #322

Merged
merged 2 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/components/Privacy.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from "react";
import "./privacy.css";
import Tilty from "react-tilty";

const Privacy = () => {
return (
Expand Down Expand Up @@ -32,20 +33,24 @@ const Privacy = () => {
</ul>
</div>
<div className="flex flex-col justify-center">
<Tilty>
<img
src="https://termshub.io/v3/assets/images/products/privacy_policy_hero.svg"
alt="Privacy"
className="rounded-lg"
/>
</Tilty>
</div>
</div>
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 mt-8">
<div className="flex flex-col justify-center">
<Tilty>
<img
src="https://static.vecteezy.com/system/resources/previews/005/843/413/original/abstract-cyber-security-privacy-information-network-concept-padlock-protection-digital-network-personal-data-cyber-data-or-information-privacy-idea-internet-link-on-hi-tech-blue-future-background-vector.jpg"
alt="Data Protection"
className="rounded-lg shadow-lg"
/>
/>
</Tilty>
</div>
<div>
<h2 className="rounded-md about-title text-2xl text-center italic font-semibold bg-gradient-to-r from-sky-500 ">
Expand Down Expand Up @@ -121,20 +126,24 @@ const Privacy = () => {
</div>

<div className="flex flex-col justify-center">
<Tilty>
<img
src="https://www.nojitter.com/sites/default/files/ribkhan___0.jpg"
alt="Information Sharing"
className="rounded-lg shadow-lg"
/>
</Tilty>
</div>
</div>
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 mt-8">
<div className="flex flex-col justify-center">
<Tilty>
<img
src="https://media.gettyimages.com/id/1345282963/photo/education-and-light-bulb-concept.jpg?s=2048x2048&w=gi&k=20&c=RcmHc2qcf_k_HHq0Qbl0a1_GlDdfKK05rsLf8LYw2Z4="
alt="User Rights"
className="rounded-lg shadow-lg"
/>
</Tilty>
</div>
<div>
<h2 className="rounded-md about-title text-2xl text-center italic font-semibold bg-gradient-to-r from-sky-500 mb-8">
Expand Down
12 changes: 11 additions & 1 deletion src/components/Terms.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from "react";
import './terms.css';
import Tilty from "react-tilty";

import termsImage from '../assets/terms.png'

Expand All @@ -22,20 +23,25 @@ const Terms = () => {
</ul>
</div>
<div className="flex flex-col justify-center">
<img
<Tilty> <img
src={termsImage}
alt="Terms"
className="rounded-lg"
/>
</Tilty>


</div>
</div>
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 mt-4">
<div className="flex flex-col justify-center">
<Tilty>
<img
src="https://d1n03xfl93cx9q.cloudfront.net/wp-content/uploads/2022/09/what-is-the-future-of-IT-managed-services.jpg"
alt="Usage"
className="rounded-lg shadow-lg"
/>
</Tilty>
</div>
<div>
<h2 className="rounded-md about-title text-2xl text-center italic font-semibold bg-gradient-to-r from-green-500">Usage of Service</h2>
Expand Down Expand Up @@ -67,20 +73,24 @@ const Terms = () => {
</ul>
</div>
<div className="flex flex-col justify-center">
<Tilty>
<img
src="https://img.freepik.com/premium-photo/business-team-collaboration-showing-unity-with-their-hands-stacked-together_49071-4483.jpg?w=1380"
alt="User Responsibilities"
className="rounded-lg shadow-lg"
/>
</Tilty>
</div>
</div>
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 mt-8">
<div className="flex flex-col justify-center">
<Tilty>
<img
src="https://termshub.io/v3/assets/images/products/privacy_policy_hero.svg"
alt="Changes to Policy"
className="rounded-lg"
/>
</Tilty>
</div>
<div>
<h2 className="rounded-md about-title text-2xl text-center italic font-semibold bg-gradient-to-r from-green-500 mb-8">Changes to Terms</h2>
Expand Down