Skip to content

Commit 5444ce4

Browse files
committed
feat: updated etadata
1 parent 25764a7 commit 5444ce4

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

app/layout.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import Script from "next/script";
88
export const metadata: Metadata = {
99
metadataBase: new URL("https://lap.onl/"),
1010
title: {
11-
default: "L.A.P Docs",
12-
template: "%s | L.A.P Docs",
11+
default: "L.A.P - Docs",
12+
template: "%s | L.A.P - Docs",
1313
},
1414
description:
1515
"Simplicity in Tech. L.A.P aims to make tech simple as possible for everyone.",
@@ -37,11 +37,11 @@ export const metadata: Metadata = {
3737
},
3838
},
3939
openGraph: {
40-
title: "L.A.P Docs",
40+
title: "L.A.P - Docs",
4141
description:
4242
"Simplicity in Tech. L.A.P aims to make tech simple as possible for everyone.",
4343
url: "https://lap.onl/",
44-
siteName: "L.A.P Docs",
44+
siteName: "L.A.P - Docs",
4545
locale: "en_US",
4646
type: "website",
4747
images: [
@@ -55,7 +55,7 @@ export const metadata: Metadata = {
5555
},
5656
twitter: {
5757
card: "summary_large_image",
58-
title: "L.A.P Docs",
58+
title: "L.A.P - Docs",
5959
description:
6060
"Simplicity in Tech. L.A.P aims to make tech simple as possible for everyone.",
6161
images: ["https://lap.onl/twitter-image.png"],

app/page.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@ import {
2020
} from "firebase/firestore";
2121

2222
export const metadata: Metadata = {
23-
title: "L.A.P Docs | Home",
23+
title: "L.A.P - Docs",
2424
description:
2525
"Simplified text documents about everything made on the L.A.P - tutorials youtube channel",
2626
openGraph: {
27-
title: "L.A.P Docs | Home",
27+
title: "L.A.P - Docs",
2828
description:
2929
"Simplified text documents about everything made on the L.A.P - tutorials youtube channel",
3030
url: "https://lap.onl/",
31-
siteName: "L.A.P Docs",
31+
siteName: "L.A.P - Docs",
3232
type: "website",
3333
locale: "en_US",
3434
images: "https://lap.onl/og-image.png",
3535
},
3636
twitter: {
3737
card: "summary_large_image",
38-
title: "L.A.P Docs",
38+
title: "L.A.P - Docs",
3939
description:
4040
"Simplified text documents about everything made on the L.A.P - tutorials youtube channel",
4141
images: "https://lap.onl/twitter-image.png",
@@ -142,7 +142,8 @@ export default async function Home() {
142142
const jsonLd = {
143143
"@context": "https://schema.org",
144144
"@type": "WebSite",
145-
name: "L.A.P Docs",
145+
name: "L.A.P - Docs",
146+
alternateName: ["L.A.P Docs", "LAP Docs"],
146147
url: "https://lap.onl/",
147148
potentialAction: {
148149
"@type": "SearchAction",
@@ -157,9 +158,9 @@ export default async function Home() {
157158
<PageTitle
158159
className="sr-only"
159160
imgSrc="/images/titles/lap-docs.svg"
160-
imgAlt="The words 'L.A.P Docs' in bold uppercase lettering"
161+
imgAlt="The words 'L.A.P - Docs' in bold uppercase lettering"
161162
>
162-
L.A.P Docs
163+
L.A.P - Docs
163164
</PageTitle>
164165

165166
<Suspense fallback={<NewsLoading />}>

0 commit comments

Comments
 (0)