Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/app/router/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import FeedSubmitted from '../screens/FeedSubmitted';
import GTFSFeedAnalytics from '../screens/Analytics/GTFSFeedAnalytics';
import GTFSNoticeAnalytics from '../screens/Analytics/GTFSNoticeAnalytics';
import GTFSFeatureAnalytics from '../screens/Analytics/GTFSFeatureAnalytics';
import GTFSFeaturesTracker from '../screens/Analytics/GTFSFeaturesTracker';
import GBFSFeedAnalytics from '../screens/Analytics/GBFSFeedAnalytics';
import GBFSNoticeAnalytics from '../screens/Analytics/GBFSNoticeAnalytics';
import GBFSVersionAnalytics from '../screens/Analytics/GBFSVersionAnalytics';
Expand Down Expand Up @@ -91,6 +92,7 @@ export const AppRouter: React.FC = () => {
<Route path='feeds/*' element={<GTFSFeedAnalytics />} />
<Route path='notices/*' element={<GTFSNoticeAnalytics />} />
<Route path='features/*' element={<GTFSFeatureAnalytics />} />
<Route path='features-tracker/*' element={<GTFSFeaturesTracker />} />
</Route>
<Route path='metrics/gbfs'>
<Route path='feeds/*' element={<GBFSFeedAnalytics />} />
Expand Down
22 changes: 22 additions & 0 deletions src/app/screens/Analytics/GTFSFeaturesTracker/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import * as React from 'react';
import Box from '@mui/material/Box';

export default function GTFSFeatureAnalytics(): React.ReactElement {
return (
<Box sx={{ mx: 6, display: 'flex', flexDirection: 'column' }}>
<Box sx={{ flexGrow: 1, width: '100%', minHeight: '80vh' }}>
<iframe
src='https://community.mobilitydata.org/gtfs-features'
title='GTFS Features Metrics'
style={{
width: '100%',
height: '100%',
minHeight: '80vh',
border: 'none',
display: 'block',
}}
/>
</Box>
</Box>
);
}
Loading