Skip to content

Commit 3aafa21

Browse files
Merge pull request #2 from wiktorlaskowski/z6n01o-codex/add-new-features-and-style-changes
Add copy button and update styles
2 parents 2a08db8 + 483430c commit 3aafa21

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ body {
55
margin: 0;
66
background-color: #fafafa;
77
}
8-
.dark {
8+
html.dark, html.dark body {
99
background-color: #111;
1010
color: #ddd;
1111
color-scheme: dark;

index.html

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<head>
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<meta name="description" content="Forkphorus is a JavaScript compiler for Scratch 3, 2, and 1 projects.">
8-
<link rel="canonical" href="https://forkphorus.github.io/" />
9-
<title>forkphorus - phosphorus for Scratch 3</title>
7+
<meta name="description" content="Wickphorus is a JavaScript compiler for Scratch 3, 2, and 1 projects.">
8+
<link rel="canonical" href="https://wickphorus.github.io/" />
9+
<title>wickphorus - phosphorus for Scratch 3</title>
1010
<script>
1111
// Apply local dark mode preference very early to avoid a flash of white
1212
(function() {
@@ -33,8 +33,8 @@
3333
<div id="app">
3434

3535
<div class="area" id="title-area">
36-
<h1 class="title">forkphorus</h1>
37-
<p>forkphorus runs Scratch 3, 2, and 1 projects really fast by compiling them to JavaScript. Try it out by pasting a project ID or URL into the field below, <a class="upload-button"><input id="upload-file-input" type="file" autocomplete="off" accept=".sb,.sb2,.sb3">selecting a project file</a>, dropping a file on the page, or <a id="examples">exploring the examples studio</a>.</p>
36+
<h1 class="title">wickphorus</h1>
37+
<p>wickphorus runs Scratch 3, 2, and 1 projects really fast by compiling them to JavaScript. Try it out by pasting a project ID or URL into the field below, <a class="upload-button"><input id="upload-file-input" type="file" autocomplete="off" accept=".sb,.sb2,.sb3">selecting a project file</a>, dropping a file on the page, or <a id="examples">exploring the examples studio</a>.</p>
3838
</div>
3939

4040
<div id="examples-container" class="area">
@@ -63,12 +63,12 @@ <h1>Unshared projects are no longer visible</h1>
6363

6464
<section>
6565
<h1 data-i18n="index.report">Report a problem</h1>
66-
<p>forkphorus is in maintenance mode, but it still receives occasional bug fixes. <a id="bug-link" target="_blank" rel="noopener" href="https://github.com/forkphorus/forkphorus/issues/new">Click here</a> to report a problem with this project. You can also comment problems <a href="https://scratch.mit.edu/projects/366001364/" target="_blank" rel="noopener">here</a> if you don't have a GitHub account.</p>
66+
<p>wickphorus is in maintenance mode, but it still receives occasional bug fixes. <a id="bug-link" target="_blank" rel="noopener" href="https://github.com/wiktorlaskowski/wickphorus/issues/new">Click here</a> to report a problem with this project. You can also comment problems <a href="https://scratch.mit.edu/projects/366001364/" target="_blank" rel="noopener">here</a> if you don't have a GitHub account.</p>
6767
</section>
6868

6969
<section class=package>
7070
<h1 data-i18n="index.embed">Embed this project</h1>
71-
<p data-i18n="index.embed.description">Include the forkphorus player in your web site.</p>
71+
<p data-i18n="index.embed.description">Include the wickphorus player in your web site.</p>
7272
<p class="embed-options">
7373
<input readonly id="embed-code">
7474
<button id="embed-copy" type="button" data-i18n="index.embed.copy">Copy</button>
@@ -119,7 +119,7 @@ <h1 data-i18n="index.package">Package this project</h1>
119119
<h1 data-i18n="index.settings">Settings</h1>
120120
<table id="settings">
121121
<tr>
122-
<td class="name" title="Forkphorus will **attempt** to run at this framerate."><label for="settings-fps">Framerate (FPS)</label></td>
122+
<td class="name" title="Wickphorus will **attempt** to run at this framerate."><label for="settings-fps">Framerate (FPS)</label></td>
123123
<td class="value"><input id="settings-fps" value="0" placeholder="30" type="number" step="any" min="0" required autocomplete="off"></td>
124124
</tr>
125125
<tr>
@@ -142,21 +142,21 @@ <h1 data-i18n="index.settings">Settings</h1>
142142
<p>Changes are applied automatically.</p>
143143

144144
<h1 data-i18n="index.advanced">Advanced Settings</h1>
145-
<p>Help test unfinished features. These require a refresh to apply.</b> <a href="https://github.com/forkphorus/forkphorus/wiki/Advanced-Features" target="_blank">Please read this first</a>.</p>
145+
<p>Help test unfinished features. These require a refresh to apply.</b> <a href="https://github.com/wiktorlaskowski/wickphorus/wiki/Advanced-Features" target="_blank">Please read this first</a>.</p>
146146
<div class="advanced">
147147
<label><input id="advanced-webgl" class="advanced-feature" type="checkbox"> WebGL Renderer</label>
148148
</div>
149149
</div>
150150

151151
<section>
152152
<h1>Try out TurboWarp</h1>
153-
<p style="margin-bottom: 0;"><a id="turbowarp" href="https://turbowarp.org/" target="_black" rel="noopener">TurboWarp</a> typically has better performance and compatibility than forkphorus and has an editor. Give it a try, you might like it.</p>
153+
<p style="margin-bottom: 0;"><a id="turbowarp" href="https://turbowarp.org/" target="_black" rel="noopener">TurboWarp</a> typically has better performance and compatibility than wickphorus and has an editor. Give it a try, you might like it.</p>
154154

155155
<h1 data-i18n="index.credits">Credits</h1>
156-
<p>forkphorus is maintained by <a href="https://scratch.mit.edu/users/GarboMuffin/">GarboMuffin</a> and <a href="https://github.com/forkphorus/forkphorus/graphs/contributors">other contributors</a>. It is a fork of <a href="https://github.com/nathan">Nathan</a>'s <a href="https://phosphorus.github.io/">phosphorus</a>. Its CPS-style compilation was inspired by <a href="https://github.com/RHY3756547">Rhys</a>'s <a href="https://code.google.com/p/sb2-js/">sb2.js</a>. The <a href="https://stuk.github.io/jszip/">JSZip</a> library is used to read <code>.sb2</code> and <code>.sb3</code> files. The <a href="https://github.com/canvg/canvg">canvg</a> library is used to render SVGs for Scratch 2 projects. The <a href="https://github.com/LLK/scratch-sb1-converter">scratch-sb1-converter</a> library is used to support Scratch 1 projects.</p>
156+
<p>wickphorus is maintained by <a href="https://scratch.mit.edu/users/GarboMuffin/">GarboMuffin</a> and <a href="https://github.com/wiktorlaskowski/wickphorus/graphs/contributors">other contributors</a>. It is a fork of <a href="https://github.com/nathan">Nathan</a>'s <a href="https://phosphorus.github.io/">phosphorus</a>. Its CPS-style compilation was inspired by <a href="https://github.com/RHY3756547">Rhys</a>'s <a href="https://code.google.com/p/sb2-js/">sb2.js</a>. The <a href="https://stuk.github.io/jszip/">JSZip</a> library is used to read <code>.sb2</code> and <code>.sb3</code> files. The <a href="https://github.com/canvg/canvg">canvg</a> library is used to render SVGs for Scratch 2 projects. The <a href="https://github.com/LLK/scratch-sb1-converter">scratch-sb1-converter</a> library is used to support Scratch 1 projects.</p>
157157

158158
<h1 data-i18n="index.code">Code</h1>
159-
<p>The source code for forkphorus is available <a href=https://github.com/forkphorus/forkphorus>on GitHub</a>.</p>
159+
<p>The source code for wickphorus is available <a href=https://github.com/wiktorlaskowski/wickphorus>on GitHub</a>.</p>
160160

161161
<footer>
162162
<a data-i18n="index.privacy" href="privacy">Privacy Policy</a>
@@ -178,7 +178,7 @@ <h1 data-i18n="index.code">Code</h1>
178178
P.i18n.addTranslations('en', {
179179
'studioview.authorAttribution': 'by $author',
180180
'studioview.projectHoverText': '$title by $author',
181-
'index.document.title': 'forkphorus - phosphorus for Scratch 3',
181+
'index.document.title': 'wickphorus - phosphorus for Scratch 3',
182182
'index.report': 'Report a problem',
183183
'index.embed': 'Embed this project',
184184
'index.package': 'Package this project',
@@ -193,7 +193,7 @@ <h1 data-i18n="index.code">Code</h1>
193193
'index.package.480': '480\u00D7360',
194194
'index.package.custom': 'Other:',
195195
'index.package.divider': '\u00D7',
196-
'index.embed.description': 'Include the forkphorus player in your web site.',
196+
'index.embed.description': 'Include the wickphorus player in your web site.',
197197
'index.embed.autostart': 'Start automatically',
198198
'index.embed.lightControls': 'Light controls',
199199
'index.embed.hideUI': 'Hide UI',
@@ -264,7 +264,7 @@ <h1 data-i18n="index.code">Code</h1>
264264

265265
// expose player on the global object
266266
window.player = player;
267-
console.log('forkphorus is open source https://github.com/forkphorus/forkphorus');
267+
console.log('wickphorus is open source https://github.com/wiktorlaskowski/wickphorus');
268268
console.log('The project player is exposed as `player`');
269269
console.log('The project is exposed as `player.stage`');
270270
console.log('Sprites are exposed in `player.stage.children`');
@@ -404,7 +404,7 @@ <h1 data-i18n="index.code">Code</h1>
404404
var title = meta.getTitle();
405405
if (title) {
406406
player.projectTitle = title;
407-
document.title = title + ' - forkphorus';
407+
document.title = title + ' - wickphorus';
408408
updateLinks();
409409
} else {
410410
resetTitle();

0 commit comments

Comments
 (0)