Skip to content

Commit edf65e3

Browse files
committed
inline Credits content
1 parent 4b93e58 commit edf65e3

File tree

3 files changed

+56
-81
lines changed

3 files changed

+56
-81
lines changed

data/_schemas/credits.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

data/credits.yaml

Lines changed: 0 additions & 51 deletions
This file was deleted.

source/views/settings/screens/credits.tsx

Lines changed: 56 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import * as React from 'react'
22
import * as c from '@frogpond/colors'
3-
import {Markdown, MarkdownProps} from '@frogpond/markdown'
4-
import {data as credits} from '../../../../docs/credits.json'
3+
import {Heading as H, Paragraph as P} from '@frogpond/markdown'
54
import {Platform, ScrollView, StyleSheet, TextProps, Text} from 'react-native'
65
import {iOSUIKit, material} from 'react-native-typography'
76
import {AppLogo} from '../components/logo'
@@ -46,16 +45,6 @@ const styles = StyleSheet.create({
4645
},
4746
})
4847

49-
const markdownStyles: MarkdownProps['styles'] = {
50-
Heading: {
51-
paddingHorizontal: 25,
52-
},
53-
Paragraph: {
54-
paddingHorizontal: 25,
55-
paddingVertical: 10,
56-
},
57-
}
58-
5948
const Title = (props: TextProps) => (
6049
<Text {...props} style={[styles.title, props.style]} />
6150
)
@@ -72,8 +61,32 @@ const Contributors = (props: TextProps) => (
7261
<Text {...props} style={[styles.contributors, props.style]} />
7362
)
7463

75-
const formatPeopleList = (arr: Array<string>) =>
76-
arr.map((w) => w.replace(' ', ' ')).join(' • ')
64+
let contributors = [
65+
'Anna Linden',
66+
'Drew Turnblad',
67+
'Drew Volz',
68+
'Elijah Verdoorn',
69+
'Erich Kauffman',
70+
'Hannes Carlsen',
71+
'Hawken Rives',
72+
'Kris Rye',
73+
'Margaret Zimmermann',
74+
'Matt Kilens',
75+
]
76+
77+
let acknowledgements = [
78+
'Brandon Cash',
79+
'Catherine Paro',
80+
'Dan Beach',
81+
'Derek Hanson',
82+
'Emma Lind',
83+
'Kris Vatter',
84+
'Laura Mascotti',
85+
'Myron Engle',
86+
'Nick Nooney',
87+
'Sarah Bresnahan',
88+
'William Seabrook',
89+
]
7790

7891
export let CreditsView = (): JSX.Element => (
7992
<ScrollView
@@ -83,15 +96,39 @@ export let CreditsView = (): JSX.Element => (
8396
>
8497
<AppLogo />
8598

86-
<Title>{credits.name}</Title>
87-
<About>{credits.content}</About>
99+
<Title>All About Olaf</Title>
100+
<About>
101+
All About Olaf is a collaborative application created alumni of St. Olaf
102+
College in Northfield, MN under the name StoDevX.
103+
</About>
104+
105+
<H level={3}>🏡 October 2017 — Today</H>
106+
<P>
107+
Alumni of St. Olaf — Hawken Rives, Kris Rye, and Drew Volz — develop and
108+
support the app in its current form. Rewritten from top to bottom in
109+
Typescript, this is the version you see today in the iOS and Android app
110+
stores. It remains self-published, open-source, cross-platform, and free
111+
of trackers and data collection.
112+
</P>
113+
114+
<H level={3}>🧱 July 2016 — September 2017</H>
115+
<P>
116+
This version was written in the summer of 2016, led by Elijah Verdoorn and
117+
assisted by Hawken Rives and Drew Volz. The app was supported and
118+
published by the Student Government Association (SGA) web team, called the
119+
Oleville Development Team.
120+
</P>
88121

89-
<Markdown source={credits.timeline} styles={markdownStyles} />
122+
<H level={3}>🏗 2014</H>
123+
<P>
124+
The first version of All About Olaf was an iOS app created by Drew Volz as
125+
an independent project, self-published and written in Objective-C.
126+
</P>
90127

91128
<Heading>Contributors</Heading>
92-
<Contributors>{formatPeopleList(credits.contributors)}</Contributors>
129+
<Contributors names={contributors} />
93130

94131
<Heading>Acknowledgements</Heading>
95-
<Contributors>{formatPeopleList(credits.acknowledgements)}</Contributors>
132+
<Contributors names={acknowledgements} />
96133
</ScrollView>
97134
)

0 commit comments

Comments
 (0)