Skip to content

Commit 1bde456

Browse files
authored
Merge pull request #197 from valor-software/feat-update-after-merge
feat(general): update after merge
2 parents 0a1f410 + 4fee8ef commit 1bde456

13 files changed

Lines changed: 52 additions & 46 deletions

File tree

15 KB
Loading

libs/common-docs/src/components/blog-preview/blog-portfolio-item.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import { IPortfolio } from "../../models/portfolio.interface";
99
template:`
1010
<div class="article-item">
1111
<div class="img-container zoom-img-scale">
12-
<img class="w-full h-full object-cover" [src]="article ? article?.bgImg : project?.previewImg" [alt]="article ? article?.title : project?.name + 'img'">
12+
<img class="w-full h-full object-cover" [src]="article ? article.bgImg : project?.previewImg" [alt]="article ? article.title : project?.name + 'img'">
1313
</div>
1414
<div class="text-container">
15-
<p>{{article ? article?.title : project?.name}}</p>
15+
<p>{{article ? article.title : project?.name}}</p>
1616
</div>
1717
</div>
1818
`

libs/common-docs/src/components/contact-modal/contactModal.components.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ export class ContactModalComponent implements OnDestroy {
4141
};
4242

4343
@HostListener('document:keydown.escape', ['$event']) onKeydownHandler() {
44+
const focused: HTMLElement | null = <HTMLElement>document.querySelector(':focus-visible');
4445
this.closeModal();
46+
if(focused){
47+
focused.blur();
48+
}
4549
}
4650

4751
constructor(
@@ -61,7 +65,7 @@ export class ContactModalComponent implements OnDestroy {
6165
element.style.display = 'block';
6266
}
6367

64-
if (this.router.url.includes('/services')) {
68+
if (this.router.url.includes('/services') || this.router.url.includes('/clients')) {
6569
this.form.get('type')?.setValue('service');
6670
} else if (this.router.url.includes('/careers')) {
6771
this.form.get('type')?.setValue('career');

libs/common-docs/src/components/expandable-card/expandable-card.component.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
<div class="md:flex flex-column justify-between gap-4">
2-
<div *ngFor="let card of cards; let i = index" class="bg-grey md:py-10 py-6 px-6 md:mb-0 mb-4"
1+
<div class="lg:flex flex-column justify-between gap-4">
2+
<div *ngFor="let card of cards; let i = index" class="bg-grey lg:py-10 py-6 px-6 lg:mb-0 mb-4"
33
[style.flex]="card.isExpanded ? '2.5' : '1'" (click)="selectCard(i)">
4-
<div class="md:flex-auto md:flex flex-column justify-between align-center h-full items-center"
4+
<div class="lg:flex-auto lg:flex flex-column justify-between align-center h-full items-center"
55
*ngIf="card.isExpanded">
66
<div [@enterBigCard]>
7-
<img [src]="card.imgSource" class="block md:hidden w-2/4 h-2/4 m-auto mb-6" alt="slide img">
8-
<h3 [innerHTML]="card.title" class="md:text-large text-2xl text-light_title_col leading-28 md:leading-44 mb-8">
7+
<img [src]="card.imgSource" class="block lg:hidden w-2/4 h-2/4 md:w-1/3 lg:w-2/4 lg:h-2/4 md:h-1/3 m-auto mb-6" alt="slide img">
8+
<h3 [innerHTML]="card.title" class="lg:text-large text-2xl text-light_title_col leading-28 lg:leading-44 mb-8">
99
</h3>
1010
<ul class="list-disc text-grey_font_col pl-5 ">
1111
<li *ngFor="let item of card.list" class="mb-4 ">{{item}}</li>
1212
</ul>
13-
<button class="flex justify-center md:justify-between mt-10 w-full md:w-auto">
13+
<button class="flex justify-center lg:justify-between mt-10 w-full lg:w-auto">
1414
<a [routerLink]="['articles']" class="btn-pink flex justify-center w-full">Visit blog <img
1515
src="assets/img/icons/arrow.svg" class="ml-2" alt=""></a>
1616
</button>
1717
</div>
18-
<div class="hidden md:block max-w-140 md:max-w-full mb-6 md:mb-0 h-full">
18+
<div class="hidden lg:block max-w-140 lg:max-w-full mb-6 lg:mb-0 h-full">
1919
<img [src]="card.imgSource" class="w-full h-full" alt="slide img">
2020
</div>
2121
</div>
2222

23-
<div class="flex md:block md:flex-column justify-between align-center md:h-full h-106 items-center"
23+
<div class="flex justify-between align-center md:h-full h-106 items-center gap-6"
2424
*ngIf="!card.isExpanded" (click)="selectCard(i)" [@enterSmallCard]>
25-
<div class="max-w-140 md:max-w-full mb-6 md:h-1/2 w-1/2 md:w-full m-auto mr-6 md:mr-0">
26-
<img [src]="card.imgSource" class="md:w-full m-auto md:h-full h-106" alt="slide img">
25+
<div class="max-w-140 md:max-w-full mb-6 md:h-1/2 w-1/2 md:w-1/4 m-auto ">
26+
<img [src]="card.imgSource" class="w-full m-auto h-106" alt="slide img">
2727
</div>
2828
<div class="md:h-1/2 ">
2929
<h3 [innerHTML]="card.title"

libs/common-docs/src/components/popover/popover.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ <h3 class="ml-2.5">{{item.title}}</h3>
1212
<div *ngIf="!item.route" class="bg-yellow_bg_col rounded-2xl text-dark_font_col text-xs ml-5 self-center px-1.5" >
1313
Coming soon
1414
</div>
15+
</div>
16+
<div>
17+
<p class="text-grey_font_col text-sm">{{item.description}}</p>
1518
</div>
16-
</a>
17-
<div>
18-
<p class="text-grey_font_col text-sm">{{item.description}}</p>
19-
</div>
19+
</a>
2020
</div>
2121
</div>
2222
</div>

libs/common-docs/src/components/services_block/services.model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const servicesList = [
1212
path: '/services/software-engineering'
1313
},
1414
{
15-
title: 'Quality Assuarance',
15+
title: 'Quality Assurance',
1616
description: 'Enjoy thoroughly planned and polished quality assurance workflows on your project, including the test automation pipeline. Using edge JavaScript and TypeScript libraries, we ensure the best test coverage of your product.',
1717
img: 'assets/img/bg-img/services_img/services_3.svg',
1818
path: '/services/quality-assurance'

libs/feedback/src/feedback.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</div>
2424
<div class="w-35% ml-10 flex-column items-start ">
2525
<img [src]="slide.img" alt=""
26-
class="w-full m-auto mb-8 object-contain rounded-full max-w-full h-auto align-middle border-none"
26+
class="w-full m-auto mb-8 object-contain rounded-full max-w-full h-auto align-middle border-none bg-white"
2727
style="max-width: 214px; max-height: 214px; width: 100%; height: 100%">
2828
<div class="w-full flex justify-between">
2929
<p class="m-auto">

libs/route-pages/blog-portfolio/src/general-page.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ <h1 class="text-light_title_col md:text-64 text-large md:leading-66 leading-44 m
3434
<ng-container *ngIf="!isBlogPage(); else blogPageImage">
3535
<ng-container *ngIf="activeProject && activeProject.name">
3636
<a href="javascript:void(0)" [routerLink]="[getRouteLink(activeProject.name)]" class="block zoom-img-scale">
37-
<img [src]="activeProject?.previewImg" [alt]="activeProject?.name + 'image'">
37+
<img [src]="activeProject.previewImg" [alt]="activeProject.name + 'image'">
3838
</a>
3939
</ng-container>
4040
</ng-container>
4141
<ng-template #blogPageImage>
4242
<ng-container *ngIf="activeArticle && activeArticle.title">
4343
<a href="javascript:void(0)" [routerLink]="[getRouteLink(activeArticle.title)]" class="block zoom-img-scale">
44-
<img [src]="activeArticle?.bgImg" [alt]="activeArticle?.title + 'image'">
44+
<img [src]="activeArticle.bgImg" [alt]="activeArticle.title + 'image'">
4545
</a>
4646
</ng-container>
4747
</ng-template>

libs/route-pages/for-clients/src/routes.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ import { StartupsComponent } from './startups.component';
22
import { SmallMediumBusinessesComponent } from './smallMediumBusinesses.component';
33
import { EnterprisesComponent } from './enterprises.component';
44
import { NonProfitComponent } from './nonProfit.component';
5+
import { Routes } from '@angular/router';
56

6-
export const routes = [
7+
export const routes: Routes = [
78
{
89
path: '',
910
children: [
@@ -25,7 +26,8 @@ export const routes = [
2526
},
2627
{
2728
path: '',
28-
redirectTo: 'startups'
29+
redirectTo: 'startups',
30+
pathMatch: 'full'
2931
},
3032
]
3133
}

libs/route-pages/home-page/src/businesses-card.component.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
<div class="md:flex-wrap md:flex flex-column gap-8">
2-
<div *ngFor="let card of cards; let i = index" class="md:w-45% bg-grey md:py-10 py-6 px-6 md:mb-0 mb-4">
3-
<div class=" md:flex flex-column justify-between align-center h-full items-center">
4-
<div class="md:w-8/12">
5-
<img [src]="card.imgSource" class="block md:hidden w-2/4 h-2/4 m-auto mb-6" alt="slide img">
6-
<h3 [innerHTML]="card.title" class="md:text-32 text-2xl text-light_title_col leading-28 md:leading-44 mb-8">
1+
<div class="lg:flex-wrap lg:flex flex-column gap-8">
2+
<div *ngFor="let card of cards; let i = index" class="lg:w-45% bg-grey lg:py-10 py-6 px-6 lg:mb-0 mb-4">
3+
<div class=" lg:flex flex-column justify-between align-center h-full items-center">
4+
<div class="lg:w-8/12">
5+
<img [src]="card.imgSource" class="block lg:hidden w-2/4 h-2/4 m-auto mb-6" alt="slide img">
6+
<h3 [innerHTML]="card.title" class="lg:text-32 text-2xl text-light_title_col leading-28 lg:leading-44 mb-8">
77
</h3>
88
<p class="text-grey_font_col tracking-tightest">
99
{{card.description}}
1010
</p>
11-
<button class="flex justify-center md:justify-between mt-10 w-full md:w-auto">
11+
<button class="flex justify-center lg:justify-between mt-10 w-full lg:w-auto">
1212
<a [routerLink]="card.route" class="btn-pink flex justify-center w-full">{{card.buttonTitle}}<img src="assets/img/icons/arrow.svg"
1313
class="ml-2" alt=""></a>
1414
</button>
1515
</div>
16-
<div class="hidden md:block md:max-w-full mb-6 md:mb-0 ">
16+
<div class="hidden lg:block lg:max-w-full mb-6 lg:mb-0 ">
1717
<img [src]="card.imgSource" class="w-full" alt="slide img">
1818
</div>
1919
</div>

0 commit comments

Comments
 (0)