|
| 1 | +import { Drawer } from 'expo-router/drawer'; |
| 2 | +import ColorPalette from '../colors'; |
| 3 | +import React from 'react'; |
| 4 | + |
| 5 | +export default function _layout() { |
| 6 | + return ( |
| 7 | + <Drawer |
| 8 | + screenOptions={{ |
| 9 | + drawerActiveTintColor: ColorPalette.primary, |
| 10 | + drawerInactiveTintColor: '#888', |
| 11 | + headerTintColor: ColorPalette.primary, |
| 12 | + headerTitleStyle: { color: ColorPalette.primary }, |
| 13 | + }} |
| 14 | + > |
| 15 | + <Drawer.Screen |
| 16 | + name="index" |
| 17 | + options={{ |
| 18 | + drawerLabel: 'Menu', |
| 19 | + title: 'Main Menu', |
| 20 | + headerTitleStyle: { color: ColorPalette.primary }, |
| 21 | + }} |
| 22 | + /> |
| 23 | + <Drawer.Screen |
| 24 | + name="classification/index" |
| 25 | + options={{ |
| 26 | + drawerLabel: 'Classification', |
| 27 | + title: 'Classification', |
| 28 | + headerTitleStyle: { color: ColorPalette.primary }, |
| 29 | + }} |
| 30 | + /> |
| 31 | + <Drawer.Screen |
| 32 | + name="image_segmentation/index" |
| 33 | + options={{ |
| 34 | + drawerLabel: 'Image Segmentation', |
| 35 | + title: 'Image Segmentation', |
| 36 | + headerTitleStyle: { color: ColorPalette.primary }, |
| 37 | + }} |
| 38 | + /> |
| 39 | + <Drawer.Screen |
| 40 | + name="object_detection/index" |
| 41 | + options={{ |
| 42 | + drawerLabel: 'Object Detection', |
| 43 | + title: 'Object Detection', |
| 44 | + headerTitleStyle: { color: ColorPalette.primary }, |
| 45 | + }} |
| 46 | + /> |
| 47 | + <Drawer.Screen |
| 48 | + name="ocr/index" |
| 49 | + options={{ |
| 50 | + drawerLabel: 'OCR', |
| 51 | + title: 'OCR', |
| 52 | + headerTitleStyle: { color: ColorPalette.primary }, |
| 53 | + }} |
| 54 | + /> |
| 55 | + <Drawer.Screen |
| 56 | + name="ocr_vertical/index" |
| 57 | + options={{ |
| 58 | + drawerLabel: 'OCR Vertical', |
| 59 | + title: 'Vertical OCR', |
| 60 | + headerTitleStyle: { color: ColorPalette.primary }, |
| 61 | + }} |
| 62 | + /> |
| 63 | + <Drawer.Screen |
| 64 | + name="style_transfer/index" |
| 65 | + options={{ |
| 66 | + drawerLabel: 'Style Transfer', |
| 67 | + title: 'Style Transfer', |
| 68 | + headerTitleStyle: { color: ColorPalette.primary }, |
| 69 | + }} |
| 70 | + /> |
| 71 | + </Drawer> |
| 72 | + ); |
| 73 | +} |
0 commit comments