- Archive dormant apps (daemon, desktop, native, tui) and superseded packages/server into repos/ for reference - Archive 21 dead web components (chat page shell, work-os cluster, strays) into repos/web/; keep reused message-rendering primitives in components/chat - Merge @code/work-os into @code/primitives; work.ts absorbed via ./work subpath and barrel export; update all four importers - Add docs/futures.md tracking audio/video (blocked at Flue + provider), web layout cleanup, and message rendering quality - Repoint dev:zopu script to @code/agents (the live Flue server) - Note repos/ reference-code convention in AGENTS.md
43 lines
1.1 KiB
TypeScript
43 lines
1.1 KiB
TypeScript
import { Ionicons } from "@expo/vector-icons";
|
|
import { Tabs } from "expo-router";
|
|
import { useThemeColor } from "heroui-native";
|
|
|
|
export default function TabLayout() {
|
|
const themeColorForeground = useThemeColor("foreground");
|
|
const themeColorBackground = useThemeColor("background");
|
|
|
|
return (
|
|
<Tabs
|
|
screenOptions={{
|
|
headerShown: false,
|
|
headerStyle: {
|
|
backgroundColor: themeColorBackground,
|
|
},
|
|
headerTintColor: themeColorForeground,
|
|
headerTitleStyle: {
|
|
color: themeColorForeground,
|
|
fontWeight: "600",
|
|
},
|
|
tabBarStyle: {
|
|
backgroundColor: themeColorBackground,
|
|
},
|
|
}}
|
|
>
|
|
<Tabs.Screen
|
|
name="index"
|
|
options={{
|
|
title: "Home",
|
|
tabBarIcon: ({ color, size }) => <Ionicons name="home" size={size} color={color} />,
|
|
}}
|
|
/>
|
|
<Tabs.Screen
|
|
name="two"
|
|
options={{
|
|
title: "Explore",
|
|
tabBarIcon: ({ color, size }) => <Ionicons name="compass" size={size} color={color} />,
|
|
}}
|
|
/>
|
|
</Tabs>
|
|
);
|
|
}
|