diff --git a/assets/css/layout.css b/assets/css/layout.css index 99d7ca4..0b801f5 100644 --- a/assets/css/layout.css +++ b/assets/css/layout.css @@ -113,6 +113,11 @@ main.profile-page img.avatar { width: 8rem; } +main.profile-page details summary { + cursor: pointer; + margin-bottom: 1.6rem; +} + main .article-list .item h3 { margin-bottom: 0.5rem; } diff --git a/html.ts b/html.ts index 2f13acd..f4b6f16 100644 --- a/html.ts +++ b/html.ts @@ -107,6 +107,19 @@ export function articleListHtml(articles: Article[]): string { `; } +function userAddressHtml(profile: Profile) { + let html = ""; + + if (profile.nip05) { + html += `