",
get_color(COLOR_BACKGROUND_FAR),
get_color(COLOR_FOREGROUND_TEXT),
SCALE / 100,
SCALE % 100);
{
printf("
");
{
printf("
",
get_color(COLOR_FOREGROUND_TITLE));
print_text("Guattari", COLOR_FOREGROUND_TITLE);
printf(" ",
get_color(COLOR_FOREGROUND_SPOT));
print_text("Tech", COLOR_FOREGROUND_SPOT);
printf("
");
printf(
"
",
get_color(COLOR_FOREGROUND_HEAD));
print_text(headlines[rand() % (sizeof headlines / sizeof *headlines)], COLOR_FOREGROUND_HEAD);
printf("
");
printf("
",
get_color(COLOR_BACKGROUND_NAV));
for (i64 i = 0; i < (i64)(sizeof navigation_left / sizeof *navigation_left); ++i)
printf("- %s
",
navigation_left[i].href,
navigation_left[i].target,
navigation_left[i].text);
for (i64 i = sizeof navigation_right / sizeof *navigation_right - 1; i >= 0; --i)
printf("- %s
",
navigation_right[i].href,
navigation_right[i].target,
navigation_right[i].text);
printf("
");
printf("
");
print_tags(docs[doc].content, 0);
printf("
");
}
printf("
",
get_color(COLOR_FOREGROUND_FOOT));
{
if (docs[doc].id != NULL) {
printf("",
docs[doc].id);
} else
printf("");
printf(
"© %lld "
"Mitya Selivanov | CC-BY-4.0 ",
year());
printf("",
get_color(COLOR_RAINBOW_LIGHT));
}
printf("
");
}
printf("