Fixed metadata
This commit is contained in:
@@ -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
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user