From 572fec46dc54d76275d93e3190a7d6427cadcfaf Mon Sep 17 00:00:00 2001 From: Saksham Date: Sat, 29 Oct 2022 14:09:10 +0530 Subject: [PATCH] added animation in all pages using aos --- components/Faq.tsx | 2 +- components/GradientText.tsx | 8 +- components/Navbar.tsx | 2 +- .../blog-page-components/Card.tsx | 1 + .../blog-page-components/MainCard.tsx | 7 +- .../section-comonents/pricing/PricingCard.tsx | 2 + helper/constant.ts | 1 + package-lock.json | 51 +++++++++ package.json | 1 + pages/Blogs/ReadMoreBlog.tsx | 34 +++++- pages/Blogs/index.tsx | 22 +++- pages/Cancellation.tsx | 27 ++++- pages/PrivacyPolicy.tsx | 16 ++- pages/StartProject.tsx | 16 ++- pages/TermsOfServic.tsx | 102 ++++++++++++++---- sections/Clients.tsx | 17 ++- sections/Newsletter.tsx | 21 +++- sections/Pricing.tsx | 19 +++- sections/Technologies.tsx | 17 ++- sections/Testmonials.tsx | 16 ++- sections/WhyKoders.tsx | 18 +++- 21 files changed, 354 insertions(+), 46 deletions(-) diff --git a/components/Faq.tsx b/components/Faq.tsx index e03b33e..b1038bf 100644 --- a/components/Faq.tsx +++ b/components/Faq.tsx @@ -12,7 +12,7 @@ interface Props { const Faq = ({ answer, question, onClick, show }: Props) => { return ( -
+

{question} diff --git a/components/GradientText.tsx b/components/GradientText.tsx index c2b392a..4e494b6 100644 --- a/components/GradientText.tsx +++ b/components/GradientText.tsx @@ -3,10 +3,14 @@ import React from "react"; interface Props { className?: string; text: string; + aos?: string; } -const GradientText = ({ className, text }: Props) => { +const GradientText = ({ className, text, aos }: Props) => { return ( -

+

{text}

); diff --git a/components/Navbar.tsx b/components/Navbar.tsx index b28c482..d8c57e0 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -62,7 +62,7 @@ const Navbar = () => { />