Skip to content

Commit 62870a4

Browse files
committed
Update mobile styles
1 parent 0ddb638 commit 62870a4

File tree

7 files changed

+11
-6
lines changed

7 files changed

+11
-6
lines changed

src/components/Cta.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const Cta: React.FC<CtaProps> = ({ title, subtitle, button }) => {
1919
</header>
2020

2121
<div className={styles.cta__actions}>
22-
<Button href="mailto:contact@apsis.io?subject=Apsis Project Inquiry" size="lg" EndIcon={ChevronRight}>{button}</Button>
22+
<Button href="/hire" size="lg" EndIcon={ChevronRight}>{button}</Button>
2323
</div>
2424
</div>
2525
);

src/components/Footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ export const Footer = () => (
3636
</Link>
3737
</li>
3838
<li>
39-
<Link className="link" href="mailto:contact@apsis.io">
40-
contact@apsis.io
39+
<Link className="link" href="/hire">
40+
Hire us
4141
</Link>
4242
</li>
4343
</ul>

src/components/Hero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const Hero = () => {
9090

9191
<div className={styles.hero__actions}>
9292
<Button
93-
href="mailto:contact@apsis.io?subject=Apsis Project Inquiry"
93+
href="/hire"
9494
EndIcon={ChevronRight}
9595
>
9696
Let's get to work

src/components/SiteLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const SiteLayout: React.FC<
3030
actions={
3131
!showTagline && (
3232
<Button
33-
href="mailto:contact@apsis.io?subject=Apsis Project Inquiry"
33+
href="/hire"
3434
EndIcon={ChevronRight}
3535
>
3636
Work with us

src/components/forms/ContactForm.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ export const ContactForm = () => {
118118
required
119119
data-lpignore="true"
120120
data-1p-ignore
121+
autoComplete="name"
121122
{...register("name", {
122123
required: "A name is required",
123124
})}
@@ -131,6 +132,7 @@ export const ContactForm = () => {
131132
required
132133
data-lpignore="true"
133134
data-1p-ignore
135+
autoComplete="organization"
134136
{...register("company", {
135137
required: "Please provide a company or project name",
136138
})}
@@ -143,6 +145,7 @@ export const ContactForm = () => {
143145
error={errors.email}
144146
required
145147
type="email"
148+
autoComplete="email"
146149
data-lpignore="true"
147150
data-1p-ignore
148151
{...register("email", {
@@ -197,6 +200,7 @@ export const ContactForm = () => {
197200
className={clsx("input", errors.projectDetail && "error")}
198201
rows={3}
199202
id="project_detail"
203+
autoComplete="off"
200204
{...register("projectDetail")}
201205
></textarea>
202206
</FieldWrapper>

src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export const IndexPage: NextPage<{ projects: any[]; cta: CtaProps }> = ({
120120

121121
<footer>
122122
<Button
123-
href="mailto:contact@apsis.io?subject=Apsis Project Inquiry"
123+
href="/hire"
124124
EndIcon={ChevronRight}
125125
>
126126
Drop us a line

src/styles/_global.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
}
6363

6464
.input {
65+
border-radius: 0;
6566
padding: var(--spacing_xs) var(--spacing_sm);
6667
background-color: var(--section_background);
6768
color: var(--text_color);

0 commit comments

Comments
 (0)