diff --git a/src/meshcore_hub/web/static/css/app.css b/src/meshcore_hub/web/static/css/app.css index 5a20813..b3fe8a1 100644 --- a/src/meshcore_hub/web/static/css/app.css +++ b/src/meshcore_hub/web/static/css/app.css @@ -91,6 +91,11 @@ #app .btn-outline:hover { color: #fff !important; } +.btn-hero-members { + --btn-color: var(--color-members); + --btn-border-color: var(--color-members); + --btn-bg: transparent; +} /* ========================================================================== Panel Glow diff --git a/src/meshcore_hub/web/static/js/spa/pages/home.js b/src/meshcore_hub/web/static/js/spa/pages/home.js index 99c0b09..b36b19f 100644 --- a/src/meshcore_hub/web/static/js/spa/pages/home.js +++ b/src/meshcore_hub/web/static/js/spa/pages/home.js @@ -4,7 +4,7 @@ import { getConfig, errorAlert, pageColors, renderStatCard, t, } from '../components.js'; import { - iconDashboard, iconNodes, iconAdvertisements, iconMessages, iconMap, + iconDashboard, iconNodes, iconAdvertisements, iconMessages, iconMembers, iconMap, iconPage, iconInfo, iconChart, iconGlobe, iconGithub, } from '../icons.js'; @@ -78,6 +78,11 @@ function renderHeroSection({ networkName, logoUrl, logoInvertLight, networkCity, ${iconMessages('h-5 w-5 mr-2')} ${t('entities.messages')} ` : nothing} + ${features.members !== false ? html` + + ${iconMembers('h-5 w-5 mr-2')} + ${t('entities.members')} + ` : nothing} ${features.map !== false ? html` ${iconMap('h-5 w-5 mr-2')} diff --git a/src/meshcore_hub/web/static/js/spa/pages/profile.js b/src/meshcore_hub/web/static/js/spa/pages/profile.js index fa5d310..cfe6555 100644 --- a/src/meshcore_hub/web/static/js/spa/pages/profile.js +++ b/src/meshcore_hub/web/static/js/spa/pages/profile.js @@ -63,8 +63,10 @@ function renderPublicProfile(profile, config, target) {
-

${profile.name || t('common.unnamed')}

- ${profile.callsign ? html`${profile.callsign}` : nothing} +

+ ${profile.name || t('common.unnamed')} + ${profile.callsign ? html`${profile.callsign}` : nothing} +

${renderRoleBadges(profile.roles)} ${profile.description ? html`

${profile.description}

` : nothing} ${profile.url ? html`
${profile.url}` : nothing}