|
1 | 1 | import React from 'react' |
2 | | -import {ScrollView, View, StyleSheet} from 'react-native' |
| 2 | +import {ScrollView, StyleSheet} from 'react-native' |
3 | 3 | 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' |
6 | 5 |
|
7 | 6 | const styles = StyleSheet.create({ |
8 | 7 | scroll: { |
9 | 8 | backgroundColor: c.white, |
10 | 9 | paddingHorizontal: 15, |
11 | | - }, |
12 | | - view: { |
13 | 10 | paddingVertical: 15, |
14 | 11 | }, |
15 | 12 | }) |
16 | 13 |
|
17 | 14 | export let LegalView = (): JSX.Element => ( |
18 | 15 | <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> |
22 | 57 | </ScrollView> |
23 | 58 | ) |
0 commit comments