mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-16 10:19:40 +02:00
Projects included: - maerchenzauber (NestJS backend + Expo mobile + SvelteKit web + Astro landing) - manacore (Expo mobile + SvelteKit web + Astro landing) - manadeck (NestJS backend + Expo mobile + SvelteKit web) - memoro (Expo mobile + SvelteKit web + Astro landing) This commit preserves the current state before monorepo restructuring. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
69 lines
1.5 KiB
TypeScript
69 lines
1.5 KiB
TypeScript
import React from 'react';
|
|
import { View, StyleSheet } from 'react-native';
|
|
import { router } from 'expo-router';
|
|
import Button from '../atoms/Button';
|
|
|
|
interface FunctionsSectionProps {
|
|
onFeedbackPress: () => void;
|
|
isWideScreen?: boolean;
|
|
}
|
|
|
|
export default function FunctionsSection({ onFeedbackPress, isWideScreen = false }: FunctionsSectionProps) {
|
|
const buttonStyle = {
|
|
marginBottom: isWideScreen ? 12 : 8,
|
|
};
|
|
|
|
return (
|
|
<View style={styles.container}>
|
|
<Button
|
|
title="Archiv"
|
|
onPress={() => router.push('/archive')}
|
|
color="#333333"
|
|
variant="primary"
|
|
size="lg"
|
|
style={buttonStyle}
|
|
iconName="archive"
|
|
iconPosition="left"
|
|
/>
|
|
|
|
<Button
|
|
title="Hilfe"
|
|
onPress={() => router.push('/help')}
|
|
color="#333333"
|
|
variant="primary"
|
|
size="lg"
|
|
style={buttonStyle}
|
|
iconName="help-circle"
|
|
iconPosition="left"
|
|
/>
|
|
|
|
<Button
|
|
title="Feature Requests"
|
|
onPress={() => router.push('/feedback')}
|
|
color="#333333"
|
|
variant="primary"
|
|
size="lg"
|
|
style={buttonStyle}
|
|
iconName="thumbs-up"
|
|
iconPosition="left"
|
|
/>
|
|
|
|
<Button
|
|
title="Feedback geben"
|
|
onPress={onFeedbackPress}
|
|
color="#333333"
|
|
variant="primary"
|
|
size="lg"
|
|
style={buttonStyle}
|
|
iconName="chat"
|
|
iconPosition="left"
|
|
/>
|
|
</View>
|
|
);
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
marginBottom: 16,
|
|
},
|
|
});
|