Skip to content

Commit 773a848

Browse files
Refactor metadata structure and remove unused metadata generation function
1 parent f1a3ca0 commit 773a848

File tree

2 files changed

+9
-60
lines changed

2 files changed

+9
-60
lines changed

app/src/app/page.tsx

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@ import FeaturesShowcase from '@/components/FeaturesShowcase/FeaturesShowcase';
33
import FAQSection from '@/components/FAQSection/FAQSection';
44
import { Metadata } from 'next';
55

6-
const title = 'Kargo';
7-
const description =
8-
'Kargo lets you deploy containerized applications with full flexibility — AI-powered setup, secure infrastructure, and Kubernetes-native scaling, all from a powerful web interface.';
9-
106
export const metadata: Metadata = {
11-
title,
12-
description,
7+
title: 'Kargo',
8+
description:
9+
'Kargo lets you deploy containerized applications with full flexibility — AI-powered setup, secure infrastructure, and Kubernetes-native scaling, all from a powerful web interface.',
1310
openGraph: {
14-
title,
15-
description,
11+
title: 'Kargo',
12+
description:
13+
'Kargo lets you deploy containerized applications with full flexibility — AI-powered setup, secure infrastructure, and Kubernetes-native scaling, all from a powerful web interface.',
1614
url: 'https://kargo.dscvit.com',
1715
siteName: 'Kargo',
1816
images: [
@@ -28,8 +26,9 @@ export const metadata: Metadata = {
2826
},
2927
twitter: {
3028
card: 'summary_large_image',
31-
title,
32-
description,
29+
title: 'Kargo',
30+
description:
31+
'Kargo lets you deploy containerized applications with full flexibility — AI-powered setup, secure infrastructure, and Kubernetes-native scaling, all from a powerful web interface.',
3332
images: ['https://kargo.dscvit.com/og-image.png'],
3433
},
3534
};

app/src/lib/metadata.ts

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)