diff --git a/LICENSE b/LICENSE index f064c86..399c1be 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,7 @@ MIT License Copyright (c) 2022 Michael +Copyright (c) 2022 sup39 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/App.css b/src/App.css index deb2626..619ce83 100644 --- a/src/App.css +++ b/src/App.css @@ -221,3 +221,11 @@ textarea { 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; } + +p.License { + padding-left: 3em; + font-size: 0.75em; +} +p.License code { + white-space: pre; +} diff --git a/src/surfaces/License.ts b/src/surfaces/License.ts new file mode 100644 index 0000000..22632a6 --- /dev/null +++ b/src/surfaces/License.ts @@ -0,0 +1,24 @@ +const text = `MIT License + +Copyright (c) 2022 Michael +Copyright (c) 2022 sup39 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.`; + +export default text; diff --git a/src/surfaces/OptionPage.tsx b/src/surfaces/OptionPage.tsx index 622e1ad..d3eaa5f 100644 --- a/src/surfaces/OptionPage.tsx +++ b/src/surfaces/OptionPage.tsx @@ -1,6 +1,7 @@ import { TitledList } from "components/TitledList"; import { saveAs } from "data/FileSaver"; import { useRef, useState } from "react"; +import license from "./License"; type OptionPageProps = { interlaceInventory: boolean, @@ -115,6 +116,17 @@ export const OptionPage: React.FC = ({

+

Credits

+

+ This app is a fork of iTNTPiston's dupl.itntpiston.app, and is modified by sup39. This app is released under MIT license: +

+

+ {license} +

+

+ The source code of this app can be found on Github. +

+