From a35cf7532656b75849c37c428aeda3c33cf31cb9 Mon Sep 17 00:00:00 2001 From: Anmol-Baranwal <74038190+Anmol-Baranwal@users.noreply.github.com> Date: Thu, 3 Aug 2023 16:06:29 +0530 Subject: [PATCH] chore: update styling of homepage on small devices --- components/Footer.tsx | 12 ++++++------ components/landing/Banner.tsx | 4 ++-- components/landing/Home.tsx | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/components/Footer.tsx b/components/Footer.tsx index 32bc61fb..e4ba6a1f 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -23,7 +23,7 @@ function Footer() { name: "Linkedin", link: "https://linkedin.com/in/priyankarpal", icon: , - hover: " text-xl text-gray-200 cursor-pointer hover:text-purple-500 ", + hover: " text-xl text-gray-200 cursor-pointer hover:text-purple-700 ", } ] @@ -73,7 +73,7 @@ function Footer() {
-
Ph .
+
Ph .

@@ -103,10 +103,10 @@ function Footer() { className="grid grid-cols-1 gap-8 text-center lg:grid-cols-2 lg:text-left" > {/* for footer docs links */} -

    +
      {footerdocsLinks.map((section, index) => (
      -

      {section.title}

      +

      {section.title}

        {section.child.map((link, linkIndex) => (
      • @@ -124,7 +124,7 @@ function Footer() {
          {footerServiceLinks.map((section, index) => (
          -

          {section.title}

          +

          {section.title}

            {section.child.map((link, linkIndex) => (
          • @@ -150,4 +150,4 @@ function Footer() { ); } -export default Footer; +export default Footer; \ No newline at end of file diff --git a/components/landing/Banner.tsx b/components/landing/Banner.tsx index 73bfc56f..2814f400 100644 --- a/components/landing/Banner.tsx +++ b/components/landing/Banner.tsx @@ -37,7 +37,7 @@ export default function Banner() { whileInView={{ opacity: 1, y: 0 }} viewport={{ once: true }} transition={{ duration: 0.5, type: "spring", stiffness: 110 }} - className="mt-2 text-3xl font-bold tracking-tight text-white sm:text-4xl"> + className="mt-2 sm:mt-0 text-3xl font-bold tracking-tight text-white sm:text-4xl"> Why should you use this?
          -
          +
          {features.map((feature, i) => ( -
          +
          +