Skip to content

Commit 1288b24

Browse files
committed
inline Legal content
1 parent 259d32f commit 1288b24

File tree

2 files changed

+43
-25
lines changed

2 files changed

+43
-25
lines changed

data/legal.md

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 43 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,58 @@
11
import React from 'react'
2-
import {ScrollView, View, StyleSheet} from 'react-native'
2+
import {ScrollView, StyleSheet} from 'react-native'
33
import * as c from '@frogpond/colors'
4-
import {Markdown} from '@frogpond/markdown'
5-
import {text} from '../../../../docs/legal.json'
4+
import * as m from '@frogpond/markdown'
65

76
const styles = StyleSheet.create({
87
scroll: {
98
backgroundColor: c.white,
109
paddingHorizontal: 15,
11-
},
12-
view: {
1310
paddingVertical: 15,
1411
},
1512
})
1613

1714
export let LegalView = (): JSX.Element => (
1815
<ScrollView contentInsetAdjustmentBehavior="automatic" style={styles.scroll}>
19-
<View style={styles.view}>
20-
<Markdown source={text} />
21-
</View>
16+
<m.Heading level={2}>The MIT License (MIT)</m.Heading>
17+
18+
<m.Paragraph>Copyright (c) 2018 StoDevX</m.Paragraph>
19+
20+
<m.Paragraph>
21+
Permission is hereby granted, free of charge, to any person obtaining a
22+
copy of this software and associated documentation files (the “Software”),
23+
to deal in the Software without restriction, including without limitation
24+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
25+
and/or sell copies of the Software, and to permit persons to whom the
26+
Software is furnished to do so, subject to the following conditions:
27+
</m.Paragraph>
28+
29+
<m.Paragraph>
30+
The above copyright notice and this permission notice shall be included in
31+
all copies or substantial portions of the Software.
32+
</m.Paragraph>
33+
34+
<m.Paragraph>
35+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
36+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
37+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
38+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
39+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
40+
FROM OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
41+
DEALINGS IN THE SOFTWARE.
42+
</m.Paragraph>
43+
44+
<m.Paragraph>
45+
This software is in no way supported by or sponsored by St. Olaf College.
46+
</m.Paragraph>
47+
48+
<m.Paragraph>
49+
Google Play and the Google Play logo are trademarks of Google LLC.
50+
</m.Paragraph>
51+
52+
<m.Paragraph>
53+
Apple, the Apple logo, iPhone, and iPad are trademarks of Apple Inc.,
54+
registered in the U.S. and other countries. App Store is a service mark of
55+
Apple Inc., registered in the U.S. and other countries.
56+
</m.Paragraph>
2257
</ScrollView>
2358
)

0 commit comments

Comments
 (0)