HackRU / frontendv2

Running it back.
https://frontendv2-six.vercel.app
5 stars 2 forks source link

Metadata needs to be set to correct info #84

Closed kevinmonisit closed 4 months ago

kevinmonisit commented 4 months ago

include favicon too! maybe keywords?

check out /app/layout.tsx

import '@/app/ui/global.css';
import { inter } from '@/app/ui/fonts';
import { Metadata } from 'next';

export const metadata: Metadata = {
  title: {
    template: '%s | Acme Dashboard',
    default: 'Acme Dashboard',
  },
  description: 'The official Next.js Learn Dashboard built with App Router.',
  metadataBase: new URL('https://next-learn-dashboard.vercel.sh'),
};
export default function RootLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return (
    <html lang="en">
      <body className={`${inter.className} antialiased`}>
        <main className="w-screen min-w-min">
          {children}
        </main>
      </body>
    </html>
  );
}
kevinmonisit commented 4 months ago

^^^ just change the content in it. I would remove the "template" variable. Set the default to "HackRU S24". and whatever other interesting metadata info you can find!

kevinmonisit commented 4 months ago

right now its just the default