got bg-images working with passing in url
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
import classNames from "classnames";
|
||||
import { Playfair_Display, Fraunces } from "next/font/google"
|
||||
import Tagline from "../components/Tagline";
|
||||
|
||||
const playfair = Playfair_Display({ weight: "500",subsets: ["latin"] })
|
||||
const fraunces = Fraunces({ subsets: ["latin"] })
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<>
|
||||
<Tagline
|
||||
bgColor="bg-britton-light"
|
||||
textColor="text-britton-dark"
|
||||
textTop="Healthcare that's"
|
||||
textBottom="truly affordable"
|
||||
/>
|
||||
<div className="flex justify-center p-5">
|
||||
<div className="w-11/12 h-4 bg-britton-medium text-center text-britton-dark text-7xl rounded-3xl p-4">
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex justify-center p-5">
|
||||
<div className="w-11/12 h-4 bg-britton-neutral text-center text-britton-dark text-7xl rounded-3xl p-4">
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex justify-center p-5">
|
||||
<div className="w-11/12 h-4 bg-britton-accent text-center text-britton-dark text-7xl rounded-3xl p-4">
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user