Skip to content

Commit aec002e

Browse files
authored
Merge pull request #1680 from StoDevX/orther-modes-list
Other modes list
2 parents 5e45d69 + 829cf94 commit aec002e

File tree

15 files changed

+236
-123
lines changed

15 files changed

+236
-123
lines changed

data/_schemas/transportation.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
$schema: http://json-schema.org/draft-06/schema#
22

33
additionalProperties: false
4-
required: [name, url, description]
4+
required: [name, category, url, description]
55
properties:
66
name: {type: string}
7+
category: {type: string}
78
url: {type: string, format: uri}
89
description: {type: string}

data/transportation/break-airport-shuttles.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Break Airport Shuttles
2+
category: Bus
23
url: https://northfield.betterez.com/cart/5787e3b01f39300a1a000085
34
description: >-
45
Northfield Lines shuttle operates only immediately before and after break.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Enterprise CarShare
2+
category: Car
23
url: https://www.enterprisecarshare.com/us/en/programs/university/st-olaf.html
34
description: >-
45
Car sharing program for business, school, or personal use.

data/transportation/first-choice-shuttle.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: First Choice Shuttle
2+
category: Bus
23
url: http://youarriveontime.com
34
description: >-
45
Shuttle service to and from MSP airports, bus and train depots, local

data/transportation/hiawathaland-transit.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Hiawathaland Transit
2+
category: Bus
23
url: https://wp.stolaf.edu/sa/transportation/localexpressbus/
34
description: >-
45
Free route bus that stops at both colleges, Division Street, Target/Cub, and

data/transportation/ole-bikes.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Ole Bikes
2+
category: Bike
23
url: https://www.stolaf.edu/library/libinfo/bikes.cfm
34
description: >-
45
Great green alternative, available for check-out through Rølvaag Library.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Ride Board
2+
category: Car
23
url: https://www.stolaf.edu/apps/rideboard/index.cfm?fuseaction=browse
34
description: >-
45
Post a ride or look for a ride with students.

data/transportation/van-go.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Van-GO!
2+
category: Bus
23
url: http://van-go.info/schedule/
34
description:
45
Van service that operates Monday - Friday from 7 a.m. to 6 p.m. Business use

source/navigation.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ import {
2121
BuildingHoursProblemReportView,
2222
BuildingHoursScheduleEditorView,
2323
} from './views/building-hours'
24-
import TransportationView, {BusMapView} from './views/transportation'
24+
import TransportationView, {
25+
BusMapView,
26+
OtherModesDetailView,
27+
} from './views/transportation'
2528
import SettingsView from './views/settings'
2629
import CreditsView from './views/settings/credits'
2730
import PrivacyView from './views/settings/privacy'
@@ -78,6 +81,7 @@ export const AppNavigator = StackNavigator(
7881
StudentOrgsDetailView: {screen: StudentOrgsDetailView},
7982
StudentOrgsView: {screen: StudentOrgsView},
8083
TransportationView: {screen: TransportationView},
84+
OtherModesDetailView: {screen: OtherModesDetailView},
8185
BusMapView: {screen: BusMapView},
8286
},
8387
{

source/views/transportation/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ import React from 'react'
99
import {TabNavigator} from '../components/tabbed-view'
1010
import {TabBarIcon} from '../components/tabbar-icon'
1111

12-
import OtherModesView from './other-modes'
12+
import {OtherModesView} from './other-modes'
1313
import BusView from './bus'
1414

1515
export {BusMapView} from './bus/map'
16+
export {OtherModesDetailView} from './other-modes'
1617

1718
export default TabNavigator(
1819
{

0 commit comments

Comments
 (0)