diff --git a/.prettierignore b/.prettierignore index 49688bd..bac5ad4 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,7 +1,6 @@ # Some prettier-specific files so it doesn't die. **/*.png **/*.ico -**/*.woff LICENSE .gitignore diff --git a/assets/lang/en_US.json b/assets/lang/en_US.json deleted file mode 100644 index 03e21bc..0000000 --- a/assets/lang/en_US.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "loading_screen_start": "Starting ArmCord…", - "loading_screen_offline": "You appear to be offline. Please connect to the Internet and try again.", - "loading_screen_update": "A new version of ArmCord is available. Please update to the latest version.", - "setup_question1": "Select what kind of setup you want to perform:", - "setup_question1_answer1": "Express setup", - "setup_question1_answer2": "Full setup", - "setup_offline": "You appear to be offline. Please connect to the Internet and restart the ArmCord setup.", - "setup_question2": "Choose your Discord channel/instance:", - "setup_question3": "Should ArmCord handle client mods installation?", - "yes": "Yes", - "no": "No", - "next": "Next", - "setup_question4": "Select a client mod you want to install:", - "setup_question4_clientmodnotice": "Why not all of them? Having many client mods at the same time can cause issues. If you really want to do it though, check our documentation.", - "settings-theme": "ArmCord Theme:", - "settings-theme-glasstron": "Glasstron (experimental)", - "settings-theme-tabs": "Tabs (experimental)", - "settings-theme-default": "Default", - "settings-theme-native": "Native", - "settings-tray": "Minimize to tray", - "settings-patches": "Automatic Patches", - "settings-channel": "Discord channel:", - "settings-invitewebsocket": "discord.gg support", - "settings-mod": "Client mod:", - "settings-save": "Save settings", - "settings-updater": "Check for updates" -} diff --git a/assets/lang/fr-FR.json b/assets/lang/fr-FR.json deleted file mode 100644 index 28dbdbd..0000000 --- a/assets/lang/fr-FR.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "loading_screen_start": "Démarrage d'ArmCord…", - "loading_screen_update": "Une nouvelle version de ArmCord est disponible. Veuillez mettre à jour la dernière version.", - "setup_question1": "Sélectionnez le type de configuration que vous souhaitez effectuer :", - "setup_question1_answer1": "Configuration express", - "setup_question1_answer2": "Configuration complète", - "setup_question2": "Choisissez votre canal/instance Discord :", - "setup_question3": "ArmCord doit-il s'occuper de l'installation des mods clients ?", - "yes": "Oui", - "no": "Non", - "next": "Suivant", - "setup_question4": "Sélectionnez le mod client que vous souhaitez installer :", - "setup_question4_clientmodnotice": "Pourquoi pas tous ? Le fait d'avoir plusieurs mods clients en même temps peut causer des problèmes. Si vous voulez vraiment le faire, consultez notre documentation.", - "loading_screen_offline": "Vous semblez être hors ligne. Veuillez vous connecter à internet et réessayer.", - "setup_offline": "Vous semblez être hors ligne. Veuillez vous connecter à internet et redémarrer ArmCord Setup.", - "settings-tray": "Minimize to tray", - "settings-channel": "Discord channel:", - "settings-mod": "Client mod:", - "settings-save": "Save settings", - "settings-updater": "Check for updates", - "settings-theme": "ArmCord Theme:", - "settings-theme-tabs": "Tabs (experimental)", - "settings-theme-default": "Default", - "settings-theme-glasstron": "Glasstron (experimental)", - "settings-theme-native": "Native", - "settings-patches": "Automatic Patches", - "settings-invitewebsocket": "discord.gg support" -} diff --git a/assets/lang/it-IT.json b/assets/lang/it-IT.json deleted file mode 100644 index 144d221..0000000 --- a/assets/lang/it-IT.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "loading_screen_update": "Una nuova versione di ArmCord è disponibile. Per favore aggiorna all'ultima versione.", - "setup_question1_answer1": "Configurazione veloce", - "loading_screen_start": "Avviando Armcord…", - "loading_screen_offline": "Sembri essere offline. Per favore connettiti all'Internet e riprova.", - "setup_question1": "Seleziona quale tipo di setup vuoi eseguire:", - "setup_question2": "Seleziona il tuo canale/istanza di Discord:", - "setup_question3": "ArmCord dovrebbe gestire l'installazione di client mod?", - "yes": "Sì", - "no": "No", - "next": "Avanti", - "setup_question4": "Seleziona una client mod che vuoi installare:", - "setup_question1_answer2": "Configurazione completa", - "setup_offline": "Sembri essere offline. Per favore connettiti all'Internet e riavvia la configurazione di ArmCord.", - "setup_question4_clientmodnotice": "Perché non tutti? Avere molte client mod allo stesso tempo puo causare problemi. Se davvero vuoi farlo, vedi la nostra documentazione.", - "settings-tray": "Riduci ad icona", - "settings-channel": "Canale Discord:", - "settings-save": "Salva impostazioni", - "settings-updater": "Controlla gli aggiornamenti", - "settings-mod": "Client mod:", - "settings-theme": "ArmCord Theme:", - "settings-theme-glasstron": "Glasstron (experimental)", - "settings-theme-tabs": "Tabs (experimental)", - "settings-theme-default": "Default", - "settings-theme-native": "Native", - "settings-patches": "Automatic Patches", - "settings-invitewebsocket": "discord.gg support" -} diff --git a/assets/lang/nb-NO.json b/assets/lang/nb-NO.json deleted file mode 100644 index 41670f2..0000000 --- a/assets/lang/nb-NO.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "loading_screen_start": "Starter ArmCord …", - "loading_screen_offline": "Koble til Internett og prøv igjen.", - "loading_screen_update": "En ny versjon av ArmCord er tilgjengelig. Oppgrader til siste versjon.", - "setup_question1": "Velg hvilket oppsett du ønsker å utføre:", - "setup_question1_answer2": "Fullt oppsett", - "setup_question2": "Velg din Discor-kanal/instans:", - "yes": "Ja", - "no": "Nei", - "setup_question1_answer1": "Hurtigoppsett", - "setup_question3": "Skal ArmCord håndtere installasjon av klient-modifikasjoner?", - "setup_offline": "Koble til Internett og start ArmCord-oppsett på ny.", - "next": "Neste", - "setup_question4": "Velg en klient-modifikasjon du ønsker å installere:", - "setup_question4_clientmodnotice": "Hvorfor ikke alle? Å ha mange klient-modifikasjoner samtidig kan forårsake problemer. Hvis du vil gjøre det likevel bør du lese dokumentasjonen vår.", - "settings-tray": "Minimize to tray", - "settings-channel": "Discord channel:", - "settings-mod": "Client mod:", - "settings-save": "Save settings", - "settings-updater": "Check for updates", - "settings-theme": "ArmCord Theme:", - "settings-theme-glasstron": "Glasstron (experimental)", - "settings-theme-tabs": "Tabs (experimental)", - "settings-theme-default": "Default", - "settings-theme-native": "Native", - "settings-patches": "Automatic Patches", - "settings-invitewebsocket": "discord.gg support" -} diff --git a/assets/lang/nl-NL.json b/assets/lang/nl-NL.json deleted file mode 100644 index 485d28f..0000000 --- a/assets/lang/nl-NL.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "setup_question1": "Selecteer wat voor soort setup je wilt starten:", - "setup_question1_answer1": "Express setup", - "setup_question1_answer2": "Volledige setup", - "setup_question3": "Moet ArmCord client mods installeren?", - "yes": "Ja", - "no": "Nee", - "setup_offline": "Het lijkt erop alsof je offline bent. Verbind met het Internet en herstart ArmCord setup.", - "loading_screen_start": "ArmCord starten…", - "next": "Volgende", - "setup_question4": "Selecteer een client mod om te installeren:", - "setup_question4_clientmodnotice": "Waarom niet allemaal? Meerdere client mods installeren kan problemen veroorzaken. Als je dit echt wilt doen, kan je de documentatie bekijken.", - "loading_screen_offline": "Het lijkt erop alsof je offline bent. Verbind met het Internet en probeer opnieuw.", - "loading_screen_update": "Een nieuwe versie van ArmCord is beschikbaar. Update alstublieft naar de nieuwste versie.", - "setup_question2": "Kies je Discord kanaal/instantie:", - "settings-tray": "Minimaliseer naar pictogram in het systeemvak", - "settings-channel": "Discord kanaal:", - "settings-mod": "Client mod:", - "settings-save": "Instellingen opslaan", - "settings-updater": "Check voor updates", - "settings-patches": "Automatische Patches", - "settings-theme": "ArmCord Thema:", - "settings-theme-glasstron": "Glasstron (experimenteel)", - "settings-theme-tabs": "Tabs (experimenteel)", - "settings-theme-default": "Standaard", - "settings-theme-native": "Native", - "settings-invitewebsocket": "discord.gg support" -} diff --git a/assets/lang/pl-PL.json b/assets/lang/pl-PL.json deleted file mode 100644 index 979e56b..0000000 --- a/assets/lang/pl-PL.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "loading_screen_update": "Nowa wersja ArmCord jest dostępna. Proszę zaktualizować aplikację do najnowszej wersji.", - "setup_question1_answer2": "Pełna konfiguracja", - "setup_question2": "Wybierz swój kanał/odmianę Discorda:", - "setup_question3": "Czy ArmCord powinienem zajmować sie instalacją modyfikacji klienta?", - "yes": "Tak", - "no": "Nie", - "next": "Dalej", - "setup_question4": "Wybierz modyfikację klienta którą chcesz zainstalować:", - "setup_question4_clientmodnotice": "Dlaczego nie wszystkie na raz? Posiadanie wielu modyfikacji może spowodować wiele błędów. Jeśli jednak nalegasz możesz sprawdzić naszą dokumentację.", - "loading_screen_start": "Ładowanie ArmCord…", - "loading_screen_offline": "Wydaje nam się, że nie jesteś połączony z Internetem. Połącz się z internetem i spróbuj ponownie.", - "setup_question1_answer1": "Ekspresowa konfiguracja", - "setup_question1": "Wybierz w jaki sposób chcesz skonfigurować ArmCord:", - "setup_offline": "Wydaje nam się że nie jesteś połączony z internetem. Połącz się z internetem i uruchom ponownie konfiguracje ArmCord .", - "settings-channel": "Kanał Discorda:", - "settings-updater": "Sprawdź aktualizacje", - "settings-tray": "Zminimalizuj do zasobnika zadań", - "settings-save": "Zapisz ustawienia", - "settings-mod": "Modyfikacja klienta:", - "settings-theme": "Motyw ArmCord:", - "settings-theme-glasstron": "Glasstron (eksperymentalne)", - "settings-theme-tabs": "Karty (eksperymentalne)", - "settings-theme-default": "Domyślny", - "settings-theme-native": "Natywny", - "settings-patches": "Automatyczne łatki", - "settings-invitewebsocket": "Wsparcie linków discord.gg" -} diff --git a/src/content/css/fonts/whitney_400.woff b/src/content/css/fonts/whitney_400.woff deleted file mode 100644 index 2b33081..0000000 Binary files a/src/content/css/fonts/whitney_400.woff and /dev/null differ diff --git a/src/content/css/setup.css b/src/content/css/setup.css index fd49cf4..abc270f 100644 --- a/src/content/css/setup.css +++ b/src/content/css/setup.css @@ -1,148 +1,91 @@ +/*CSS ONLY FOR INTERNAL USE (setup and loading)*/ @import url("https://armcord.smartfridge.space/logofont.css"); -/* Meta {{{ */ :root { - --background-primary: #282b30; - --background-secondary: rgba(255, 255, 255, 0.1); - --brand-experiment: #7289da; - --header-primary: #fff; - --text-muted: #72767d; - --font-primary: "Whitney"; + background-color: #2c2f33 !important; + --header-secondary: #b9bbbe !important; + --header-primary: #fff !important; + --background-tertiary: #202225 !important; } - -@font-face { - font-family: Whitney; - font-weight: 400; - font-style: normal; - src: url(https://armcord.smartfridge.space/whitney_400.woff) format("woff"); -} - -html, body { - overflow: hidden; - - margin: 0; - padding-top: 30px; - width: 100%; - height: 100%; - - background: var(--background-primary); - - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; -} - -* { - font-family: var(--font-primary), sans-serif; - - box-sizing: border-box; - user-select: none; - cursor: default; -} -/* }}} */ - -/* Utility classes {{{ */ -.hidden { - display: none !important; -} -.text-center { - text-align: center; -} -.setup-ask { - font-size: 20px; -} - -.center { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; -} -/* }}} */ - -#setup { - display: flex; - flex-direction: column; - align-items: center; - + background-color: #2c2f33; color: white; } -/* Warning {{{ */ -#warning { - font-size: 1.5em; - font-weight: bold; - text-align: center; - margin-top: 10px; - margin-bottom: 10px; - - max-width: 328px; - background-color: rgba(255, 0, 0, 0.1); - - border: red solid 2px; - border-radius: 0.5rem; -} -#warning > p { +p { color: white; - font-weight: bold; - margin: 1rem; + text-align: center; + font-weight: 100; + font-family: Whitney, Helvetica Neue, Helvetica, Arial, sans-serif; + text-rendering: optimizeLegibility; } -/* }}} */ -/* Logo {{{ */ -#logo { - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; +.logo { + font-size: 0px; + text-align: center; + transform: translateY(-105%); } -#logo p:first-child { + +.logo:before { + content: "ARM"; color: #7289da; - margin: 0; font-weight: normal; font-family: Helvetica, sans-serif; font-size: 32px; } -#logo p:last-child { - color: white; - margin: 0; + +.logo:after { + content: "Cord"; + color: #ffffff; font-weight: normal; font-family: Discordinated; font-size: 32px; } -/* }}} */ -/* Buttons {{{ */ -#buttons { - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - gap: 1rem; +span { + text-align: center; +} - user-select: all !important; +.logo { + display: block; + margin-left: auto; + margin-right: auto; + max-height: 204px; + max-width: 204px; + transform: translateY(5%); +} - margin-top: 10px; - margin-bottom: 10px; +.container { + position: fixed; + top: 50%; + left: 50%; + color: #fff; + transform: translate(-50%, -50%); +} +button#express { + margin-right: 84px; } button { - background: var(--brand-experiment); - color: var(--header-primary); + background-color: #7289da; + font-family: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif; + color: #ffffff; + padding: 4px; + border-radius: 5px; + margin-top: 5px; - border: none; - border-radius: 4px; - - padding: 8px 20px; + text-align: center; + border-style: none; + outline: none; +} +.setup-ask { + font-size: 20px; } button:hover { - filter: brightness(85%); + background-color: #687dc6; + border-style: none; + outline: none; cursor: pointer; } -/* }}} */ - -/* Dropdowns {{{ */ select { -webkit-appearance: button; -moz-appearance: button; @@ -163,4 +106,6 @@ select { text-overflow: ellipsis; white-space: nowrap; } -/* }}} */ +.center { + text-align: center; +} diff --git a/src/content/setup.html b/src/content/setup.html index 8e0a208..22f3f98 100644 --- a/src/content/setup.html +++ b/src/content/setup.html @@ -1,150 +1,134 @@ +
+ - -You appear to be offline. Please connect to the internet and restart ArmCord Setup.
-ARM
-Cord
-Select the type of setup you want to perform.
- -Choose your Discord channel/instance:
-Should ArmCord handle client mods installation?
-Select a client mod you want to install:
-- Why not all of them? Having many client mods at the same time can cause issues. If you really - want to do it though, check our documentation ;) -
- -Select what kind of setup you want to perform:
+ +