Skip to content

Commit

Permalink
fix connect to user link
Browse files Browse the repository at this point in the history
  • Loading branch information
gsambrotta committed Feb 26, 2024
1 parent 27f27f7 commit b3d9009
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 22 deletions.
15 changes: 4 additions & 11 deletions src/app/pages/connect/connect.component.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@


<div *ngIf="isLoading">
<p>Loading...</p>
</div>
<app-grid-block *ngIf="!isLoading" [config]="config" [model]="connectionManager.flows"></app-grid-block>


<div class="preview-message">
<!--link to previous version of user page-->
<!-- <p>-->
<!-- You are viewing a preview of the new connect page-->
<!-- </p>-->
<div>
<button mat-icon-button routerLink="/user"><mat-icon>person</mat-icon>
click here for the old account page</button>
</div>
<a routerLink="/user">
<mat-icon>person</mat-icon>
<span>click here for the old account page</span>
</a>
</div>
21 changes: 10 additions & 11 deletions src/app/pages/connect/connect.component.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
.preview-message {
font-size: 0.75rem;
margin-bottom: 1rem;
margin-top: 1rem;
padding: 0.5rem;
background-color: #f7fafc;
display: flex;
justify-content: flex-start;
align-items: center;
.preview-message a {
color: black;
text-decoration: none;
}
.preview-message p {
margin: 0 1rem 0 0;

.preview-message .mat-icon {
padding-top: 2px;
}

.preview-message span {
padding-left: 10px;
}

0 comments on commit b3d9009

Please sign in to comment.