Skip to content

Commit

Permalink
resolved linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
oscaroneim committed Nov 3, 2024
1 parent 36efce0 commit 87f1b82
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions src/components/CallToAction.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Image from "next/image";
import Map from "../../public/images/map.png";
import Button from "../components/Button/page";
import Link from "next/link";

export default function CallToAction() {
return (
Expand All @@ -11,16 +11,19 @@ export default function CallToAction() {
alt="Oxfordshire & Buckinghamshire"
width={300}
height={200}
layout="responsive"
/>
</div>
<h1 className="text-2xl md:text-4xl font-bold z-10 text-darkblue text-center drop-shadow-custom">
<h1 className="text-4xl font-bold z-10 text-darkblue text-center drop-shadow-custom">
OXFORDSHIRE &<span className="block">BUCKINGHAMSHIRE</span>
</h1>
<h2 className="text-orange text-xl md:text-3xl font-bold italic text-center drop-shadow-custom">
We've got you<span className="block">covered!</span>
<h2 className="text-orange text-3xl font-bold italic text-center drop-shadow-custom">
We&apos;ve got you<span className="block">covered!</span>
</h2>
<Button />
<Link href="/contact">
<button className="w-auto h-auto bg-lightblue text-white font-bold px-8 py-4 rounded-md drop-shadow-lg">
Get a quote
</button>
</Link>
</div>
);
}
2 changes: 1 addition & 1 deletion src/components/NavBar/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function NavBar() {
<Button />
</div>
<div className="md:flex text-xl md:items-center md:justify-between font-bold md:gap-4 hidden pr-4">
<p className="text-darkblue text-nowrap">
<p className="text-white text-nowrap md:h-auto md:w-auto md:bg-lightblue md:py-1 md:px-2 md:rounded-md">
<Link href={"/contact"}>Contact Us</Link>
</p>
<Phone className="w-6 h-6" />
Expand Down

0 comments on commit 87f1b82

Please sign in to comment.