Commit 1b73beac authored by Julie Barbic's avatar Julie Barbic

Fixes after sib-core and sib-router versions upgrade

parent cbf3a316
......@@ -8,7 +8,7 @@
"scss": "node-sass --watch src/styles/scss/hdapp.scss dist/styles/hdapp.css",
"pug": "node ./compile-pug.js -w",
"pugprod": "pug ./src/index.pug --out ./dist/ --obj prod.json",
"copy-js": "cp ./src/script/*.js ./dist/script/",
"copy-js": "cp ./src/statics/scripts/*.js ./dist/scripts/",
"watch": "run-p scss pug",
"serve": "node server.js"
},
......
section#collectives(hidden)
section#collectives(hidden data-view="collectives")
.container-fluid.page-top
.row
.motif.p-title
......@@ -14,21 +14,34 @@ section#collectives(hidden)
#loading-collectives.loading-block
.mdi.mdi-loading
p.grey !{data.LoadingText}
sib-widget(name="sib-display-email-label")
solid-widget(name="hd-display-email-label")
template
a(href='mailto:${value}') ${label}
sib-display(
data-src=`${serv}/collectives/`,
class-name="cell-name",
widget-img="sib-display-img",
widget-email="sib-display-email-label", class-email="cell-email cell", label-email="",
widget-website="sib-display-blank-link", label-website="", class-website="cell-website cell",
widget-facebook="sib-display-blank-link", label-facebook="", class-facebook="cell-facebook cell",
widget-twitter="sib-display-blank-link", label-twitter="", class-twitter="cell-twitter cell",
widget-comingsoon="sib-display-labelled-boolean", label-comingsoon="Coming soon",
loader-id="loading-collectives" )
solid-widget(name="hd-display-facebook-label")
template
| ${value ? '<a href="${value}">${label}</a>' : ''}
solid-display(
data-src=`${serv}/collectives/`
fields="name, img, email, comingsoon, website, facebook, twitter"
class-name="cell-name"
widget-img="solid-display-img"
widget-email="hd-display-email-label"
class-email="cell-email cell"
label-email=""
widget-website="solid-display-blank-link"
label-website=""
class-website="cell-website cell"
widget-facebook="hd-display-facebook-label"
label-facebook=""
class-facebook="cell-facebook cell"
widget-twitter="solid-display-blank-link"
label-twitter=""
class-twitter="cell-twitter cell"
widget-comingsoon="solid-display-labelled-boolean"
label-comingsoon="Coming soon"
loader-id="loading-collectives")
.other-cell.appear
.bckg-purple
p.white=data.CollectiveslinkText
sib-link(next="creer-un-collectif").link.light-yellow.col-12.text-center
solid-link(next="creer-un-collectif").link.light-yellow.col-12.text-center
span=data.CollectivesCreateLink
section#contact(hidden)
section#contact(hidden data-view="contact")
.container-fluid.page-top
.row
.motif.p-title
......@@ -6,62 +6,66 @@ section#contact(hidden)
.container.page-second
.row
sib-widget(name="sib-display-freelance")
solid-widget(name="hd-display-freelance")
template
.bckg-light-yellow.blabla-freelance
p.purple=data.ContactFreelanceText1
.d-flex.justify-content-center.flex-wrap
button.btn-hd.white-btn.mx-3
sib-link(next="nous-rejoindre")=data.JoinPage
solid-link(next="nous-rejoindre")=data.JoinPage
button.btn-hd.white-btn.mx-3
sib-link(next="FAQ") FAQ
solid-link(next="faq") FAQ
.bckg-light-yellow.blabla-freelance
p.purple=data.ContactFreelanceText2
.d-flex.justify-content-center.flex-wrap
button.btn-hd.white-btn.mx-3
sib-link(next="evenements")=data.ContactFreelanceEventsLink
solid-link(next="evenements")=data.ContactFreelanceEventsLink
label
div=data.ContactFreelanceText3
input(data-holder="", type="text", name="textfreelance", value="")
#loading-contact.loading-block
.mdi.mdi-loading
p.grey !{data.LoadingText}
sib-form(
data-src=`${serv}/contacts/`,
fields="name, howareyou, howhelp, textfreelance, textporteur, textautre, domaine, clientlocation, workwish, project, document, budget, email, phone",
label-name=data.ContactHello,
class-name="conversation name-field",
label-howareyou=data.ContactHowAreYou,
class-howareyou="hide-field howareyou-field",
range-howareyou=`${serv}/howareyous/`,
label-howhelp=data.ContactHowHelp,
range-howhelp=`${serv}/howhelps/`,
class-howhelp="hide-field",
widget-textfreelance="sib-display-freelance",
class-textfreelance="hide-field need-help",
label-textporteur=data.ContactPorteur,
class-textporteur="hide-field need-help",
label-textautre=data.ContactAutre,
class-textautre="hide-field need-help",
label-domaine=data.ContactDomain,
class-domaine="hide-field need-help",
label-clientlocation=data.ContactLocation,
class-clientlocation="hide-field need-help",
label-workwish=data.ContactWorkWish,
range-workwish=`${serv}/workwishs/`,
class-workwish="hide-field need-help",
label-project=data.ContactProject,
class-project="hide-field need-help",
label-document=data.ContactDocument,
class-document="hide-field need-help",
upload-url-document=`${serv}/upload/`,
label-budget=data.ContactBudget,
class-budget="hide-field need-help",
label-email=data.ContactEmail,
class-email="hide-field need-help",
label-phone=data.ContactPhone,
class-phone="hide-field need-help phone",
loader-id="loading-contact",
solid-form(
data-src=`${serv}/contacts/`
fields="name, howareyou, howhelp, textfreelance, textporteur, textautre, domaine, clientlocation, workwish, project, document, budget, email, phone"
label-name=data.ContactHello
class-name="conversation name-field"
label-howareyou=data.ContactHowAreYou
class-howareyou="hide-field howareyou-field"
range-howareyou=`${serv}/howareyous/`
widget-howareyou="solid-form-dropdown-label"
label-howhelp=data.ContactHowHelp
range-howhelp=`${serv}/howhelps/`
class-howhelp="hide-field"
widget-howhelp="solid-form-dropdown-label"
widget-textfreelance="hd-display-freelance"
class-textfreelance="hide-field need-help"
label-textporteur=data.ContactPorteur
class-textporteur="hide-field need-help"
label-textautre=data.ContactAutre
class-textautre="hide-field need-help"
label-domaine=data.ContactDomain
class-domaine="hide-field need-help"
label-clientlocation=data.ContactLocation
class-clientlocation="hide-field need-help"
label-workwish=data.ContactWorkWish
range-workwish=`${serv}/workwishs/`
class-workwish="hide-field need-help"
widget-workwish="solid-form-dropdown-label"
label-project=data.ContactProject
class-project="hide-field need-help"
label-document=data.ContactDocument
class-document="hide-field need-help"
upload-url-document=`${serv}/upload/`
widget-document="solid-form-file-label"
label-budget=data.ContactBudget
class-budget="hide-field need-help"
label-email=data.ContactEmail
class-email="hide-field need-help"
label-phone=data.ContactPhone
class-phone="hide-field need-help phone"
loader-id="loading-contact"
naked
).col-12
.col-12.text-center
......
section#creer-un-collectif(hidden)
section#creer-un-collectif(hidden data-view="creer-un-collectif")
.container-fluid.page-top
.row
.motif.p-title
......@@ -40,38 +40,47 @@ section#creer-un-collectif(hidden)
.row
.col-lg-4.col-12.next-event.p-0.appear.app-bl
span.bckg-purple.white.title=data.NextEvent
sib-widget(name="sib-display-location")
solid-widget(name="hd-display-location")
template
.event-place.mdi.mdi-map-marker
a(href='https://www.google.com.br/maps/place/${await value.address}',target="_blank") ${await value.name}
.event-place-address
a(href='https://www.google.com.br/maps/place/${await value.address}',target="_blank") ${((await value.address || "").toString()).replace(/\n/g, "<br>")}
sib-widget(name="sib-display-startdate")
solid-widget(name="hd-display-startdate")
template
.nextevent-startdate ${moment(value.toString()).format('ll')}
sib-display(data-src=`${serv}/futureevents/`,
solid-display(data-src=`${serv}/futureevents/`,
fields="img, info(startdate, name), location",
widget-img="sib-display-img",
widget-startdate="sib-display-startdate",
widget-name="sib-display-div",
widget-img="solid-display-img",
widget-startdate="hd-display-startdate",
widget-name="solid-display-div",
class-name="nextevent-name",
widget-location="sib-display-location",
widget-location="hd-display-location",
paginate-by="1" )
sib-link(next="evenements").link.dark-blue.col-12.text-center.white-line
solid-link(next="evenements").link.dark-blue.col-12.text-center.white-line
span=data.AgendaLink
.col-lg-8.col-12.testimonies.appear.app-sr
.big-grey.parall-3=data.CreateCollectiveTestimonies
sib-display(data-src=`${serv}/testimonys/`,
fields="img, info(text, name, statut)",
search-fields="porteur",search-value-porteur="True",search-widget-porteur="sib-form-hidden",
widget-img="sib-display-img",
widget-text="sib-display-div",
class-text="testimony-text",
widget-name="sib-display-div",
class-name="testimony-name",
widget-statut="sib-display-div",
class-statut="testimony-statut",
paginate-by="1" )
solid-form-search(
id="collective-search"
fields="membertype"
widget-membertype="solid-form-number"
value-membertype=1
hidden)
solid-display(data-src=`${serv}/testimonys/`
fields="img, info(text, name, statut)"
widget-img="solid-display-img"
widget-text="solid-display-div"
class-text="testimony-text"
widget-name="solid-display-div"
class-name="testimony-name"
widget-statut="solid-display-div"
class-statut="testimony-statut"
paginate-by="1"
filtered-by="collective-search")
.page-fourth
.container-fluid.h-100.position-absolute
.row.h-100
......@@ -113,18 +122,18 @@ section#creer-un-collectif(hidden)
p.white.thin=data.CreateCollectiveStep6Text
.col-12.d-flex.justify-content-center.py-5.mb-5.flex-wrap
button.btn-hd.light-yellow-btn.text-center.m-3.appear.btn-contact
sib-link(next="contact").blue.w-100.text-center
solid-link(next="contact").blue.w-100.text-center
.not-hover=data.BtnContact
.display-hover=data.BtnContactHover
.container.page-fifth.FAQ-section.appear
.row
h2.purple.col-12.text-center FAQ
.col-12.faq-container.d-none.d-md-flex
sib-display(data-src=`${serv}/faqs/12/`, fields="question")
sib-display(data-src=`${serv}/faqs/18/`, fields="question")
sib-display(data-src=`${serv}/faqs/33/`, fields="question")
sib-display(data-src=`${serv}/faqs/27/`, fields="question")
sib-display(data-src=`${serv}/faqs/29/`, fields="question")
sib-display(data-src=`${serv}/faqs/28/`, fields="question")
sib-link(next="faq").link.dark-blue.yellow-line.col-12.text-center
solid-display(data-src=`${serv}/faqs/12/`, fields="question")
solid-display(data-src=`${serv}/faqs/18/`, fields="question")
solid-display(data-src=`${serv}/faqs/33/`, fields="question")
solid-display(data-src=`${serv}/faqs/27/`, fields="question")
solid-display(data-src=`${serv}/faqs/29/`, fields="question")
solid-display(data-src=`${serv}/faqs/28/`, fields="question")
solid-link(next="faq").link.dark-blue.yellow-line.col-12.text-center
span=data.FaqLink
section#evenements(hidden)
section#evenements(hidden data-view="evenements")
#fb-root
script(async defer crossorigin="anonymous" src="https://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v3.3")
script(async src="https://platform.twitter.com/widgets.js" charset="utf-8")
......@@ -13,46 +13,46 @@ section#evenements(hidden)
.col-md-6.col-12.pad-img
img(src="/img/evenements.jpg", alt="les évènements")
.container.page-second
sib-widget(name="sib-display-location-events")
solid-widget(name="hd-display-location-events")
template
.event-place-name
a(href='https://www.google.com.br/maps/place/${await value.address}',target="_blank") ${await value.name}
.event-place-address
a(href='https://www.google.com.br/maps/place/${await value.address}',target="_blank") ${((await value.address || "").toString()).replace(/\n/g, "<br>")}
sib-widget(name="sib-display-type")
solid-widget(name="hd-display-type")
template
.event-type ${await value.name}
sib-widget(name="sib-display-startdate-events")
solid-widget(name="hd-display-startdate-events")
template
.nextevent-startdate ${moment(value.toString()).format('ll')}
sib-widget(name="sib-display-time-event")
solid-widget(name="hd-display-time-event")
template
.d-flex
.mdi.mdi-calendar-text.timeevent ${moment(value.toString()).format('ll')}
.mdi.mdi-clock-outline.timeevent ${moment(value.toString()).format('LT')}
sib-widget(name="sib-display-description")
solid-widget(name="hd-display-description")
template
p.my-4 ${await value.toString().replace(/\n/g, "<br/>")}
sib-widget(name="sib-display-linkevent")
solid-widget(name="hd-display-linkevent")
template
a(href='${value}', target="_blank") ${value ? '<span class="mdi mdi-link-variant">' + value : '</span>'}
sib-widget(name="sib-button-facebook")
solid-widget(name="hd-button-facebook")
template
a(href='${value}', target="_blank").btn-hd.light-yellow-btn.text-center.light-purple Voir l'évènement Facebook
sib-router()
sib-route(use-id, name="popupevent")
dialog(open)#popupevent
sib-display(
solid-router()
solid-route(use-id, name="popupevent")
dialog(open data-view="popupevent")#popupevent
solid-display(
fields ="img, infos(firstline(name, hdType), startdate, enddate, description, link, location, facebook)",
bind-resources,
widget-img="sib-display-img",
widget-hdType="sib-display-type",
widget-startdate="sib-display-time-event",
widget-enddate="sib-display-time-event",
widget-description="sib-display-description",
widget-link="sib-display-linkevent",
widget-location="sib-display-location-events",
widget-facebook="sib-button-facebook"
widget-img="solid-display-img",
widget-hdType="hd-display-type",
widget-startdate="hd-display-time-event",
widget-enddate="hd-display-time-event",
widget-description="hd-display-description",
widget-link="hd-display-linkevent",
widget-location="hd-display-location-events",
widget-facebook="hd-button-facebook"
).d-flex.flex-column-reverse
.share.d-flex
span Partager :
......@@ -60,25 +60,30 @@ section#evenements(hidden)
.fbshare(data-href="https://happy-dev.fr/evenements/popupevent/@$id~_" data-layout="button" data-size="small")
a(target="_blank" href="").fb-xfbml-parse-ignore.mdi.mdi-facebook.purple
a(href="https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fpreview.happy-dev.fr", target="_blank").lkshare.mdi.mdi-linkedin
sib-link(next="evenements")
solid-link(next="evenements")
.mdi.mdi-window-close
sib-link(next="evenements")
solid-link(next="evenements")
.flex
#loading-events.loading-block
.mdi.mdi-loading
p.grey !{data.LoadingText}
sib-display(data-src=`${serv}/futureevents/`,
fields ="grid(img, info(startdate, name), hdType, location)",
class-grid ="appear",
search-fields="region, type",
search-range-region=`${serv}/regionevents/`,
search-label-region="Trier par région :",
search-range-type=`${serv}/typeevents/`,
search-label-type="Trier par type d'évènements :",
widget-img="sib-display-img",
widget-startdate="sib-display-startdate-events",
widget-name="sib-display-div",
class-name="nextevent-name",
widget-hdType="sib-display-type",
widget-location="sib-display-location-events",
next="popupevent", loader-id="loading-events" ).events-grid
solid-form-search(id="events-filter"
fields="region, type"
label-region="Trier par région :"
widget-region="solid-form-dropdown-label"
label-type="Trier par type d'évènements :"
widget-type="solid-form-dropdown-label"
range-region=`${serv}/regionevents/`
range-type=`${serv}/typeevents/`)
solid-display(data-src=`${serv}/futureevents/`
fields ="grid(img, info(startdate, name), type, location)"
class-grid ="appear"
widget-img="solid-display-img"
widget-startdate="hd-display-startdate-events"
widget-name="solid-display-div"
class-name="nextevent-name"
widget-type="hd-display-type"
widget-location="hd-display-location-events"
next="popupevent"
loader-id="loading-events"
filtered-by="events-filter").events-grid
section#faq(hidden)
section#faq(hidden data-view="faq")
.container-fluid.page-top
.row
.motif.p-title
......@@ -22,17 +22,20 @@ section#faq(hidden)
#loading-faq.loading-block
.mdi.mdi-loading
p.grey !{data.LoadingText}
sib-widget(name="hd-faq-anchor")
solid-widget(name="hd-faq-anchor")
template
span(id="\${src}")
sib-display(
data-src=`${serv}/faqs/`,
fields="anchor, question, answer",
action-anchor="toto",
label-anchor=" ",
widget-anchor="hd-faq-anchor",
search-fields="question", search-widget-question="sib-form-placeholder-text",
search-label-question=data.FaqLabel,
group-by="category",
solid-form-search(id="questions-filter"
fields="question"
label-question=data.FaqLabel
widget-question="solid-form-placeholder-text")
solid-display(
data-src=`${serv}/faqs/`
fields="anchor, question, answer"
action-anchor="toto"
label-anchor=" "
widget-anchor="hd-faq-anchor"
group-by="category"
loader-id="loading-faq"
filtered-by="questions-filter"
).faq-display
\ No newline at end of file
......@@ -5,7 +5,7 @@ footer
.row.white.py-5
.col-md-3.col-6
.btn-hd.light-yellow-btn.text-center.d-none.d-md-flex.btn-contact
sib-link(next="contact").blue.w-100.text-center
solid-link(next="contact").blue.w-100.text-center
.not-hover=data.BtnContact
.display-hover=data.BtnContactHover
.d-flex.footer-social
......@@ -17,29 +17,29 @@ footer
span.icon-twitter
.col-md-3.d-none.d-md-flex.flex-column.footer-list
h3.light-yellow=data.HeaderClientsBlocTitle
sib-link(next="contact")
solid-link(next="contact")
p=data.TeamPage
.col-md-3.d-none.d-md-flex.flex-column.footer-list
h3.light-yellow=data.HeaderTalentsBlocTitle
sib-link(next="nous-rejoindre")
solid-link(next="nous-rejoindre")
p=data.JoinPage
sib-link(next="collectives")
solid-link(next="collectives")
p=data.CollectivesPage
sib-link(next="creer-un-collectif")
solid-link(next="creer-un-collectif")
p=data.CreateCollectivePage
sib-link(next="evenements")
solid-link(next="evenements")
p=data.EventsPage
.col-md-3.d-none.d-md-flex.flex-column.footer-list
h3.light-yellow=data.HeaderAboutBlocTitle
sib-link(next="qui-sommes-nous")
solid-link(next="qui-sommes-nous")
p=data.WhoarewePage
sib-link(next="vision")
solid-link(next="vision")
p=data.VisionPage
sib-link(next="manifesto")
solid-link(next="manifesto")
p=data.ManifestoPage
sib-link(next="faq")
solid-link(next="faq")
p=data.FaqPage
sib-link(next="mentions")
solid-link(next="mentions")
p=data.LegalnoticesPage
.col-md-0.col-6.d-flex.d-md-none
details.menu-element.footer-mobile
......@@ -51,17 +51,17 @@ footer
.d-flex.menu-opened
.clients-menu.d-flex.flex-column.col-md-4.col-12.text-center
h2=data.HeaderClientsBlocTitle
sib-link(next="contact")=data.TeamPage
solid-link(next="contact")=data.TeamPage
.talents-menu.d-flex.flex-column.col-md-4.col-12.text-center
h2=data.HeaderTalentsBlocTitle
sib-link(next="nous-rejoindre")=data.JoinPage
sib-link(next="collectives")=data.CollectivesPage
sib-link(next="creer-un-collectif")=data.CreateCollectivePage
sib-link(next="evenements")=data.EventsPage
solid-link(next="nous-rejoindre")=data.JoinPage
solid-link(next="collectives")=data.CollectivesPage
solid-link(next="creer-un-collectif")=data.CreateCollectivePage
solid-link(next="evenements")=data.EventsPage
.about-menu.d-flex.flex-column.col-md-4.col-12.text-center
h2=data.HeaderAboutBlocTitle
sib-link(next="qui-sommes-nous")=data.WhoarewePage
sib-link(next="vision")=data.VisionPage
sib-link(next="manifesto")=data.ManifestoPage
sib-link(next="faq")=data.FaqPage
sib-link(next="mentions")=data.LegalnoticesPage
solid-link(next="qui-sommes-nous")=data.WhoarewePage
solid-link(next="vision")=data.VisionPage
solid-link(next="manifesto")=data.ManifestoPage
solid-link(next="faq")=data.FaqPage
solid-link(next="mentions")=data.LegalnoticesPage
......@@ -20,8 +20,8 @@ head
link(href="https://cdn.materialdesignicons.com/3.6.95/css/materialdesignicons.min.css" rel="stylesheet")
link(rel="stylesheet" href="/styles/hdapp.css")
script(src="https://unpkg.com/@webcomponents/webcomponentsjs@1.2.7/webcomponents-loader.js")
script(type="module" src="https://unpkg.com/@startinblox/core@0.9")
script(type="module" src="https://unpkg.com/@startinblox/router@0.7")
script(type="module" src="https://unpkg.com/@startinblox/core@0.15")
script(type="module" src="https://unpkg.com/@startinblox/router@0.11")
script(src="https://code.jquery.com/jquery-3.3.1.min.js")
script(src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js")
script(src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.19.1/moment-with-locales.min.js")
......@@ -29,5 +29,5 @@ head
script(src="https://cdn.jsdelivr.net/npm/jquery-scrollify@1.0.20/jquery.scrollify.min.js")
script(src="https://unpkg.com/dialog-polyfill")
script(src="/scripts/hdapp.js")
script(data-default-context type="application/ld+json") {"hdType":"http://happy-dev.fr/owl/#type","event":"https://apiprod.happy-dev.fr/futureevents/","faq":"https://apiprod.happy-dev.fr/faqs/"}
script(data-default-context type="application/ld+json") {"hdType":"http://happy-dev.fr/owl/#type","event":"http://127.0.0.1:8000/futureevents/","faq":"http://127.0.0.1:8000/faqs/"}
<link rel="icon" type="image/png" href="img/hd.png" />
\ No newline at end of file
......@@ -2,12 +2,12 @@ header
.container.h-100
.d-flex.justify-content-between.h-100
a(href='/').logo.my-auto Happy Dev
sib-router(default-route="home" route-prefix=lang).menu.d-flex.my-auto
sib-route(name="home").d-none
solid-router(default-route="home" route-prefix=lang).menu.d-flex.my-auto
solid-route(name="home").d-none
a(href='/blog').menu-element.d-none.d-md-block=data.BlogLink
sib-route(name="qui-sommes-nous").menu-element.d-none.d-md-block=data.WhoareweLink
solid-route(name="qui-sommes-nous").menu-element.d-none.d-md-block=data.WhoareweLink
.menu-element.languagechoice=data.LanguageChoice
sib-route(name="contact").icon-email.menu-element
solid-route(name="contact").icon-email.menu-element
details.menu-element.closed
summary
.menu-logo
......@@ -18,33 +18,33 @@ header
.clients-menu.d-flex.flex-column.col-md-4.col-12.text-center.white.bckg-purple
h2
span=data.HeaderClientsBlocTitle
sib-route(name="contact")
solid-route(name="contact")
span=data.TeamPage
.talents-menu.d-flex.flex-column.col-md-4.col-12.text-center.dark-blue.bckg-light-yellow
h2
span=data.HeaderTalentsBlocTitle
sib-route(name="nous-rejoindre")
solid-route(name="nous-rejoindre")
span=data.JoinPage
sib-route(name="collectives")
solid-route(name="collectives")
span=data.CollectivesPage
sib-route(name="creer-un-collectif")
solid-route(name="creer-un-collectif")
span=data.CreateCollectivePage
sib-route(name="evenements")
solid-route(name="evenements")
span=data.EventsPage
.about-menu.d-flex.flex-column.col-md-4.col-12.text-center.white.bckg-dark-blue
h2
span=data.HeaderAboutBlocTitle
sib-route(name="qui-sommes-nous")
solid-route(name="qui-sommes-nous")
span=data.WhoarewePage
sib-route(name="vision")
solid-route(name="vision")
span=data.VisionPage
sib-route(name="manifesto")
solid-route(name="manifesto")
span=data.ManifestoPage
sib-route(name="faq")
solid-route(name="faq")
span=data.FaqPage
a(href='/blog')
span=data.BlogLink
sib-route(name="mentions")
solid-route(name="mentions")
span=data.LegalnoticesPage
.d-flex.footer-social.justify-content-center
a(href="https://www.facebook.com/happydevnetwork/", target="_blank")
......@@ -54,6 +54,6 @@ header
a(href="https://twitter.com/_Happy_Dev_", target="_blank")
span.icon-twitter
.contact-menu.d-flex.flex-column.justify-content-center.col-12.text-center
sib-route(name="contact")
solid-route(name="contact")
h2.link.dark-blue.yellow-line
span=data.ContactPage
section#home()
section(data-view="home")#home()
ul.pagination
li
a(href="#home-title")
......@@ -13,12 +13,12 @@ section#home()
.d-flex.justify-content-center.my-4.flex-wrap
.col-md-6.col-12.my-3.d-flex.justify-content-md-end.justify-content-center
button.btn-hd.white-btn.mx-3.btn-project
sib-link(next="contact")
solid-link(next="contact")
.not-hover=data.BtnProject
.display-hover=data.BtnProjectHover
.col-md-6.col-12.my-3.d-flex.justify-content-md-start.justify-content-center
button.btn-hd.white-btn.mx-3.btn-join
sib-link(next="nous-rejoindre")
solid-link(next="nous-rejoindre")
.not-hover=data.BtnJoin
.display-hover=data.BtnJoinHover
.d-none.d-md-block
......@@ -48,7 +48,7 @@ section#home()
h3=data.HomeManifestoBloc3Title
p=data.HomeManifestoBloc3
sib-link(next="manifesto").text-right.link.yellow-line.dark-blue
solid-link(next="manifesto").text-right.link.yellow-line.dark-blue
span=data.ManifestoLink
.d-none.d-md-block
a(href="#home-collectif").pagicon.icon-down.green
......@@ -58,7 +58,7 @@ section#home()
.col-md-6.col-12.text-left.d-flex.flex-column.justify-content-center.white
p.plus-size !{data.HomeCollectivesBloc1}
p.plus-size !{data.HomeCollectivesBloc2}
sib-link(next="collectives").link.light-yellow
solid-link(next="collectives").link.light-yellow
span=data.CollectivesLink
.col-md-6.col-12.m-auto
img(src="/img/independant.svg", alt="indépendant")
......@@ -71,7 +71,7 @@ section#home()
#loading-client.loading-block(hidden)
.mdi.mdi-loading
p.grey !{data.LoadingText}
sib-display(data-src=`${serv}/clients/`, fields="img", widget-img="sib-display-img",loader-id="loading-client").clients-logo
solid-display(data-src=`${serv}/clients/`, fields="img", widget-img="solid-display-img",loader-id="loading-client").clients-logo
.d-none.d-md-block
a(href="#home-title").pagicon.icon-up.green
#home-footer.container.d-flex.justify-content-between
......@@ -82,7 +82,7 @@ section#home()
span.icon-linkedin
a(href="https://twitter.com/_Happy_Dev_", target="_blank")
span.icon-twitter
sib-link(next="evenements").link.dark-blue.yellow-line
solid-link(next="evenements").link.dark-blue.yellow-line
span=data.EventsLink
.container-fluid.mobile-home-footer
.row
......@@ -90,7 +90,7 @@ section#home()
.row.white.py-5
.col-md-3.col-6
.btn-hd.light-yellow-btn.text-center.d-none.d-md-flex.btn-contact
sib-link(next="contact").blue.w-100.text-center
solid-link(next="contact").blue.w-100.text-center
.d-flex.footer-social
a(href="https://www.facebook.com/happydevnetwork/", target="_blank")
span.icon-facebook
......@@ -108,17 +108,17 @@ section#home()
.d-flex.menu-opened
.clients-menu.d-flex.flex-column.col-md-4.col-12.text-center
h2 Clients
sib-link(next="contact") Trouvez une équipe
solid-link(next="contact") Trouvez une équipe
.talents-menu.d-flex.flex-column.col-md-4.col-12.text-center
h2 Talents
sib-link(next="nous-rejoindre") Nous rejoindre
sib-link(next="collectives") Les collectifs du réseau
sib-link(next="creer-un-collectif") Créer un collectif
sib-link(next="evenements") Évènements
solid-link(next="nous-rejoindre") Nous rejoindre
solid-link(next="collectives") Les collectifs du réseau
solid-link(next="creer-un-collectif") Créer un collectif
solid-link(next="evenements") Évènements
.about-menu.d-flex.flex-column.col-md-4.col-12.text-center
h2 À propos
sib-link(next="qui-sommes-nous") Qui sommes-nous
sib-link(next="vision") Notre vision
sib-link(next="manifesto") Notre manifeste
sib-link(next="faq") FAQ
sib-link(next="mentions") Mentions Légales
solid-link(next="qui-sommes-nous") Qui sommes-nous
solid-link(next="vision") Notre vision
solid-link(next="manifesto") Notre manifeste
solid-link(next="faq") FAQ
solid-link(next="mentions") Mentions Légales
section#manifesto(hidden)
section#manifesto(hidden data-view="manifesto")
.container-fluid.page-top
.row
.motif.p-title
......
section#mentions(hidden)
section#mentions(hidden data-view="mentions")
.container-fluid.page-top
.row
.motif.p-title
......
section#nous-rejoindre(hidden)
section#nous-rejoindre(hidden data-view="nous-rejoindre")
.container-fluid.page-top
.row
.motif.p-title
......@@ -23,7 +23,7 @@ section#nous-rejoindre(hidden)
.illustration
img(src="/img/teamwork.svg", alt="teamwork")
p.plus-size.grey=data.JoinCommunity
sib-link(next="evenements").link.dark-blue.col-12.d-none.d-md-block
solid-link(next="evenements").link.dark-blue.col-12.d-none.d-md-block
span=data.EventsLink
.container-fluid.page-third
.row
......@@ -35,38 +35,45 @@ section#nous-rejoindre(hidden)
.row
.col-lg-4.col-12.next-event.p-0.appear.app-bl
span.bckg-purple.white.title=data.NextEvent
sib-widget(name="sib-display-location")
solid-widget(name="hd-display-location")
template
.event-place.mdi.mdi-map-marker
a(href='https://www.google.com.br/maps/place/${await value.address}',target="_blank") ${await value.name}
.event-place-address
a(href='https://www.google.com.br/maps/place/${await value.address}',target="_blank") ${((await value.address || "").toString()).replace(/\n/g, "<br>")}
sib-widget(name="sib-display-startdate")
solid-widget(name="hd-display-startdate")
template
.nextevent-startdate ${moment(value.toString()).format('ll')}
sib-display(data-src=`${serv}/futureevents/`,
solid-display(data-src=`${serv}/futureevents/`,
fields="img, info(startdate, name), location",
widget-img="sib-display-img",
widget-startdate="sib-display-startdate",
widget-name="sib-display-div",
widget-img="solid-display-img",
widget-startdate="hd-display-startdate",
widget-name="solid-display-div",
class-name="nextevent-name",
widget-location="sib-display-location",
widget-location="hd-display-location",
paginate-by="1" )
sib-link(next="evenements").link.dark-blue.col-12.text-center.white-line
solid-link(next="evenements").link.dark-blue.col-12.text-center.white-line
span=data.AgendaLink
.col-lg-8.col-12.testimonies.appear.app-sr
.big-grey.parall-3=data.JoinTestimonies
sib-display(data-src=`${serv}/testimonys/`,
fields="img, info(text, name, statut)",
search-fields="porteur", search-value-porteur="false",search-widget-porteur="sib-form-hidden",
widget-img="sib-display-img",
widget-text="sib-display-div",
class-text="testimony-text",
widget-name="sib-display-div",
class-name="testimony-name",
widget-statut="sib-display-div",
class-statut="testimony-statut",
paginate-by="1" )
solid-form-search(
id="testimonies-filter"
fields="membertype"
widget-membertype="solid-form-number"
value-membertype=2
hidden
)