Skip to content

Commit d1d56ba

Browse files
committed
responsiveness
1 parent b22d60f commit d1d56ba

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

src/app/sections/footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const socialLinks = [
3333
];
3434
const Footer = () => {
3535
return (
36-
<section className="my-[78px] bg-white">
36+
<section className="py-[78px] bg-white">
3737
<section className="gap-[96px] flex flex-col lg:flex-row justify-center items-start p-10 lg:p-20">
3838
<div className="flex flex-col">
3939
<Image src={footerLogo} alt="footerlogo" />

src/app/sections/header.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ import { Button } from "@/components/ui/button";
66
import { Menu, X } from "lucide-react";
77
import Image from "next/image";
88

9+
910
const Header: React.FC = () => {
1011
const [isOpen, setIsOpen] = useState<boolean>(false);
1112

1213
return (
13-
<header className="w-full border-b border-[#F8E6F8] bg-white shadow-md py-2">
14+
<header className="w-full border-b border-[#F8E6F8] bg-white shadow-md py-2 sticky top-0 z-40">
1415
<div className="container mx-auto flex items-center justify-between px-4 py-4 md:px-6 h-full">
1516
<div className="pl-4">
1617
<Link href="/">
@@ -60,7 +61,7 @@ const Header: React.FC = () => {
6061
</div>
6162

6263
{isOpen && (
63-
<div className="md:hidden bg-white shadow-md border-t absolute z-10 w-screen right-[20px]">
64+
<div className="md:hidden bg-white shadow-md border-t absolute z-10 w-screen">
6465
<nav className="flex flex-col items-center py-4 space-y-4">
6566
<Link
6667
href="/features"

src/app/sections/pricing.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import PricingCard from "@/components/pricing-card";
33

44
export default function Pricing() {
55
return (
6-
<section className="xl:p-20 p-10 bg-white">
7-
<div className="w-full relative max-w-7xl m-20 lg:py-15 px-4 xl:px-15 py-10 mx-auto rounded-[14px] bg-[#1E1E1E]">
6+
<section className="xl:p-20 py-10 bg-white">
7+
<div className="w-full relative max-w-7xl lg:py-15 px-7 xl:px-15 py-10 mx-auto lg:rounded-[14px] bg-[#1E1E1E]">
88
<div className="w-fit mx-auto flex flex-col">
99
<div className="text-[#F9F] text-center text-[16px] font-semibold leading-[32px]">
1010
UNLOCK THE FULL POTENTIAL OF AI-ADGEN

0 commit comments

Comments
 (0)