add nav on main

This commit is contained in:
Tykayn 2025-08-07 16:17:13 +02:00 committed by tykayn
parent 45a36f4736
commit d8443508e1
7 changed files with 83 additions and 3 deletions

View file

@ -3,7 +3,12 @@
<main> <main>
<h2 class="title"> <h2 class="title">
CSC Solution Matcher helps match client questions with similar previous cases using AI technology CSC Solution Matcher helps match client questions with similar previous cases using
<span class="magic-text">
AI technology
<i class="ri-sparkling-fill"></i>
</span>
</h2> </h2>
<!-- traduction de requête--> <!-- traduction de requête-->
<div id="translation_request"> <div id="translation_request">
@ -11,7 +16,6 @@
<div class="helper"> <div class="helper">
Original question Original question
<i class="ri-arrow-right-line"></i> <i class="ri-arrow-right-line"></i>
</div> </div>
<lib-translate-texts></lib-translate-texts> <lib-translate-texts></lib-translate-texts>
@ -20,6 +24,7 @@
<div id="question_alaysis"> <div id="question_alaysis">
<!--filters--> <!--filters-->
<!-- advanced filters--> <!-- advanced filters-->
<lib-filters-group></lib-filters-group>
</div> </div>
</main> </main>
<footer> <footer>
@ -27,5 +32,6 @@
<!-- bottom nav --> <!-- bottom nav -->
<!-- bottom fixed bar --> <!-- bottom fixed bar -->
<!-- search button--> <!-- search button-->
<app-bottom-navigation></app-bottom-navigation>
</footer> </footer>
</div> </div>

View file

@ -0,0 +1,3 @@
.magic-text{
color: #EEA100;
}

View file

@ -1,12 +1,17 @@
import { Component } from '@angular/core'; import { Component } from '@angular/core';
import {TopNavigation} from '../../shared/navigation/top-navigation/top-navigation'; import {TopNavigation} from '../../shared/navigation/top-navigation/top-navigation';
import {TranslateTexts} from '../../../../../my-workspace/projects/my-lib/translate-texts/translate-texts'; import {TranslateTexts} from '../../../../../my-workspace/projects/my-lib/translate-texts/translate-texts';
import {FiltersGroup} from '../../../../../my-workspace/projects/my-lib/filters/filters-group/filters-group';
import {BottomNavigation} from '../../shared/navigation/bottom-navigation/bottom-navigation';
@Component({ @Component({
selector: 'app-main', selector: 'app-main',
imports: [ imports: [
TopNavigation, TopNavigation,
TranslateTexts TranslateTexts,
FiltersGroup,
BottomNavigation
], ],
templateUrl: './main.html', templateUrl: './main.html',
styleUrl: './main.scss' styleUrl: './main.scss'

View file

@ -0,0 +1,15 @@
<div class="bottom-navigation">
<nav class="navigation">
<a class="nav-item">
privacy policy
</a>
<a class="nav-item">
contact
</a>
</nav>
<div class="fixed-navigation">
<button class="next-step" routerLink="similar-cases">
Search similar cases
</button>
</div>
</div>

View file

@ -0,0 +1,14 @@
.next-step{
color: var(--color-text-invert, #FFF);
text-align: center;
leading-trim: both;
text-edge: cap;
/* Text/text-button */
font-family: var(--Fonts-Font-text, Barlow);
font-size: var(--Font-Base, 14px);
font-style: normal;
font-weight: 600;
line-height: 100%; /* 14px */
letter-spacing: 1.12px;
}

View file

@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { BottomNavigation } from './bottom-navigation';
describe('BottomNavigation', () => {
let component: BottomNavigation;
let fixture: ComponentFixture<BottomNavigation>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [BottomNavigation]
})
.compileComponents();
fixture = TestBed.createComponent(BottomNavigation);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View file

@ -0,0 +1,14 @@
import { Component } from '@angular/core';
import {RouterLink} from '@angular/router';
@Component({
selector: 'app-bottom-navigation',
imports: [
RouterLink
],
templateUrl: './bottom-navigation.html',
styleUrl: './bottom-navigation.scss'
})
export class BottomNavigation {
}