From 3636268a71eeb0e9326370054ea0d6c97f7f8a17 Mon Sep 17 00:00:00 2001 From: Valerio Ageno Date: Sat, 17 Aug 2024 20:16:26 +0200 Subject: [PATCH] fix: documentation hero --- apps/documentation/src/components/hero/hero.tsx | 2 +- apps/documentation/src/routes/__root.tsx | 2 ++ apps/documentation/src/routes/documentation/__root.tsx | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/documentation/src/components/hero/hero.tsx b/apps/documentation/src/components/hero/hero.tsx index c484a054..4aa07282 100644 --- a/apps/documentation/src/components/hero/hero.tsx +++ b/apps/documentation/src/components/hero/hero.tsx @@ -13,7 +13,7 @@ import { Link } from 'tuono' export default function Hero(): JSX.Element { return ( - +
The react/rust fullstack framework
diff --git a/apps/documentation/src/routes/__root.tsx b/apps/documentation/src/routes/__root.tsx index f11047d1..b017e18e 100644 --- a/apps/documentation/src/routes/__root.tsx +++ b/apps/documentation/src/routes/__root.tsx @@ -10,6 +10,8 @@ import { Head, useRouter } from 'tuono' import Navbar from '../components/navbar' import '@mantine/core/styles.css' +import '@mantine/code-highlight/styles.css' + import Sidebar from '../components/sidebar' interface RootRouteProps { diff --git a/apps/documentation/src/routes/documentation/__root.tsx b/apps/documentation/src/routes/documentation/__root.tsx index 639ba5b4..5ee3de15 100644 --- a/apps/documentation/src/routes/documentation/__root.tsx +++ b/apps/documentation/src/routes/documentation/__root.tsx @@ -4,8 +4,6 @@ import MdxProvider from '../../components/mdx-provider' import EditPage from '../../components/edit-page' import TableOfContents from '../../components/table-of-content' -import '@mantine/code-highlight/styles.css' - interface RootRouteProps { children: ReactNode }