1
0
Fork 0

add credits

This commit is contained in:
sup39 2022-09-29 05:42:47 +09:00
parent 628b565b94
commit 346dc8d3f2
4 changed files with 45 additions and 0 deletions

View file

@ -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

View file

@ -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;
}

24
src/surfaces/License.ts Normal file
View file

@ -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;

View file

@ -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<OptionPageProps> = ({
</p>
<h3 className="Reference">Credits</h3>
<p className="Reference">
This app is a fork of <a href="https://github.com/iTNTPiston">iTNTPiston</a>'s <a href="https://dupl.itntpiston.app/">dupl.itntpiston.app</a>, and is modified by <a href="https://github.com/sup39">sup39</a>. This app is released under MIT license:
</p>
<p className="Reference License">
<code>{license}</code>
</p>
<p className="Reference">
The source code of this app can be found on <a href="https://github.com/sup39/botw-hundo-dupl">Github</a>.
</p>
</div>
</TitledList>
</div>