Skip to content

Commit

Permalink
fixed icons and added fluffySonicXL
Browse files Browse the repository at this point in the history
  • Loading branch information
Metal079 committed Oct 14, 2024
1 parent 58f115f commit 130ab8e
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 59 deletions.
6 changes: 4 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"src/styles.css",
"node_modules/primeng/resources/themes/lara-light-blue/theme.css",
"node_modules/primeng/resources/primeng.min.css",
"node_modules/primeflex/primeflex.css"
"node_modules/primeflex/primeflex.css",
"node_modules/bootstrap-icons/font/bootstrap-icons.css"
],
"scripts": [],
"serviceWorker": "ngsw-config.json",
Expand Down Expand Up @@ -103,7 +104,8 @@
"src/styles.css",
"node_modules/primeng/resources/themes/lara-light-blue/theme.css",
"node_modules/primeng/resources/primeng.min.css",
"node_modules/primeflex/primeflex.css"
"node_modules/primeflex/primeflex.css",
"node_modules/bootstrap-icons/font/bootstrap-icons.css"
],
"scripts": []
}
Expand Down
143 changes: 90 additions & 53 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@angular/platform-browser-dynamic": "^18.2.0",
"@angular/router": "^18.2.0",
"@angular/service-worker": "^18.2.0",
"bootstrap-icons": "^1.11.3",
"exifreader": "^4.23.5",
"primeflex": "^3.3.1",
"primeicons": "^7.0.0",
Expand Down
9 changes: 5 additions & 4 deletions src/app/home/options/options.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ <h5 class="lora-name">{{ loraItem.name }}</h5>
<option value="fluffySonic">fluffySonic</option>
<option value="sonicDiffusionXL">sonicDiffusionXL</option>
<option value="autismMix">autismMix</option>
<option value="fluffySonicXL">fluffySonicXL</option>
</select>

<label for="floatingSelect">Image aspect-ratio</label>
Expand Down Expand Up @@ -311,13 +312,13 @@ <h5 class="lora-name">{{ loraItem.name }}</h5>
<div class="top-left-icon">
<i
class="fa"
[ngClass]="image.favorite ? 'fa-solid fa-star' : 'fa-regular fa-star'"
[ngClass]="image.favorite ? 'bi bi-star-fill' : 'bi bi-star'"
(click)="toggleFavorite(image)"
aria-label="Toggle Favorite"
></i>
</div>
<div class="top-right-icon">
<i class="fa-solid fa-trash" (click)="deleteImage(image)" aria-label="Delete Image"></i>
<i class="bi bi-trash" (click)="deleteImage(image)" aria-label="Delete Image"></i>
</div>
</div>
<div class="history-details">
Expand Down Expand Up @@ -355,13 +356,13 @@ <h5 class="lora-name">{{ loraItem.name }}</h5>
<div class="top-left-icon">
<i
class="fa"
[ngClass]="image.favorite ? 'fa-solid fa-star' : 'fa-regular fa-star'"
[ngClass]="image.favorite ? 'bi bi-star-fill' : 'bi bi-star'"
(click)="toggleFavorite(image)"
aria-label="Toggle Favorite"
></i>
</div>
<div class="top-right-icon">
<i class="fa-solid fa-trash" (click)="deleteImage(image)" aria-label="Delete Image"></i>
<i class="bi bi-trash" (click)="deleteImage(image)" aria-label="Delete Image"></i>
</div>
</div>
<div class="history-details">
Expand Down
1 change: 1 addition & 0 deletions src/app/home/options/options.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export class OptionsComponent implements OnInit {
"fluffySonic": "SD 1.5",
"sonicDiffusionXL": "Pony",
"autismMix": "Pony",
"fluffySonicXL": "Pony",
}
enableGenerationButton: boolean = true;
showLoading: boolean = false;
Expand Down

0 comments on commit 130ab8e

Please sign in to comment.