add feedback button on all CSC pages

This commit is contained in:
Tykayn 2025-08-08 16:43:50 +02:00 committed by tykayn
parent 13f3220456
commit 14cdf17ec3
16 changed files with 590 additions and 5 deletions

View file

@ -3,11 +3,13 @@
<title>CSC implémentation</title>
</head>
<body>
<app-top-navigation></app-top-navigation>
<router-outlet/>
<h1>
<img src="csc_logo.svg" alt="logo">
CSC
</h1>
<sae-feedback-button></sae-feedback-button>
</body>
</html>

View file

@ -1,10 +1,12 @@
import { Component, signal } from '@angular/core';
import { RouterOutlet } from '@angular/router';
import {TopNavigation} from './shared/navigation/top-navigation/top-navigation';
import {FeedbackButton} from 'sae-lib/buttons/feedback-button/feedback-button';
// import {SaeLib} from '@sae-lib/src/public-api';
@Component({
selector: 'app-root',
imports: [RouterOutlet],
imports: [RouterOutlet, TopNavigation, FeedbackButton],
templateUrl: './app.html',
styleUrl: './app.scss'
})

View file

@ -1,5 +1,4 @@
<div id="main_page">
<app-top-navigation></app-top-navigation>
<main>
<h2 class="title">

View file

@ -8,7 +8,6 @@ import {BottomNavigation} from '../../shared/navigation/bottom-navigation/bottom
@Component({
selector: 'app-main',
imports: [
TopNavigation,
TranslateTexts,
FiltersGroup,
BottomNavigation

View file

@ -0,0 +1,9 @@
export type CscCase = {
};
export type TechManual = {
};
export type filterListing = {
};

View file

@ -5,7 +5,7 @@ import {StateInterface} from './reducers';
export const initialState: StateInterface = {
app: {
backendAPIRoot: "",
demoMode: true, // selon l'environnement
demoMode: true,
},
currentLang: "fr_FR",
currentTheme: "light",

View file

@ -1,2 +1,6 @@
// Ce fichier regroupe toutes les variables de sae-lib pour faciliter l'importation
@forward 'sae-lib/src/styles/variables.scss';
.all-pages{
padding: 50px 64px;
}

View file

@ -2,7 +2,7 @@
#main_page {
main {
padding: 50px 64px;
@extend .all-pages;
.title {
font-size: 20px;
@ -143,6 +143,8 @@
justify-content: flex-end;
align-items: center;
background: white;
left: 0;
z-index: 100;
box-shadow: 0 -10px 20px 0 rgba(30, 31, 34, 0.05);

View file

@ -0,0 +1,5 @@
@use '../../../../styles/variables-barrel' as variables;
.similar-cases{
@extend .all-pages;
}

View file

@ -1,2 +1,4 @@
@use "app/styles/pages/main.scss";
@use "app/styles/pages/similar-cases.scss";
@use "app/styles/pages/admin.scss";