Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

favor metadata export (#354)

bautistaaaa2d39ca74ba9
diff --git a/apps/web/public/favicon.svg b/apps/web/public/favicon.svg
deleted file mode 100644
index 86c93eb0..00000000
--- a/apps/web/public/favicon.svg
+++ /dev/null
@@ -1,27 +0,0 @@
-<svg height="64" width="64"
- viewBox="0 0 512 512"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
->
- <g clipPath="url(#clip0_1_2)">
- <path
- d="M462 0H50C22.3858 0 0 22.3858 0 50V462C0 489.614 22.3858 512 50 512H462C489.614 512 512 489.614 512 462V50C512 22.3858 489.614 0 462 0Z"
- fill="#3178C6"
- />
- <path
- fill-rule="evenodd"
- clip-rule="evenodd"
- d="M239.78 284.082H304V243H125V284.082H188.906V467H239.78V284.082Z"
- fill="white"
- />
- <path
- d="M303.13 466.986V242.986H349.72V335.818H418.427V242.986H465.13V466.986H418.427V373.827H349.72V466.986H303.13Z"
- fill="white"
- />
- </g>
- <defs>
- <clipPath id="clip0_1_2">
- <rect width="512" height="512" fill="white" />
- </clipPath>
- </defs>
-</svg>
\ No newline at end of file
diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx
index b10121da..86238975 100644
--- a/apps/web/src/app/page.tsx
+++ b/apps/web/src/app/page.tsx
@@ -1,22 +1,20 @@
-import Head from 'next/head';
+import type { Metadata } from 'next';
import { Provider as BalancerProvider } from 'react-wrap-balancer';
-import Hero from '~/components/landing/hero';
-import Features from '~/components/landing/features';
import Community from '~/components/landing/community/community';
+import Features from '~/components/landing/features';
+import Hero from '~/components/landing/hero';
import Waitlist from '~/components/landing/waitlist/banner';
import { Footsies } from '~/components/ui/footsies';
+export const metadata: Metadata = {
+ title: 'Typehero',
+ description:
+ 'Connect, collaborate, and grow with a community of TypeScript developers. Elevate your skills through interactive coding challenges, discussions, and knowledge sharing',
+};
+
export default async function Index() {
return (
<>
- <Head>
- <title>Typehero</title>
- <meta
- content="Level up your typescript skills with interactive exercises"
- name="description"
- />
- <link href="/favicon.svg" rel="icon" type="image/svg+xml" />
- </Head>
<BalancerProvider>
<Hero />
<Features />