1
0
Fork 0
This repository has been archived on 2025-08-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
backup-websites-2024-01/src/components/CallToAction.tsx
Vojtech Mares 8280fb59d6
refactor: use @ prefixed imports
This allows to get rid of the path `./../` and use a common way to import components or anything from `src/` directory.

IMHO this improves readability by a mile.
2022-12-03 19:30:30 +01:00

37 lines
1.2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import Image from 'next/image'
import { Button } from '@/components/Button'
import { Container } from '@/components/Container'
import backgroundImage from '@/images/background-call-to-action.jpg'
export function CallToAction() {
return (
<section
id="get-started-today"
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={2347}
height={1244}
unoptimized
/>
<Container className="relative">
<div className="mx-auto max-w-lg text-center">
<h2 className="font-display text-3xl tracking-tight text-white sm:text-4xl">
Deploy your app today
</h2>
<p className="mt-4 text-lg tracking-tight text-white">
Its time to step up your infrastructure. Your infrastructure should bring your
application to the world, not to hold it back.
</p>
<Button href="/contact" color="white" className="mt-10">
Schedule a 30 minute call
</Button>
</div>
</Container>
</section>
)
}