Skip to content

Commit d2c124d

Browse files
committed
Add Head to each page
1 parent 95f165f commit d2c124d

File tree

4 files changed

+29
-19
lines changed

4 files changed

+29
-19
lines changed

pages/about/index.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import Head from "next/head";
12
import Image from "next/image";
23
import UserCTA from "../../components/UserCTA";
34
import Stats from "../../components/Stats";
@@ -6,6 +7,12 @@ import team from "/assets/about/desktop/image-team-members.jpg";
67
const About = () => {
78
return (
89
<div>
10+
<Head>
11+
<title>About</title>
12+
<meta name="description" content="About page" />
13+
<link rel="icon" href="/favicon.ico" />
14+
</Head>
15+
916
<section className="customSpace">
1017
<div>
1118
<h2 className="max-w-[644px] h-[189px] mb-[51px] 2bp:text-center 2bp:mx-auto 2bp:max-w-[537px] 3bp:h-[100%]">

pages/contact/index.tsx

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import Head from "next/head";
12
import Image from "next/image";
23
import UserCTA from "../../components/UserCTA";
34
import Form from "../../components/Form";
@@ -11,25 +12,25 @@ import nvidia from "/assets/shared/desktop/nvidia.svg";
1112
const Contact = () => {
1213
return (
1314
<section>
15+
<Head>
16+
<title>Contact</title>
17+
<meta name="description" content="Contact page" />
18+
<link rel="icon" href="/favicon.ico" />
19+
</Head>
20+
1421
<div className="customSpace">
15-
<div
16-
className="h-[100%] 1bp:h-[178px] inline"
17-
>
22+
<div className="h-[100%] 1bp:h-[178px] inline">
1823
<h2 className="max-w-[730px] h-fit mb-[43px] 1bp:mx-auto 1bp:text-center 2bp:max-w-[458px]">
1924
Submit a help request and we’ll get in touch shortly.
2025
</h2>
2126
</div>
2227

2328
<div className="flex mb-[93px] gap-[124px] items-center 1bp:flex-col 1bp:gap-[70px]">
24-
<div
25-
className="h-[100%]"
26-
>
29+
<div className="h-[100%]">
2730
<Form />
2831
</div>
2932

30-
<div
31-
className="max-w-[541px]"
32-
>
33+
<div className="max-w-[541px]">
3334
<h5 className="mb-[40px] max-w-[445px] 1bp:text-center 1bp:max-w-[100%]">
3435
Join the thousands of innovators already building with us
3536
</h5>
@@ -97,9 +98,7 @@ const Contact = () => {
9798
</div>
9899
</div>
99100

100-
<div
101-
className="h-[100%]"
102-
>
101+
<div className="h-[100%]">
103102
<UserCTA />
104103
</div>
105104
</section>

pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ const Home = () => {
55
return (
66
<div>
77
<Head>
8-
<title>Home</title>
9-
<meta name="description" content="Generated by create next app" />
8+
<title>payapi | Home</title>
9+
<meta name="description" content="Home page" />
1010
<link rel="icon" href="/favicon.ico" />
1111
</Head>
1212

pages/pricing/index.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import Head from "next/head";
12
import UserCTA from "../../components/UserCTA";
23
import FreePlan from "../../components/FreePlan";
34
import BasicPlan from "../../components/BasicPlan";
@@ -6,9 +7,13 @@ import PremiumPlan from "../../components/PremiumPlan";
67
const Pricing = () => {
78
return (
89
<div>
9-
<section
10-
className="customSpace"
11-
>
10+
<Head>
11+
<title>Pricing</title>
12+
<meta name="description" content="Pricing page" />
13+
<link rel="icon" href="/favicon.ico" />
14+
</Head>
15+
16+
<section className="customSpace">
1217
<h2 className="mb-[72px] 2bp:text-center">Pricing</h2>
1318

1419
<div className="flex gap-[30px] mb-[96px] 2bp:gap-[10px] 2bp:justify-between 3bp:flex-col 3bp:mx-auto 3bp:text-center 3bp:gap-[48px] 3bp:items-center">
@@ -18,8 +23,7 @@ const Pricing = () => {
1823
</div>
1924
</section>
2025

21-
<div
22-
>
26+
<div>
2327
<UserCTA />
2428
</div>
2529
</div>

0 commit comments

Comments
 (0)