From a11da78a4252f0c1cc87341b97f202d622c797cc Mon Sep 17 00:00:00 2001 From: sanjidaRimi023 Date: Sun, 19 Apr 2026 21:58:53 +0600 Subject: [PATCH] feat:added the privacy page with clean ui --- src/App.tsx | 17 ++-- src/components/AboutSection.tsx | 83 ++++++++++------ src/components/BlogSection.tsx | 30 +++--- src/components/ContactSection.tsx | 36 +------ src/components/Footer.tsx | 4 +- src/components/HeroSection.tsx | 45 +++++---- src/data/privacyData.tsx | 80 +++++++++++++++ src/pages/Index.tsx | 24 ++--- src/pages/PrivacyPolicy.tsx | 157 ++++++++++++++++++++++++++++++ 9 files changed, 354 insertions(+), 122 deletions(-) create mode 100644 src/data/privacyData.tsx create mode 100644 src/pages/PrivacyPolicy.tsx diff --git a/src/App.tsx b/src/App.tsx index 8f63587..538e566 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,17 +1,19 @@ -import { Toaster } from "@/components/ui/toaster"; import { Toaster as Sonner } from "@/components/ui/sonner"; +import { Toaster } from "@/components/ui/toaster"; import { TooltipProvider } from "@/components/ui/tooltip"; -import { BrowserRouter, Routes, Route, useLocation } from "react-router-dom"; import { ThemeProvider } from "@/contexts/ThemeContext"; import { AnimatePresence } from "framer-motion"; -import Index from "./pages/Index"; -import Projects from "./pages/Projects"; -import ProjectDetails from "./pages/ProjectDetails"; +import { BrowserRouter, Route, Routes, useLocation } from "react-router-dom"; +import Footer from "./components/Footer"; +import Navbar from "./components/Navbar"; import Blog from "./pages/Blog"; import BlogArticle from "./pages/BlogArticle"; +import Index from "./pages/Index"; import NotFound from "./pages/NotFound"; +import ProjectDetails from "./pages/ProjectDetails"; +import Projects from "./pages/Projects"; import { QueryProvider } from "./provider/QueryProvider"; - +import { PrivacyPolicy } from "./pages/PrivacyPolicy"; function AnimatedRoutes() { const location = useLocation(); @@ -26,6 +28,7 @@ function AnimatedRoutes() { } /> {/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */} } /> + } /> ); @@ -38,7 +41,9 @@ const App = () => ( + +