Drop the logo and title from the top bar
The bar now holds only Lists, Settings and Sign out, right-aligned, and is shown only when signed in, so visitors never see it on any page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0d4bbe8c8a
commit
568162202b
3 files changed
+5
-19
No files matched your search
@@ -82,7 +82,7 @@ function profileSection() {
|
||||
|
||||
const form = h("form", { class: "stack" },
|
||||
h("div", { class: "avatar-edit" }, avatarBox, h("div", { class: "row-btns", style: { display: "flex", gap: "6px", flexWrap: "wrap" } }, uploadBtn, removeBtn, file)),
|
||||
h("div", { class: "row" }, field("Your name", ownerName, "Shown as the page heading."), field("Site title", siteTitle, "Shown in the header and browser tab. Leave blank to use “Your name's Canon”.")),
|
||||
h("div", { class: "row" }, field("Your name", ownerName, "Shown as the page heading."), field("Site title", siteTitle, "Shown in the browser tab. Leave blank to use “Your name's Canon”.")),
|
||||
field("Tagline", tagline),
|
||||
field("Entries per list on the home page", preview, "Visitors see the full list on each list's page. 0 shows only the heading."),
|
||||
h("label", { class: "check" }, notes, "Show why each entry is ranked where it is"),
|
||||
@@ -95,11 +95,7 @@ function profileSection() {
|
||||
ownerName: ownerName.value, siteTitle: siteTitle.value, tagline: tagline.value,
|
||||
previewCount: Number(preview.value), showNotes: notes.checked, showPreviews: previews.checked,
|
||||
}, save, "Profile saved");
|
||||
if (ok) {
|
||||
renderAvatar();
|
||||
const brand = document.querySelector(".brand-name");
|
||||
if (brand) brand.textContent = settings.siteTitleShown;
|
||||
}
|
||||
if (ok) renderAvatar();
|
||||
});
|
||||
renderAvatar();
|
||||
return section("profile", "Profile", "Who's behind the lists.", form);
|
||||
|
||||
Reference in new issue
Block a user