Skip to content

Commit

Permalink
Merge pull request #332 from MastanSayyad/main
Browse files Browse the repository at this point in the history
Added "Footer" and "Scroll to top" button in Privacy policy and Terms Pages
  • Loading branch information
Akshatchaube01 committed Jun 25, 2024
2 parents 7e83d73 + 6a0babd commit 00317d5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
12 changes: 11 additions & 1 deletion src/components/Privacy.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
import React from "react";
import "./privacy.css";
import Tilty from "react-tilty";
import BackToTop from "./BottomToTop";
import Footer from "./Footer";


const Privacy = () => {
return (
<div className="max-w-7xl mx-auto p-4 sm:p-6 lg:p-8">
<>
<div className="max-w-7xl mx-auto p-4 sm:p-6 lg:p-8" >
<BackToTop />
<div className="grid grid-cols-1 md:grid-cols-2 gap-8">
<div>
<h1 className="rounded-md about-title text-4xl text-center italic font-bold p-2 mb-8 mt-[100px] bg-gradient-to-r from-sky-500">
Expand Down Expand Up @@ -184,7 +189,12 @@ const Privacy = () => {
aliquip ex ea commodo consequat.
</p>
</div>


</div>
<Footer />
</>

);
};

Expand Down
8 changes: 8 additions & 0 deletions src/components/Terms.jsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import React from "react";
import './terms.css';
import Tilty from "react-tilty";
import BackToTop from "./BottomToTop";
import Footer from "./Footer";

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

const Terms = () => {
return (
<>
<div className="max-w-7xl mx-auto p-4 sm:p-6 lg:p-8">
<div className="grid grid-cols-1 md:grid-cols-2 gap-8">
<div>
Expand Down Expand Up @@ -113,7 +116,12 @@ const Terms = () => {
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</p>
</div>
<BackToTop />


</div>
<Footer />
</>
);
}

Expand Down
4 changes: 3 additions & 1 deletion src/components/licensing.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import React from 'react'
import './licensing.css'
import Footer from './Footer';

import BackToTop from "./BottomToTop";

const Licensing = () => {


return (
<>
<BackToTop />
<div className="licensing">
<h1>Licensing</h1>
<p>Welcome to Timewarp. The project is licensed under the MIT License. This page outlines the terms of the license and provides details on how you can use, modify, and distribute our software.</p>
Expand Down

0 comments on commit 00317d5

Please sign in to comment.