Files
rsu-new-site/frontend/chunk-EWEOA4YY.js

2 lines
5.5 KiB
JavaScript

import{a as S}from"./chunk-KETFPI33.js";import{f as E}from"./chunk-ZEULGWAI.js";import"./chunk-MBEC6LK4.js";import{Ba as s,Eb as n,Fa as o,Fb as c,Oa as g,Ta as f,Ya as p,ca as u,jb as l,kb as e,lb as t,mb as m,qc as v,rc as h,sb as x,xc as b}from"./chunk-TVKQFRWX.js";import"./chunk-DAQOROHW.js";function w(r,a){r&1&&(e(0,"div",25),n(1,"Chargement des contacts\u2026"),t())}function y(r,a){if(r&1&&(e(0,"a",35),n(1),t()),r&2){let i=x().$implicit;l("href","tel:"+i.phone,s),o(),c(i.phone)}}function _(r,a){if(r&1&&(e(0,"article",28),m(1,"img",29),e(2,"div",30)(3,"p",31),n(4),t(),e(5,"h3",32),n(6),t(),e(7,"a",33),n(8),t(),p(9,y,2,2,"a",34),t()()),r&2){let i=a.$implicit,d=x(2);o(),l("src",d.contactService.photoUrl(i.photoUrl),s)("alt",i.name),o(3),c(i.department),o(2),c(i.name),o(),l("href","mailto:"+i.email,s),o(),c(i.email),o(),l("ngIf",i.phone)}}function I(r,a){if(r&1&&(e(0,"div",26),p(1,_,10,7,"article",27),t()),r&2){let i=x();o(),l("ngForOf",i.contacts())}}function k(r,a){r&1&&(e(0,"div",36),n(1,"Les coordonn\xE9es des chefs de d\xE9partement seront publi\xE9es prochainement."),t())}var C=class r{constructor(a){this.contactService=a;a.getPublic().subscribe({next:i=>{this.contacts.set(i),this.loading.set(!1)},error:()=>this.loading.set(!1)})}contacts=u([]);loading=u(!0);static \u0275fac=function(i){return new(i||r)(g(S))};static \u0275cmp=f({type:r,selectors:[["app-contact"]],decls:56,vars:3,consts:[[1,"bg-primary-800","py-14","text-white"],[1,"container-custom"],[1,"text-4xl","font-bold","text-white","md:text-5xl"],[1,"mt-4","max-w-3xl","text-lg","text-white/75"],[1,"section","bg-slate-50"],[1,"grid","gap-7","overflow-hidden","rounded-3xl","border","border-slate-200","bg-white","shadow-card","lg:grid-cols-[420px_minmax(0,1fr)]"],["src","assets/rsu-media/uploads/2024/10/image-banniere-battiment-ST-RSU.webp","alt","B\xE2timent du Secr\xE9tariat Technique du RSU",1,"h-full","min-h-72","w-full","object-cover"],[1,"p-7","md:p-10"],[1,"text-xs","font-bold","uppercase","tracking-[.18em]","text-primary-700"],[1,"mt-3","text-3xl","font-bold"],[1,"mt-6","grid","gap-5","text-slate-600","sm:grid-cols-2"],[1,"block","text-slate-900"],[1,"mt-1","leading-7"],["href","mailto:contact@rsu.bf",1,"mt-1","block","text-primary-700"],["href","tel:80001256",1,"mt-1","block","text-xl","font-bold","text-emerald-700"],[1,"mt-14","text-center"],[1,"text-3xl","font-bold","text-primary-950"],[1,"mt-3","text-slate-600"],["class","mt-8 rounded-2xl bg-white p-10 text-center text-slate-500",4,"ngIf"],["class","mt-8 grid gap-7 md:grid-cols-2 xl:grid-cols-3",4,"ngIf"],["class","mt-8 rounded-2xl border border-dashed border-slate-300 bg-white p-10 text-center text-slate-500",4,"ngIf"],[1,"mt-12","flex","flex-col","items-center","justify-between","gap-5","rounded-2xl","bg-primary-800","p-7","text-white","md:flex-row"],[1,"text-2xl","font-bold","text-white"],[1,"mt-2","text-white/75"],["routerLink","/faq",1,"shrink-0","rounded-xl","bg-white","px-6","py-3","font-bold","text-primary-900"],[1,"mt-8","rounded-2xl","bg-white","p-10","text-center","text-slate-500"],[1,"mt-8","grid","gap-7","md:grid-cols-2","xl:grid-cols-3"],["class","overflow-hidden rounded-3xl border border-slate-200 bg-white shadow-card transition hover:-translate-y-1 hover:shadow-soft-lg",4,"ngFor","ngForOf"],[1,"overflow-hidden","rounded-3xl","border","border-slate-200","bg-white","shadow-card","transition","hover:-translate-y-1","hover:shadow-soft-lg"],[1,"h-72","w-full","bg-slate-100","object-cover","object-top",3,"src","alt"],[1,"p-6"],[1,"text-xs","font-bold","uppercase","leading-5","tracking-[.12em]","text-primary-700"],[1,"mt-3","text-2xl","font-bold"],[1,"mt-4","inline-flex","items-center","gap-2","text-sm","font-semibold","text-primary-700",3,"href"],["class","mt-2 block text-sm text-slate-600",3,"href",4,"ngIf"],[1,"mt-2","block","text-sm","text-slate-600",3,"href"],[1,"mt-8","rounded-2xl","border","border-dashed","border-slate-300","bg-white","p-10","text-center","text-slate-500"]],template:function(i,d){i&1&&(e(0,"section",0)(1,"div",1)(2,"h1",2),n(3,"Contactez le RSU"),t(),e(4,"p",3),n(5,"Retrouvez les coordonn\xE9es du Secr\xE9tariat Technique et des responsables de ses trois d\xE9partements."),t()()(),e(6,"section",4)(7,"div",1)(8,"div",5),m(9,"img",6),e(10,"div",7)(11,"p",8),n(12,"Coordonn\xE9es g\xE9n\xE9rales"),t(),e(13,"h2",9),n(14,"Secr\xE9tariat Technique du RSU"),t(),e(15,"div",10)(16,"div")(17,"strong",11),n(18,"Adresse"),t(),e(19,"p",12),n(20,"Avenue Conseil de l\u2019Entente, Rue 9.08"),m(21,"br"),n(22,"Ouagadougou, Burkina Faso"),t()(),e(23,"div")(24,"strong",11),n(25,"Horaires"),t(),e(26,"p",12),n(27,"Du lundi au vendredi"),m(28,"br"),n(29,"Heures d\u2019ouverture de l\u2019administration"),t()(),e(30,"div")(31,"strong",11),n(32,"Courriel"),t(),e(33,"a",13),n(34,"contact@rsu.bf"),t()(),e(35,"div")(36,"strong",11),n(37,"Num\xE9ro vert"),t(),e(38,"a",14),n(39,"80 00 12 56"),t()()()()(),e(40,"div",15)(41,"h2",16),n(42,"Chefs de d\xE9partement"),t(),e(43,"p",17),n(44,"Contactez directement le d\xE9partement concern\xE9 par votre demande."),t()(),p(45,w,2,0,"div",18)(46,I,2,1,"div",19)(47,k,2,0,"div",20),e(48,"div",21)(49,"div")(50,"h2",22),n(51,"Vous n\u2019avez pas trouv\xE9 la r\xE9ponse \xE0 votre question ?"),t(),e(52,"p",23),n(53,"Consultez la FAQ et envoyez directement votre question \xE0 notre \xE9quipe."),t()(),e(54,"a",24),n(55,"Acc\xE9der \xE0 la FAQ"),t()()()()),i&2&&(o(45),l("ngIf",d.loading()),o(),l("ngIf",!d.loading()&&d.contacts().length),o(),l("ngIf",!d.loading()&&!d.contacts().length))},dependencies:[b,v,h,E],encapsulation:2})};export{C as ContactComponent};