mirror of
https://github.com/docmost/docmost.git
synced 2026-06-16 15:10:57 +08:00
refactor layout
* ui polishing * frontend and backend fixes
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import { Text, Tabs, Space } from "@mantine/core";
|
||||
import { IconClockHour3 } from "@tabler/icons-react";
|
||||
import SpaceRecentChanges from "@/features/space/components/space-recent-changes.tsx";
|
||||
|
||||
export default function SpaceHomeTabs() {
|
||||
return (
|
||||
<Tabs defaultValue="recent">
|
||||
<Tabs.List>
|
||||
<Tabs.Tab value="recent" leftSection={<IconClockHour3 size={18} />}>
|
||||
<Text size="sm" fw={500}>
|
||||
Recent changes
|
||||
</Text>
|
||||
</Tabs.Tab>
|
||||
</Tabs.List>
|
||||
|
||||
<Space my="md" />
|
||||
|
||||
<Tabs.Panel value="recent">
|
||||
<SpaceRecentChanges />
|
||||
</Tabs.Panel>
|
||||
</Tabs>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user