You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.6 KiB
59 lines
1.6 KiB
import type React from 'react';
|
|
|
|
import {
|
|
FiAlignLeft,
|
|
FiBell,
|
|
FiFastForward,
|
|
FiFileText,
|
|
FiRss,
|
|
} from 'react-icons/fi';
|
|
|
|
import { PageLayout } from '@components/templates/PageLayout';
|
|
|
|
import { ExternalNotification } from './ExternalNotification';
|
|
import { Files } from './Files';
|
|
import { RangeTest } from './RangeTest';
|
|
import { Serial } from './Serial';
|
|
import { StoreAndForward } from './StoreAndForward';
|
|
|
|
export const Plugins = (): JSX.Element => {
|
|
return (
|
|
<PageLayout
|
|
title="Plugins"
|
|
sidebarItems={[
|
|
{
|
|
title: 'Range Test',
|
|
description: 'Test the range of your Meshtastic node',
|
|
icon: <FiRss className="flex-shrink-0 w-6 h-6" />,
|
|
},
|
|
{
|
|
title: 'File Browser',
|
|
description: 'HTTP only file browser',
|
|
icon: <FiFileText className="flex-shrink-0 w-6 h-6" />,
|
|
},
|
|
{
|
|
title: 'External Notification',
|
|
description: 'External hardware alerts',
|
|
icon: <FiBell className="flex-shrink-0 w-6 h-6" />,
|
|
},
|
|
{
|
|
title: 'Serial',
|
|
description: 'Send serial data over the mesh',
|
|
icon: <FiAlignLeft className="flex-shrink-0 w-6 h-6" />,
|
|
},
|
|
{
|
|
title: 'Store & Forward',
|
|
description: 'Retrive message history',
|
|
icon: <FiFastForward className="flex-shrink-0 w-6 h-6" />,
|
|
},
|
|
]}
|
|
panels={[
|
|
<RangeTest key={1} />,
|
|
<Files key={2} />,
|
|
<ExternalNotification key={3} />,
|
|
<Serial key={4} />,
|
|
<StoreAndForward key={5} />,
|
|
]}
|
|
/>
|
|
);
|
|
};
|
|
|