feature: community - new listing page + set up

This commit is contained in:
gaelle morin 2021-04-01 08:51:51 +02:00
parent 4860b20e20
commit 274a3fae76
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C
6 changed files with 15 additions and 0 deletions

View File

@ -110,6 +110,10 @@ html(lang="en")
hubl-reactivity(bind-user nested-field="circles" target-src=`${component.endpoints.get}joinable/`)
include views/page-circle.pug
if component.type == "communities"
.scrollbar-content
include views/page-communities.pug
if component.type == "dashboard"
.scrollbar-content
include views/page-dashboard.pug

View File

@ -26,6 +26,7 @@
"resources": "Resources",
"jobBoard": "Job offers",
"profileDirectory": "Profiles directory",
"communities": "Communities",
"projects": "Projects",
"circles": "Circles",
"messages": "Messages",

View File

@ -26,6 +26,7 @@
"resources": "Recursos",
"jobBoard": "Ofertas de trabajo",
"profileDirectory": "Directorio de miembrxs",
"communities": "Las comunidades",
"projects": "Proyectos",
"circles": "Círculos",
"messages": "Mensajes",

View File

@ -26,6 +26,7 @@
"resources": "Ressources",
"jobBoard": "Offres de mission",
"profileDirectory": "Annuaire des membres",
"communities": "Les communautés",
"projects": "Projets",
"circles": "Cercles",
"messages": "Messages",

View File

@ -0,0 +1 @@
p Hello

View File

@ -9,6 +9,13 @@ solid-router#navbar-router(default-route='dashboard')
div.icon.icon-small.icon-home
div.segment.text-uppercase.text-letter-spacing-large(data-trans=`${component.name?component.name:"menuLeft.dashboard"}`)
div.divider
if component.type == "communities"
solid-route.menu.segment.full.padding-xsmall.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=component.route)
div.segment.margin-right-xxsmall
div.segment.icon.icon-small.icon-grid
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.communities")
div.divider
if component.type == "circles"
div.menu-wrapper
if componentSet.has("admin")