refactor: replace background images with solid color
This commit is contained in:
parent
c54d147102
commit
e9cb6aba9b
6 changed files with 0 additions and 21 deletions
|
|
@ -1,8 +1,5 @@
|
||||||
import Image from "next/image";
|
|
||||||
|
|
||||||
import { Button } from "@/components/Button";
|
import { Button } from "@/components/Button";
|
||||||
import { Container } from "@/components/Container";
|
import { Container } from "@/components/Container";
|
||||||
import backgroundImage from "@/images/background-call-to-action.jpg";
|
|
||||||
|
|
||||||
export function CallToAction() {
|
export function CallToAction() {
|
||||||
return (
|
return (
|
||||||
|
|
@ -10,14 +7,6 @@ export function CallToAction() {
|
||||||
id="get-started-today"
|
id="get-started-today"
|
||||||
className="relative overflow-hidden bg-blue-600 py-32"
|
className="relative overflow-hidden bg-blue-600 py-32"
|
||||||
>
|
>
|
||||||
<Image
|
|
||||||
className="absolute top-1/2 left-1/2 max-w-none -translate-x-1/2 -translate-y-1/2"
|
|
||||||
src={backgroundImage}
|
|
||||||
alt=""
|
|
||||||
width={1920}
|
|
||||||
height={1015}
|
|
||||||
loading="eager"
|
|
||||||
/>
|
|
||||||
<Container className="relative">
|
<Container className="relative">
|
||||||
<div className="mx-auto max-w-xl text-center">
|
<div className="mx-auto max-w-xl text-center">
|
||||||
<h2 className="font-display text-3xl tracking-tight text-white sm:text-4xl">
|
<h2 className="font-display text-3xl tracking-tight text-white sm:text-4xl">
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,6 @@
|
||||||
import Image from "next/image";
|
|
||||||
import clsx from "clsx";
|
import clsx from "clsx";
|
||||||
|
|
||||||
import { Container } from "@/components/Container";
|
import { Container } from "@/components/Container";
|
||||||
import backgroundImage from "@/images/background-features.jpg";
|
|
||||||
|
|
||||||
const steps = [
|
const steps = [
|
||||||
{
|
{
|
||||||
|
|
@ -34,14 +32,6 @@ export function PrimaryFeatures() {
|
||||||
aria-label="Features for running your books"
|
aria-label="Features for running your books"
|
||||||
className="relative overflow-hidden bg-blue-600 pt-20 pb-28 sm:py-32"
|
className="relative overflow-hidden bg-blue-600 pt-20 pb-28 sm:py-32"
|
||||||
>
|
>
|
||||||
<Image
|
|
||||||
className="absolute top-1/2 left-1/2 max-w-none translate-x-[-44%] translate-y-[-42%]"
|
|
||||||
src={backgroundImage}
|
|
||||||
alt=""
|
|
||||||
width={1920}
|
|
||||||
height={1400}
|
|
||||||
loading="eager"
|
|
||||||
/>
|
|
||||||
<Container className="relative">
|
<Container className="relative">
|
||||||
<div className="max-w-2xl md:mx-auto md:text-center xl:max-w-none">
|
<div className="max-w-2xl md:mx-auto md:text-center xl:max-w-none">
|
||||||
<h2 className="font-display text-3xl tracking-tight text-white sm:text-4xl md:text-5xl">
|
<h2 className="font-display text-3xl tracking-tight text-white sm:text-4xl md:text-5xl">
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 162 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 74 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 181 KiB |
Reference in a new issue