Skip to content

Commit 2c4365d

Browse files
committed
feat: add metadata info
1 parent 3a3617e commit 2c4365d

3 files changed

Lines changed: 54 additions & 3 deletions

File tree

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const geistMono = Geist_Mono({
1313
});
1414

1515
export const metadata: Metadata = {
16-
title: "Create Next App",
16+
title: "WorkoutLogs",
1717
description: "Generated by create next app",
1818
};
1919

src/app/page.tsx

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,36 @@ import screenshot1 from "@/assets/screenshot-1.png";
1818
import screenshot2 from "@/assets/screenshot-2.png";
1919
import screenshot3 from "@/assets/screenshot-3.png";
2020
import Link from "next/link";
21+
import { Metadata } from "next";
22+
23+
const baseUrl = "https://workoutlogs.github.io";
24+
export const metadata: Metadata = {
25+
title: "WorkoutLogs - Best Gym Workout Tracker & Training Log App",
26+
description:
27+
"Track your gym workouts, log sets, reps & weights. The #1 free app for weightlifting, powerlifting and strength training. Progressive overload made easy!",
28+
openGraph: {
29+
siteName: "WorkoutLogs",
30+
title: "WorkoutLogs - Melhor App de Treino para Academia",
31+
description:
32+
"Track your gym workouts, log sets, reps & weights. The #1 free app for weightlifting and strength training!",
33+
type: "website",
34+
locale: "en_US",
35+
alternateLocale: "pt_BR",
36+
url: `${baseUrl}/pt`,
37+
},
38+
twitter: {
39+
card: "summary_large_image",
40+
site: "@workoutlogs",
41+
title: "WorkoutLogs - Best Gym Workout Tracker App",
42+
description:
43+
"Track your gym workouts, log sets, reps & weights. The #1 free app for weightlifting and strength training!",
44+
},
45+
keywords:
46+
"gym workout tracker, workout log app, weightlifting tracker, powerlifting app, fitness tracker, training diary, progressive overload, strength training, exercise log, free gym app",
47+
};
2148

2249
const IndexEN = () => {
2350
const currentYear = new Date().getFullYear();
24-
const baseUrl = "https://workoutlogs.github.io";
2551

2652
return (
2753
<>

src/app/pt/page.tsx

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,35 @@ import screenshot1 from "@/assets/screenshot-1.png";
1717
import screenshot2 from "@/assets/screenshot-2.png";
1818
import screenshot3 from "@/assets/screenshot-3.png";
1919
import Link from "next/link";
20+
import { Metadata } from "next";
21+
22+
const baseUrl = "https://workoutlogs.github.io";
23+
export const metadata: Metadata = {
24+
title:
25+
"WorkoutLogs - Melhor App de Treino e Musculação | Diário de Academia Grátis",
26+
description:
27+
"Registre seus treinos de musculação, acompanhe progressão de carga e alcance seus objetivos. App grátis para academia, powerlifting e fitness. Baixe agora!",
28+
openGraph: {
29+
siteName: "WorkoutLogs",
30+
title: "WorkoutLogs - Melhor App de Treino para Academia",
31+
description:
32+
"Registre séries, repetições e cargas. Acompanhe sua progressão e alcance seus objetivos. App grátis!",
33+
type: "website",
34+
locale: "pt_BR",
35+
alternateLocale: "en_US",
36+
url: `${baseUrl}/pt`,
37+
},
38+
twitter: {
39+
card: "summary_large_image",
40+
site: "@workoutlogs",
41+
title: "WorkoutLogs - Melhor App de Treino para Academia",
42+
description:
43+
"Registre séries, repetições e cargas. Acompanhe sua progressão e alcance seus objetivos. App grátis!",
44+
},
45+
};
2046

2147
const IndexPT = () => {
2248
const currentYear = new Date().getFullYear();
23-
const baseUrl = "https://workoutlogs.github.io";
2449

2550
return (
2651
<>

0 commit comments

Comments
 (0)