Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update about_tab.cpp #259

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 29 additions & 7 deletions gui/tabs/about_tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,21 @@ namespace AboutTab {
}

if (openWelcome) {
std::string welcomeText = std::format("Welcome {}to SickoMenu {}!", State.HasOpenedMenuBefore ? "back " : "", State.SickoVersion);
ImGui::Text(welcomeText.c_str());
ImGui::Text("SickoMenu is a powerful utility for Among Us.");
ImGui::Text("Welcome %sto", State.HasOpenedMenuBefore ? "back " : "");
ImGui::SameLine(0.0f); // Remove space after "Welcome"

// "SickoMenu" with no space, "Sicko" in green, "Menu" in red
ImGui::TextColored(ImVec4(0.13f, 0.8f, 0.31f, 1.0f), "Sicko");
ImGui::SameLine(0.0f); // No space
ImGui::TextColored(ImVec4(0.8f, 0.13f, 0.2f, 1.0f), "Menu");
ImGui::SameLine(0.0f); // No space
ImGui::Text("!");

// Use the same styling for all references to "SickoMenu"
ImGui::TextColored(ImVec4(0.13f, 0.8f, 0.31f, 1.0f), "Sicko");
ImGui::SameLine(0.0f); // No space
ImGui::TextColored(ImVec4(0.8f, 0.13f, 0.2f, 1.0f), "Menu");
ImGui::Text(" is a powerful utility for Among Us.");
ImGui::Text("It aims to improve the game experience for all players!");
ImGui::Text("Use the \"Check for Updates\" button to download the latest release!");
if (ImGui::Button("GitHub")) {
Expand All @@ -50,7 +62,7 @@ namespace AboutTab {
}
ImGui::Text("Join the Discord server for support, bug reports, and sneak peeks!");
if (ImGui::Button("Join our Discord!")) {
OpenLink("https://dsc.gg/sickos"); //sickomenu discord invite
OpenLink("https://dsc.gg/sickos");
}
ImGui::Text("SickoMenu is a free and open-source software.");

Expand All @@ -66,7 +78,17 @@ namespace AboutTab {
}

if (openCredits) {
ImGui::Text("SickoMenu is a fork of AmongUsMenu (archived), go check it out!");
// "SickoMenu" with no space, "Sicko" in green, "Menu" in red
ImGui::TextColored(ImVec4(0.13f, 0.8f, 0.31f, 1.0f), "Sicko");
ImGui::SameLine(0.0f); // No space
ImGui::TextColored(ImVec4(0.8f, 0.13f, 0.2f, 1.0f), "Menu");
ImGui::Text(" is a fork of ");

// "AmongUsMenu" with no space, "AmongUs" in red, "Menu" in white
ImGui::TextColored(ImVec4(0.8f, 0.13f, 0.2f, 1.0f), "AmongUs");
ImGui::SameLine(0.0f); // No space
ImGui::TextColored(ImVec4(1.0f, 1.0f, 1.0f, 1.0f), "Menu");
ImGui::Text(" (archived), go check it out!");
if (ImGui::Button("AmongUsMenu")) {
OpenLink("https://github.com/BitCrackers/AmongUsMenu");
}
Expand Down Expand Up @@ -109,11 +131,11 @@ namespace AboutTab {
ImGui::Text("Thanks to v0idp for originally creating AmongUsMenu!");
if (ImGui::Button("v0idp")) {
OpenLink("https://github.com/v0idp");
}
}

ImGui::Text("Everyone else who contributed to AUM and I couldn't list here.");
ImGui::Text("Thank you for making SickoMenu possible!");
}
ImGui::EndChild();
}
}
}