|
1 | 1 | import { Card, Cards } from '@/components/card'; |
2 | 2 | import { Heading } from '@/components/heading'; |
| 3 | +import type { Metadata } from 'next'; |
| 4 | +import Image from 'next/image'; |
3 | 5 | import Link from 'next/link'; |
4 | 6 |
|
5 | | -// export default function HomePage() { |
6 | | -// return ( |
7 | | -// <main className="flex flex-1 flex-col justify-center text-center"> |
8 | | -// <h1 className="mb-4 text-2xl font-bold">Hello World</h1> |
9 | | -// <p className="text-fd-muted-foreground"> |
10 | | -// You can open{' '} |
11 | | -// <Link |
12 | | -// href="/docs" |
13 | | -// className="text-fd-foreground font-semibold underline" |
14 | | -// > |
15 | | -// /docs |
16 | | -// </Link>{' '} |
17 | | -// and see the documentation. |
18 | | -// </p> |
19 | | -// </main> |
20 | | -// ); |
21 | | -// } |
| 7 | +export const metadata: Metadata = { |
| 8 | + title: { |
| 9 | + template: '%s | CommandKit', |
| 10 | + default: 'CommandKit - A Discord.js handler', |
| 11 | + }, |
| 12 | +}; |
22 | 13 |
|
23 | 14 | const features = [ |
24 | 15 | { |
@@ -52,7 +43,7 @@ export default function HomePage() { |
52 | 43 | <> |
53 | 44 | <section className="w-72 h-96 mx-auto text-center mt-20 mb-28 md:mb-16 flex items-center justify-center flex-col md:flex-row-reverse md:gap-2 md:text-left md:mt-12 md:w-[700px] lg:w-[850px]"> |
54 | 45 | {/* eslint-disable-next-line @next/next/no-img-element */} |
55 | | - <img |
| 46 | + <Image |
56 | 47 | src="/logo.png" |
57 | 48 | alt="CommandKit Logo" |
58 | 49 | className="md:w-[230px] lg:w-[280px] mb-10 md:mb-0" |
@@ -96,7 +87,7 @@ export default function HomePage() { |
96 | 87 | </div> |
97 | 88 | </div> |
98 | 89 | </section> |
99 | | - <section className="max-w-[400px] md:max-w-none mx-auto md:w-[700px] lg:w-[850px] text-fd-foreground"> |
| 90 | + <section className="max-w-[400px] md:max-w-none mx-auto md:w-[700px] lg:w-[850px] text-fd-foreground p-5 sm:p-0 mb-20"> |
100 | 91 | <Heading as="h1" className="text-lg font-semibold mb-2"> |
101 | 92 | Features |
102 | 93 | </Heading> |
|
0 commit comments