forked from Charlie85270/tail-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c6f582e
commit 068673e
Showing
5 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
57 changes: 57 additions & 0 deletions
57
components/kit/components/pagesection/cta/MultipleImagesCta.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
import React from "react"; | ||
import Button from "../../elements/buttons/Button"; | ||
|
||
interface Props { | ||
title: string; | ||
description?: string; | ||
isLeft?: boolean; | ||
} | ||
|
||
const MultipleImagesCta = (props: Props) => { | ||
return ( | ||
<div | ||
className={`bg-white dark:bg-gray-800 overflow-hidden relative lg:flex lg:items-center`} | ||
> | ||
<div | ||
className={`w-full lg:w-2/3 py-12 px-4 sm:px-6 lg:py-16 lg:px-8 z-20`} | ||
> | ||
<h2 | ||
className={`text-3xl font-extrabold text-black dark:text-white sm:text-4xl`} | ||
> | ||
<span className="block">{props.title}</span> | ||
</h2> | ||
{props.description && ( | ||
<p className={`text-md mt-4 text-gray-400`}>{props.description}</p> | ||
)} | ||
<div className="lg:mt-0 lg:flex-shrink-0"> | ||
<div className={`mt-12 inline-flex rounded-md shadow`}> | ||
<Button label="Get started" color="green"></Button> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div className="flex items-center gap-8 p-8"> | ||
<img | ||
src="/images/landscape/3.jpg" | ||
className="rounded-lg w-1/2" | ||
alt="Tree" | ||
/> | ||
|
||
<div> | ||
<img | ||
src="/images/landscape/2.jpg" | ||
className="rounded-lg mb-8" | ||
alt="Tree" | ||
/> | ||
<img | ||
src="/images/landscape/4.jpg" | ||
className="rounded-lg" | ||
alt="Tree" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default MultipleImagesCta; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.