Skip to content

Commit

Permalink
feat(mon-domifa): update links
Browse files Browse the repository at this point in the history
  • Loading branch information
pYassine committed Oct 22, 2024
1 parent 911ae3c commit daec169
Show file tree
Hide file tree
Showing 10 changed files with 75 additions and 36 deletions.
20 changes: 20 additions & 0 deletions packages/frontend/src/assets/files/news.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
[
{
"date": "2024-10-22",
"description": "Nouveautés et améliorations diverses sur DomiFa",
"content": [
{
"type": "new",
"categorie": "Affichage de liens utiles sur le portail domicilié",
"message": [
"Les domiciliés pourront consulter depuis leurs espaces les sites \"Mes droits sociaux\" et \"Soliguide\""
]
},
{
"type": "bug",
"categorie": "Ajout de tri dans les informations des documents structures et pièces jointes domiciliés",
"message": [
"Vous pouvez désormais trier les documents par l'ordre alphabétique de leur intitulé ainsi que par leur date d'ajout"
]
}
]
},
{
"date": "2024-10-02",
"description": "Nouveautés et améliorations diverses sur DomiFa",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,39 +13,44 @@ <h1 class="text-primary font-weight-bold">
>
</h1>
</div>
<div class="col-2">
<app-admin-structures-export></app-admin-structures-export>
</div>
</div>

<label for="search"
>Recherche par #ID, nom, région, département, email...</label
>
<div id="searchbar" class="mt-4 d-flex">
<span
class="icon"
id="search_icon"
*ngIf="filters?.searchString?.trim() === ''"
>
<fa-icon aria-hidden="true" [icon]="['fas', 'search']"></fa-icon>
</span>
<span
class="icon"
id="times_icon"
*ngIf="filters?.searchString?.trim() !== ''"
(click)="updateSearch('')"
>
<fa-icon aria-hidden="true" [icon]="['fas', 'times']"></fa-icon>
</span>
<div class="row">
<div class="col-10">
<div id="searchbar" class="d-flex">
<span
class="icon"
id="search_icon"
*ngIf="filters?.searchString?.trim() === ''"
>
<fa-icon aria-hidden="true" [icon]="['fas', 'search']"></fa-icon>
</span>
<span
class="icon"
id="times_icon"
*ngIf="filters?.searchString?.trim() !== ''"
(click)="updateSearch('')"
>
<fa-icon aria-hidden="true" [icon]="['fas', 'times']"></fa-icon>
</span>

<input
class="flex-grow-1 form-control"
type="text"
autofocus
id="search"
[ngModel]="filters.searchString"
(input)="onSearchChange($event)"
/>
</div>
</div>

<input
class="flex-grow-1 form-control"
type="text"
autofocus
id="search"
[ngModel]="filters.searchString"
(input)="onSearchChange($event)"
/>
<app-admin-structures-export
class="d-grid col-2"
></app-admin-structures-export>
</div>
<app-admin-structures-table
*ngIf="this.filteredStructuresVM"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
(click)="exportDashboard()"
[disabled]="exportLoading"
type="button"
class="btn btn-outline-primary btn-block"
class="btn btn-primary btn-block"
>
<span *ngIf="!exportLoading">
<fa-icon
Expand Down
2 changes: 1 addition & 1 deletion packages/portail-usagers/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
<ng-template #newsModal let-modal>
<div class="modal-header">
<span id="modal-title">
🎉 Des nouveautés sont disponibles sur la Mon DomiFa
🎉 Des nouveautés sont disponibles sur Mon DomiFa
</span>
<button
class="btn-close"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div *ngIf="usager">
<h2 class="section-title">Liens utiles</h2>
<div class="section-content">
<div class="my-4">
<div class="py-3">
<a
target="_blank"
rel="noopener noreferrer"
Expand All @@ -14,8 +14,8 @@ <h2 class="section-title">Liens utiles</h2>
/>
</a>
<p class="py-1">
Soliguide rassemble tous les services, initiatives et ressources pour
les personnes qui rencontrent une difficulté
Soliguide vous permet de trouver les structures d'aide près de chez
vous: accueil de jour, aide alimentaire, suivi social, douches, etc
</p>
<a
target="_blank"
Expand All @@ -30,7 +30,7 @@ <h2 class="section-title">Liens utiles</h2>
></fa-icon
></a>
</div>
<div class="my-4">
<div class="py-3">
<a
target="_blank"
rel="noopener noreferrer"
Expand Down Expand Up @@ -59,7 +59,7 @@ <h2 class="section-title">Liens utiles</h2>
></fa-icon
></a>
</div>
<div class="my-4">
<div class="py-3">
<a
target="_blank"
rel="noopener noreferrer"
Expand All @@ -81,7 +81,7 @@ <h2 class="section-title">Liens utiles</h2>
rel="noopener noreferrer"
class="btn btn-outline-primary d-block my-1"
href="https://mes-aides.1jeune1solution.beta.gouv.fr/?utm_source=domifa"
>Aides 1 jeune 1 solution
>Consulter "mes Aides 1 jeune 1 solution"
<fa-icon
class="ms-2"
[icon]="faArrowUpRightFromSquare"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
img {
max-height: 60px;
max-height: 50px;
width: auto;
margin: 0.5rem 0;
}
13 changes: 13 additions & 0 deletions packages/portail-usagers/src/assets/files/news.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
[
{
"date": "2024-10-22",
"description": "Plus d'informations sur votre portail",
"content": [
{
"type": "new",
"categorie": "Ajout des liens vers \"Mes droits sociaux\" et \"Soliguide\"",
"message": [
"Vous pouvez accéder aux plateformes \"Mes droits sociaux\" et \"Soliguide\" depuis les liens d'accès directs disponibles dans la partie lien utiles de votre portail."
]
}
]
},
{
"date": "2024-10-20",
"description": "📩 Votre structure vous informe",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit daec169

Please sign in to comment.