-
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
acf7301
commit b81407b
Showing
4 changed files
with
87 additions
and
0 deletions.
There are no files selected for viewing
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,12 @@ | ||
import React from 'react'; | ||
|
||
export default function Button({ children }) { | ||
return ( | ||
<button | ||
type="submit" | ||
className="gap-2.5 px-7 py-3 text-white rounded-md bg-[linear-gradient(93deg,#FF9898_0.48%,#8054FF_100%)]" | ||
> | ||
{children} | ||
</button> | ||
); | ||
} |
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,52 @@ | ||
import React from 'react'; | ||
import InputField from './InputField'; | ||
import TextArea from './TextArea'; | ||
import Button from './Button'; | ||
|
||
export default function GetInTouch() { | ||
return ( | ||
<section className='flex flex-col rounded-none'> | ||
<div className="flex flex-col items-start px-16 pt-72 pb-20 w-full bg-black max-md:px-5 max-md:pt-24 max-md:max-w-full"> | ||
<div className="w-full max-w-[1083px] max-md:max-w-full"> | ||
<div className="flex gap-5 max-md:flex-col"> | ||
<div className="flex flex-col w-6/12 max-md:ml-0 max-md:w-full"> | ||
<img | ||
loading="lazy" | ||
src="https://cdn.builder.io/api/v1/image/assets/0a7524ba7fb14db381bea79b3ad860c0/ee8473bac2c38243506f214f206bf2453058a2ada4932007fddc9f9e45c894cc?apiKey=0a7524ba7fb14db381bea79b3ad860c0&" | ||
alt="Get in touch illustration" | ||
className="object-contain w-full aspect-square max-md:mt-10 max-md:max-w-full" | ||
/> | ||
</div> | ||
<div className="flex flex-col ml-5 w-6/12 max-md:ml-0 max-md:w-full"> | ||
<div className="flex flex-col items-start w-full text-sm leading-none text-neutral-400 max-md:mt-10 max-md:max-w-full"> | ||
<h2 className="text-5xl font-semibold leading-loose text-center text-white max-md:text-4xl"> | ||
Get In Touch | ||
</h2> | ||
<p className="self-stretch text-lg leading-7 text-neutral-400 max-md:max-w-full"> | ||
A good design is not only aesthetically pleasing, but also functional. It should be able to solve the problem | ||
</p> | ||
<form className="w-full mt-12 max-md:mt-10"> | ||
<InputField | ||
type="email" | ||
placeholder="Your Email" | ||
className="mb-5" | ||
/> | ||
<InputField | ||
type="text" | ||
placeholder="Name" | ||
className="mb-5" | ||
/> | ||
<TextArea | ||
placeholder="Message" | ||
className="mb-5" | ||
/> | ||
<Button>Get in Touch</Button> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
} |
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,12 @@ | ||
import React from 'react'; | ||
|
||
export default function InputField({ type, placeholder, className }) { | ||
return ( | ||
<input | ||
type={type} | ||
placeholder={placeholder} | ||
className={`gap-2.5 px-7 py-3 w-full rounded-md bg-zinc-900 text-neutral-400 ${className}`} | ||
aria-label={placeholder} | ||
/> | ||
); | ||
} |
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,11 @@ | ||
import React from 'react'; | ||
|
||
export default function TextArea({ placeholder, className }) { | ||
return ( | ||
<textarea | ||
placeholder={placeholder} | ||
className={`flex flex-col gap-2.5 px-7 pt-3 pb-32 w-full whitespace-nowrap rounded-md bg-zinc-900 min-h-[156px] text-neutral-400 ${className}`} | ||
aria-label={placeholder} | ||
/> | ||
); | ||
} |