mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-21 19:46:42 +02:00
Restructure standalone traces app into monorepo pattern with mobile + backend + shared types. Add NestJS backend with Drizzle ORM schema for locations, cities, places, POIs, and AI guides. Add mobile sync layer, cities tab, and guide generation UI. Fix pre-existing type errors across mobile codebase, matrix-mana-bot (sendDirectMessage), llm-playground, and all web auth stores (signUp call signature). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
594 B
TypeScript
18 lines
594 B
TypeScript
import { FontAwesome } from '@expo/vector-icons';
|
|
import { Link } from 'expo-router';
|
|
import { forwardRef } from 'react';
|
|
import { Pressable } from 'react-native';
|
|
|
|
import { useTheme } from '~/utils/themeContext';
|
|
|
|
export const SettingsButton = forwardRef<typeof Pressable>((props, ref) => {
|
|
const { isDarkMode, colors } = useTheme();
|
|
|
|
return (
|
|
<Link href="/settings" asChild>
|
|
<Pressable style={({ pressed }) => ({ opacity: pressed ? 0.5 : 1, marginLeft: 30 })}>
|
|
<FontAwesome name="gear" size={24} color={isDarkMode ? '#FFFFFF' : colors.primary} />
|
|
</Pressable>
|
|
</Link>
|
|
);
|
|
});
|