From 750a75863463bc0216246d9c6c99ed9775f1c485 Mon Sep 17 00:00:00 2001 From: Prozilla Date: Thu, 13 Jun 2024 07:26:16 +0200 Subject: [PATCH] Improved responsiveness + general maintenance --- deploy.sh | 2 +- index.html | 12 +- public/site.webmanifest | 4 +- src/components/actions/Actions.module.css | 9 ++ .../actions/actions/TextDisplay.tsx | 7 ++ src/components/apps/terminal/Terminal.tsx | 103 +++++++++++------- .../apps/text-editor/TextEditor.tsx | 13 ++- .../text-editor/overrides/MarkdownImage.tsx | 6 +- .../text-editor/overrides/MarkdownLink.tsx | 21 ++-- src/components/windows/WindowView.tsx | 45 ++++---- src/config/windows.config.ts | 6 +- src/features/_utils/browser.utils.ts | 6 +- src/features/apps/terminal/command.ts | 6 +- .../apps/terminal/commands/cmatrix.ts | 41 ++++--- .../apps/terminal/commands/neofetch.ts | 13 ++- .../apps/text-editor/_utils/sanitizeProps.ts | 9 ++ src/features/windows/windowsManager.ts | 21 +++- 17 files changed, 220 insertions(+), 104 deletions(-) create mode 100644 src/components/actions/actions/TextDisplay.tsx create mode 100644 src/features/apps/text-editor/_utils/sanitizeProps.ts diff --git a/deploy.sh b/deploy.sh index bf0af26..3c2aeb4 100644 --- a/deploy.sh +++ b/deploy.sh @@ -15,7 +15,7 @@ echo -e "Commit message: \e[0;36m$COMMIT_MESSAGE\e[0m" echo -e "Repository: \e[0;36m$REPO_URL\e[0m" echo "" -if gh-pages -x -d dist -m "$COMMIT_MESSAGE" -r "$REPO_URL" ; then +if gh-pages -d dist -m "$COMMIT_MESSAGE" -r "$REPO_URL" ; then echo -e "\e[0;32m✓ Successfully deployed to \e[0;36mhttps://$domain/\e[0m" else echo -e "\e[0;31mFailed to deploy\e[0m" diff --git a/index.html b/index.html index a44e629..1d5908e 100644 --- a/index.html +++ b/index.html @@ -12,9 +12,11 @@ + + + - @@ -44,6 +46,14 @@ +