feat: simplify Wikipedia app starting page

This commit is contained in:
2026-05-26 07:32:35 +02:00
parent 80d2fb4cea
commit c52e42337c
+1 -5
View File
@@ -928,7 +928,7 @@ static void build_welcome_lines(bool preserve_scroll = false) {
add_spacer(gui_max(FONT_SIZE - 4, 10));
const char* intro =
"Search for an article above, or use this page as a calmer starting point than the Wikipedia Main Page.";
"Search for an article above.";
wrap_text(body_font, FONT_SIZE, intro, (int)strlen(intro), max_px, palette.text);
add_spacer(gui_max(FONT_SIZE + 2, 16));
@@ -963,10 +963,6 @@ static void build_welcome_lines(bool preserve_scroll = false) {
wrap_text(tf, SECTION_SIZE, section, (int)strlen(section), max_px, palette.heading);
add_spacer(gui_max(FONT_SIZE - 8, 8));
const char* suggestions =
"Try topics like Linux, Montauk, operating system, Norway, mathematics, music, or any article title that comes to mind.";
wrap_text(body_font, FONT_SIZE, suggestions, (int)strlen(suggestions), max_px, palette.text);
if (g_welcome_status[0]) {
add_spacer(gui_max(FONT_SIZE - 6, 8));
wrap_text(body_font, gui_max(FONT_SIZE - 2, 12),