commit 7208f740eb40b63774186516bd7454ed7eb89453
Author: MrJensK <jens.se@icloud.com>
AuthorDate: Sun Aug 23 20:47:47 2026 +0200
Commit: MrJensK <jens.se@icloud.com>
CommitDate: Sun Aug 23 20:47:47 2026 +0200
Revert logo to the original two-row block art, with C++ baked into the same half-block glyph style
The oversized box-drawing banner made the persistent Browser header 8
rows tall, crowding out most of the results list. Back to the compact
original wordmark; C and + are new glyphs in the same style (C reuses
O/R's left stroke with an open top/bottom cap, + uses a half-block
seam trick across the two rows) instead of a separate plain-text
caption underneath.
---
include/torlinkc/ui/logo.hpp | 10 +++++-----
src/ui/logo.cpp | 18 ++++++++----------
2 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/include/torlinkc/ui/logo.hpp b/include/torlinkc/ui/logo.hpp
index 13696de..829fa34 100644
--- a/include/torlinkc/ui/logo.hpp
+++ b/include/torlinkc/ui/logo.hpp
@@ -4,13 +4,13 @@
namespace torlinkc::ui {
-inline constexpr int kLogoWidth = 27;
+inline constexpr int kLogoWidth = 39;
// The original torlink block-art wordmark (reads as "TORLINK" -- a block
-// font has no case distinction), with a "- C++" caption underneath. The
-// block art has a horizontal accent->bright gradient (per-cell sheen from
-// the original simplified to a static gradient -- see the Phase 4 commit
-// message).
+// font has no case distinction), with "C++" appended in the same
+// half-block glyph style. The block art has a horizontal accent->bright
+// gradient (per-cell sheen from the original simplified to a static
+// gradient -- see the Phase 4 commit message).
ftxui::Element renderLogo();
} // namespace torlinkc::ui
diff --git a/src/ui/logo.cpp b/src/ui/logo.cpp
index e2502c3..f09b46c 100644
--- a/src/ui/logo.cpp
+++ b/src/ui/logo.cpp
@@ -12,16 +12,16 @@ namespace {
// The original torlink block-art wordmark: a block font has no real
// upper/lowercase distinction, so this already reads as "TORLINK". Ported
-// from ui/logo.ts::LOGO_LINES.
+// from ui/logo.ts::LOGO_LINES, with "C++" appended in the same half-block
+// glyph style (C reuses the O/R glyphs' left stroke + open top/bottom caps;
+// + uses the half-block seam trick -- a bottom-half cell stacked on a
+// top-half cell lines up into a full-height crossbar at the row seam).
const std::vector<std::string> kLogoLines = {
- " ๐ ",
- " โโโ โโโ โโโ โ โ โโ โ โโโ",
- " โ โโโ โโโ โโโ โ โ โโ โ โ",
+ " ๐ ",
+ " โโโ โโโ โโโ โ โ โโ โ โโโ โโโ โโโ โโโ",
+ " โ โโโ โโโ โโโ โ โ โโ โ โ โโโ โโโ โโโ",
};
-// Roughly centered under the block art above (~27 columns wide).
-const char* kCaption = " - C++";
-
// accent (#a78bfa) -> bright (#d8b4fe), matching ui/theme.ts::ACCENT_RAMP.
constexpr int kAccentR = 167, kAccentG = 139, kAccentB = 250;
constexpr int kBrightR = 216, kBrightG = 180, kBrightB = 254;
@@ -61,9 +61,7 @@ Element renderLogo() {
}
rows.push_back(hbox(std::move(cells)));
}
- Element wordmark = vbox(std::move(rows)) | bold;
- Element caption = text(kCaption) | dim;
- return vbox({wordmark, caption});
+ return vbox(std::move(rows)) | bold;
}
} // namespace torlinkc::ui