Fixed metadata

This commit is contained in:
2026-05-19 15:43:49 +02:00
parent 79f0db10dd
commit ab5f97aefc
2 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ export const mistShowcase = [
{ {
title: "Rust.. With ergonomics?", title: "Rust.. With ergonomics?",
description: description:
"C/C++ style syntax for comfort. Mist is designed for fast, readable systems code with minimal friction compared to raw Rust.", "C/C++/Java style syntax for comfort. Mist is designed for fast, readable systems code with minimal friction compared to raw Rust.",
code: `void main() { code: `void main() {
println!("Hello, World!"); println!("Hello, World!");
+9 -5
View File
@@ -1,12 +1,16 @@
import { RootProvider } from 'fumadocs-ui/provider/next'; import { RootProvider } from "fumadocs-ui/provider/next";
import './global.css'; import "./global.css";
import { Inter } from 'next/font/google'; import { Inter } from "next/font/google";
const inter = Inter({ const inter = Inter({
subsets: ['latin'], subsets: ["latin"],
}); });
export default function Layout({ children }: LayoutProps<'/'>) { export const metadata = {
title: "Mist — Rust with ergonomics",
};
export default function Layout({ children }: LayoutProps<"/">) {
return ( return (
<html lang="en" className={inter.className} suppressHydrationWarning> <html lang="en" className={inter.className} suppressHydrationWarning>
<body className="flex flex-col min-h-screen"> <body className="flex flex-col min-h-screen">