Skip to content

Commit f90770a

Browse files
committed
Remove documentation files from docs directory
Deleted index.mdx, installation.mdx, quick-start.mdx, and meta.json from apps/site/content/docs. This removes the documentation content and associated metadata from the project.
1 parent 9a601b1 commit f90770a

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

apps/site/app/components/Logo.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import Image from 'next/image';
2+
3+
export function Logo({ className }: { className?: string }) {
4+
return (
5+
<div className={`flex items-center gap-2 font-bold ${className}`}>
6+
<Image
7+
src="/logo.svg"
8+
alt="Object UI Logo"
9+
width={32}
10+
height={32}
11+
className="h-8 w-8"
12+
/>
13+
<span>Object UI</span>
14+
</div>
15+
);
16+
}

apps/site/app/docs/layout.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import { source } from '@/lib/source';
22
import type { ReactNode } from 'react';
33
import { DocsLayout } from 'fumadocs-ui/layouts/docs';
4+
import { Logo } from '../components/Logo';
45

56
export default function Layout({ children }: { children: ReactNode }) {
67
return (
7-
<DocsLayout tree={source.pageTree} nav={{ title: 'Object UI' }}>
8+
<DocsLayout tree={source.pageTree} nav={{ title: <Logo /> }}>
89
{children}
910
</DocsLayout>
1011
);

apps/site/app/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import Link from 'next/link';
22
import { HomeLayout } from 'fumadocs-ui/layouts/home';
3+
import { Logo } from './components/Logo';
34

45
export default function HomePage() {
56
return (
67
<HomeLayout
78
nav={{
8-
title: 'Object UI',
9+
title: <Logo />,
910
url: '/',
1011
}}
1112
githubUrl="https://github.com/objectstack-ai/objectui"

0 commit comments

Comments
 (0)