Skip to content

Commit

Permalink
Absolute paths are replaced with relative paths for assets
Browse files Browse the repository at this point in the history
  • Loading branch information
pandutibil committed Sep 21, 2023
1 parent 1be3727 commit 64964f3
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/app/core/components/footer/footer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="footer">
<p class="data xmd:col-span-4 xmd:py-4 py-1 px-2 col-span-full text-center" *ngIf="lastModified">Data updated as of {{ lastModified | date: 'dd MMM, YYYY' }}</p>

<!-- <img src="../../../../assets/images/NIC.png" alt="NIC Image">
<!-- <img src="assets/images/NIC.png" alt="NIC Image">
<div class="grid grid-cols-12">
<div class="copyright pt-3 col-span-full text-center">
Copyright © 2022
Expand Down
4 changes: 2 additions & 2 deletions src/app/core/components/header/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h1 class="font-medium leading-tight lg:text-4xl md:text-2xl xs:text-sm sm:text-
<img src="assets/images/NCERT_logo-01.png" class="h-full logo" alt="NCERT Logo">
<div *ngIf="!NVSK">
<img src="../../../../assets/images/user.png" class="user-icon ml-5" (mouseover)="onMouseOver()"
<img src="assets/images/user.png" class="user-icon ml-5" (mouseover)="onMouseOver()"
(mouseout)="onMouseOut()">
<div *ngIf="dropdown" class="dropdown" (mouseover)="withinTime = true;" [@fadeInOut] (mouseout)="onMouseOut()">
<a href="#" (click)="logout()"> logout</a>
Expand Down Expand Up @@ -55,7 +55,7 @@ <h1 class="font-medium leading-tight lg:text-4xl md:text-2xl xs:text-sm sm:text-
<div class="">

<div *ngIf="!NVSK">
<!-- <img src="../../../../assets/images/user.png" class="user-icon ml-5" (mouseover)="onMouseOver()"
<!-- <img src="assets/images/user.png" class="user-icon ml-5" (mouseover)="onMouseOver()"
(mouseout)="onMouseOut()"> -->
<!-- <div *ngIf="dropdown" class="dropdown" (mouseover)="withinTime = true;" [@fadeInOut] (mouseout)="onMouseOut()">
<a href="#" (click)="logout()" id="logout" name="logout"> logout</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class PopupOptionsComponent implements OnInit {
// }
this.showOptionsvalue = false;
let headerText = `${this.title.dashboard_header2_title ? this.title.dashboard_header2_title : this.stateName} - VIDYA SAMIKSHA KENDRA ('VSK')`
let headerImgUrl = '../../../../../assets/images/MoE.png';
let headerImgUrl = 'assets/images/MoE.png';
const headerImg = new Image();
headerImg.src = headerImgUrl;
// Wait for the header image to load
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<div class="col-2"></div>
<div class="col-2">
<div class="pull-right">
<img src="../../../../assets/images/left-lines.png" alt="" srcset="">
<img src="assets/images/left-lines.png" alt="" srcset="">
</div>
</div>
<div class="col-4 text-center">
<span class="welcometxt">Welcome</span><br>
<span class="tostyle">to</span>
</div>
<div class="col-2">
<img src="../../../../assets/images/right-lines.png" alt="" srcset="">
<img src="assets/images/right-lines.png" alt="" srcset="">
</div>
<div class="col-2"></div>
</div>
Expand All @@ -24,7 +24,7 @@
</div>
</div>
<div class="role-info-div my-3">
<img heigt="50px" width="50px" [src]="'../../../assets/images/' + selectedRoleObject?.roleImageUrl"><br>
<img heigt="50px" width="50px" [src]="'assets/images/' + selectedRoleObject?.roleImageUrl"><br>
<span>{{'Hello ' + selectedRoleObject?.name}}</span>
<span> {{'Please select your ' + availableFilters}}</span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/app/views/authentication/pages/login/login.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="row">
<div class="col-lg-4 col-md-6 col-sm-12 ">
<div class="logo d-flex">
<img [src]="'./../../../../../assets/images/' + loginObj.logoURL" class="logoImg mr-3">
<img [src]="'assets/images/' + loginObj.logoURL" class="logoImg mr-3">
<p>{{loginObj.title}}</p>
</div>
</div>
Expand Down Expand Up @@ -62,7 +62,7 @@
</div>
<div class="col-lg-6 col-sm-12">
<div class="backImg">
<img [src]="'./../../../../../assets/images/' + loginObj.imageURL">
<img [src]="'assets/images/' + loginObj.imageURL">
</div>

</div>
Expand Down
6 changes: 3 additions & 3 deletions src/app/views/authentication/pages/login/login.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ a.zocial {
}
.login-pf body {
/* background: url("../../assets/img/Group.svg"); */
background-image: url("/assets/images/Group.svg");
background-image: url("assets/images/Group.svg");
height:100%;
width: 100%;
background-repeat: no-repeat;
Expand All @@ -298,7 +298,7 @@ a.zocial {
@media (max-width: 767px) {

.login-pf body {
background: url("/assets/images/Group.svg");
background: url("assets/images/Group.svg");
height:100%;
width: 100%;
background-repeat: no-repeat;
Expand Down Expand Up @@ -547,7 +547,7 @@ input:focus {
}

#background{
background: url("/assets/images/Group.svg") no-repeat center center fixed !important;
background: url("assets/images/Group.svg") no-repeat center center fixed !important;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
Expand Down
4 changes: 2 additions & 2 deletions src/app/views/home-page/home-page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<div class="col-2"></div>
<div class="col-2">
<div class="pull-right">
<img src="../../../assets/images/left-lines.png" alt="" srcset="">
<img src="assets/images/left-lines.png" alt="" srcset="">
</div>
</div>
<div class="col-4 text-center">
<span class="welcometxt">Welcome</span><br>
<span class="tostyle">to</span>
</div>
<div class="col-2">
<img src="../../../assets/images/right-lines.png" alt="" srcset="">
<img src="assets/images/right-lines.png" alt="" srcset="">
</div>
<div class="col-2"></div>
</div>
Expand Down

0 comments on commit 64964f3

Please sign in to comment.