Skip to content

Commit 6752e76

Browse files
Remove environment.ts file and update .gitignore; adjust styles and HTML structure across various components
1 parent cdcd7e4 commit 6752e76

16 files changed

+32
-45
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@ testem.log
4343
# System files
4444
.DS_Store
4545
Thumbs.db
46+
47+
/environments/environment.ts

environments/environment.ts

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
export const baseApiUrl = {
2+
Url: 'api url'
3+
}
4+
5+
export const environment = {
6+
firebaseConfig : {
7+
apiKey: "firebase apiKey",
8+
authDomain: "authdomain",
9+
projectId: "projectId",
10+
storageBucket: "storageBucket",
11+
messagingSenderId: "messagingSenderId",
12+
appId: "appId",
13+
measurementId: "measurementId"
14+
}
15+
}
16+
17+
export const mapEnvironment = {
18+
production: false,
19+
googleMapsApiKey: 'googleMapAPIKey'
20+
};
21+

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"angular-confirmation-popover": "^7.0.0",
3535
"angular-websocket": "^2.0.1",
3636
"bootstrap": "^5.3.3",
37-
"dotenv": "^16.4.7",
3837
"html2canvas": "^1.4.1",
3938
"jspdf": "^2.5.1",
4039
"ngx-dropzone": "^3.1.0",

src/app/Components/compare-box/compare-box.component.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,13 @@
55
.icon-container {
66
display: flex;
77
justify-content: center;
8-
/* Center horizontally */
98
align-items: center;
10-
/* Center vertically */
119
color: #1C5864;
1210
}
1311

1412
.icon-container mat-icon {
1513
font-size: 24px;
16-
/* Adjust size if necessary */
1714
color: #000;
18-
/* Adjust color if necessary */
1915
cursor: pointer;
2016
}
2117

src/app/Components/login-cover/login-cover.component.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@
77

88
.back-image {
99
width: 100%;
10-
height: 91.5vh;
10+
height: 800px;
1111
filter: brightness(90%);
12-
/* Decrease brightness to make the image darker */
1312
opacity: 0.6;
1413
}
1514

src/app/Components/nav-bar/nav-bar.component.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515
<app-secondary-button [button]="login"></app-secondary-button>
1616
</div>
1717

18-
<!-- User Image (Shown when user is logged in) -->
1918
<div class="d-flex justify-content-center" *ngIf="isLogin" [ngClass]="isToggled() ? 'active-image': ''">
2019
<a (click)="openProfileCard()" style="cursor: pointer;"><img class="user-image"
21-
src="{{userImage ? userImage: '../../../assets/default/user.png'}}" alt=""></a>
20+
src="{{userImage ? userImage: '../../../assets/default/user.png'}}" alt="user-image"></a>
2221
</div>
2322
</div>

src/app/Components/user-card/user-card.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="d-flex flex-row m-3 justify-content-start align-items-center gap-3" style="min-width: 250px;">
1+
<div class="d-flex flex-row m-3 justify-content-start align-items-center gap-3">
22
<a style="cursor: pointer;" (click)="editProfile()">
33
<img class="user-image" src="{{userImage ? userImage : '../../../assets/default/user.png'}}" alt="">
44
</a>

src/app/Components/user-card/user-card.component.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
background: none;
1010
}
1111

12-
/* New styles for the log out button */
1312
.logout-btn {
1413
font-family: Lato;
1514
font-size: 18px;

0 commit comments

Comments
 (0)