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/`) hubl-reactivity(bind-user nested-field="circles" target-src=`${component.endpoints.get}joinable/`)
include views/page-circle.pug include views/page-circle.pug
if component.type == "communities"
.scrollbar-content
include views/page-communities.pug
if component.type == "dashboard" if component.type == "dashboard"
.scrollbar-content .scrollbar-content
include views/page-dashboard.pug include views/page-dashboard.pug

View File

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

View File

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

View File

@ -26,6 +26,7 @@
"resources": "Ressources", "resources": "Ressources",
"jobBoard": "Offres de mission", "jobBoard": "Offres de mission",
"profileDirectory": "Annuaire des membres", "profileDirectory": "Annuaire des membres",
"communities": "Les communautés",
"projects": "Projets", "projects": "Projets",
"circles": "Cercles", "circles": "Cercles",
"messages": "Messages", "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.icon.icon-small.icon-home
div.segment.text-uppercase.text-letter-spacing-large(data-trans=`${component.name?component.name:"menuLeft.dashboard"}`) div.segment.text-uppercase.text-letter-spacing-large(data-trans=`${component.name?component.name:"menuLeft.dashboard"}`)
div.divider 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" if component.type == "circles"
div.menu-wrapper div.menu-wrapper
if componentSet.has("admin") if componentSet.has("admin")