-
-
Notifications
You must be signed in to change notification settings - Fork 639
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
ac5f32b
commit 5ef718f
Showing
17 changed files
with
192 additions
and
392 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,17 @@ | ||
import Button from '../buttons/Button' | ||
import Heading from "../typography/Heading" | ||
import Heading from '../typography/Heading' | ||
import Paragraph from '../typography/Paragraph' | ||
|
||
function ContactUs() { | ||
const hash = window.location.hash; | ||
if (hash) { | ||
const targetElement = document.querySelector(hash); | ||
if (targetElement) { | ||
targetElement.scrollIntoView({ behavior: 'smooth' }); | ||
} | ||
} | ||
return ( | ||
<> | ||
<div> | ||
<div className="grid lg:grid-cols-9 lg:gap-8 lg:text-center my-16"> | ||
<div className="col-start-3 col-span-5"> | ||
<div id="contact"> | ||
<div className="mx-2"> | ||
<Heading level="h1" typeStyle="heading-md"><h1 id="contact-us">Interested in getting in touch?</h1></Heading> | ||
<Paragraph typeStyle="body-sm" className="my-2 max-w-4xl"> | ||
Feel free to contact us if you need more explanation. We are happy to hop on a call and help with | ||
onboarding to the project as a sponsor. Write email to <span><a style={{ color: "#8054F2", fontWeight: 900 }} href="mailto:[email protected]" target='_blank'>[email protected]</a></span> | ||
onboarding to the project as a sponsor. Write email to <span><a className="text-[#8054F2] font-black" href="mailto:[email protected]" target='_blank'>[email protected]</a></span> | ||
</Paragraph> | ||
</div> | ||
</div> | ||
|
@@ -30,15 +23,7 @@ function ContactUs() { | |
target='_blank' | ||
/> | ||
</div> | ||
<style> | ||
{` | ||
@media (max-width: 768px) { | ||
#contact{ | ||
margin-left:10px; | ||
} | ||
`} | ||
</style> | ||
</> | ||
</div> | ||
) | ||
} | ||
|
||
|
Oops, something went wrong.