From 3d4d49935ed80f561922c1792565b044ac948f8d Mon Sep 17 00:00:00 2001 From: sam-shervin Date: Mon, 18 Mar 2024 19:12:08 +0530 Subject: [PATCH] footer and font fix, animations and spacings done right --- src/components/countdown.tsx | 2 +- src/components/footer.tsx | 9 ++++---- src/components/header.tsx | 5 ++--- src/pages/_app.tsx | 19 ++++++++++++---- src/pages/index.tsx | 43 ++++++++++++++++++++++++++---------- src/styles/globals.css | 2 ++ tailwind.config.ts | 1 - 7 files changed, 56 insertions(+), 25 deletions(-) diff --git a/src/components/countdown.tsx b/src/components/countdown.tsx index 0d0cf5a..d1d1ddb 100644 --- a/src/components/countdown.tsx +++ b/src/components/countdown.tsx @@ -61,7 +61,7 @@ export default function Countdown({ return (
-
+

{timeLeft.days}

{timeLeft.hours}

diff --git a/src/components/footer.tsx b/src/components/footer.tsx index c41ad31..94a8f75 100644 --- a/src/components/footer.tsx +++ b/src/components/footer.tsx @@ -64,7 +64,7 @@ const Footer = () => { Contacts -
+
Address
@@ -73,9 +73,10 @@ const Footer = () => { href="https://goo.gl/maps/C9UE9JLWnBAfQPKe7" target="_blank" rel="noreferrer" - className="my-3 block text-white hover:text-gray-200 text-base lg:text-sm lg:pr-32" + className="my-3 block text-white hover:text-gray-200 text-base lg:text-sm lg:pr-16" > - Kelambakkam - Vandalur Rd, Rajan Nagar, Chennai, Tamil Nadu 600127 + Kelambakkam - Vandalur Rd, Rajan Nagar, Chennai, Tamil Nadu - + 600127
@@ -92,7 +93,7 @@ const Footer = () => {
-
+
Social Media
diff --git a/src/components/header.tsx b/src/components/header.tsx index 82e0e03..1a52ef2 100644 --- a/src/components/header.tsx +++ b/src/components/header.tsx @@ -1,5 +1,4 @@ import Link from "next/link"; -import { useRouter } from "next/router"; import * as React from "react"; const Navbar = ({ @@ -11,8 +10,8 @@ const Navbar = ({ }): JSX.Element => { return ( <> -
-