File tree 2 files changed +11
-3
lines changed
app/(thank-you-pages)/contact-thank-you
components/sections/contact-form
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import { LandingLayout } from '@/components/layout/landing-layout';
2
2
import { SuccessHero } from '@/components/sections/success-hero' ;
3
3
4
4
import { Text } from '@/components/elements/text' ;
5
- import { Link } from '@/components/elements/link' ;
6
5
import { Button } from '@/components/elements/button' ;
7
6
import Stack from '@/components/elements/stack' ;
8
7
@@ -28,7 +27,7 @@ export default function ContactThankYouPage() {
28
27
< Button
29
28
href = "https://github.com/httptoolkit/httptoolkit/issues/"
30
29
$variant = "secondary"
31
- > Check out GitHub</ Button >
30
+ > Discuss on GitHub</ Button >
32
31
</ Stack >
33
32
}
34
33
/>
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { Input } from '@/components/modules/input';
7
7
export const ContactForm = ( ) => {
8
8
return (
9
9
< StyledContactFormWrapper >
10
- < form action = "https://formspree.io/f/xvoyrlba " method = "POST" >
10
+ < form action = "https://accounts.httptoolkit.tech/api/contact-form " method = "POST" >
11
11
< Stack $gapxl = "32px" >
12
12
< Stack $gapxl = "16px" >
13
13
< Input label = "Your Name" id = "name" placeholder = "e.g. Holly Smith" required type = "text" />
@@ -19,6 +19,15 @@ export const ContactForm = () => {
19
19
placeholder = "Your message..."
20
20
required
21
21
/>
22
+ < div style = { { display : 'none' } } >
23
+ < Input
24
+ label = "Phone number (this should be invisible - don't complete it)"
25
+ id = "phone"
26
+ type = "text"
27
+ value = ""
28
+ placeholder = "If you're a real person, leave this empty"
29
+ />
30
+ </ div >
22
31
</ Stack >
23
32
< Button type = "submit" $isFluid >
24
33
Submit the form
You can’t perform that action at this time.
0 commit comments