Skip to content

Commit 943d792

Browse files
committed
(v0.1.6.2-alpha) VSCode Editor!
Ah yes another app checked off the list! I tried using vscode.dev didnt work with iframe, then i tried using monaco editor but uhh it was plain editor SO finally i went down a crazy rabbit hole and found github1s.com. And i have used that to show my repo in the app!!
1 parent bb9e6d2 commit 943d792

File tree

7 files changed

+35
-6
lines changed

7 files changed

+35
-6
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,12 @@ Your PC has been compromised by a group called the "HackClub". Can you regain co
3737
- [ ] Window App's title bar and tab bar colors need adjusting.
3838
- [ ] Notepad Generalised component
3939
- [ ] CHANGE CHROME TO BRAVE
40-
- [ ] Terminal
40+
- [X] VSCode App (Added v0.1.6.2)
41+
- [X] Terminal (v0.1.6.0 ... v0.1.6.1)
42+
- [X] Terminal (Proper) Selection, Proper fonts, Polish (Done v0.1.6.1)
4143
- [X] Make a Progress Panel and HINT icon that always stays on top of the screen (below apps above desktop)
4244
- [ ] Progress Panel and Hint page with proper functionalities
4345
- [X] Remove Border on Fullscreen (Fixed v0.1.5.8(2))
4446
- [ ] BUG: The windows menu opens but the indicator is not shown in the taskbar
4547
- [ ] Make Progress Panel actually show progress.
46-
- [X] Terminal (Proper) Selection, Proper fonts, Polish (Done v0.1.6.1)
48+
-

devlog_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
---
33
### Next Steps:
44
- ~~A game sequence~~ (DESIGNED!)
5-
- Each App T-T (2/6)
5+
- Each App T-T (4/6)
66
- Hints and Actual Gameplay
77
---
88
### Notes:

src/apps/chrome.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ function Chrome() {
44

55
return (
66
<>
7-
<p>Chrome Browser :P</p>
7+
<iframe
8+
className={"chrome-iframe"}
9+
src={"https://5.39.47.103/#/cast/browser"}
10+
/>
811
</>
912
)
1013
}

src/apps/terminal.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ function Terminal() {
7575
}
7676
};
7777

78+
7879
return (
7980
<div
8081
className="terminal-app"
@@ -99,7 +100,6 @@ function Terminal() {
99100
value={input}
100101
onChange={(e) => {
101102
setInput(e.target.value);
102-
e.target.parentElement.style.setProperty('--char-count', e.target.value.length);
103103
}}
104104
onKeyDown={handleKeyDown}
105105
autoComplete="off"

src/apps/vscode.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ function VSCode() {
44

55
return (
66
<>
7-
<p>VSCode</p>
7+
<iframe
8+
src="https://github1s.com/rupnil-codes/override.exe/blob/main/src/routes/desktop.jsx"
9+
title="VSCode"
10+
className="vscode-iframe"
11+
></iframe>
812
</>
913
)
1014
}

src/styles/apps/chrome.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
.chrome-iframe {
3+
height: 100%;
4+
width: 100%;
5+
6+
border: none;
7+
outline: none;
8+
9+
border-radius: 0 0 0.5rem 0.5rem;
10+
}

src/styles/apps/vscode.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
.vscode-iframe {
3+
height: 100%;
4+
width: 100%;
5+
6+
outline: none;
7+
border: none;
8+
9+
border-radius: 0 0 0.5rem 0.5rem;
10+
}

0 commit comments

Comments
 (0)