publish to github or gitlab pages
This commit is contained in:
@@ -41,6 +41,9 @@ import { DeleteVersionDialog } from './delete-version-dialog/delete-version-dial
|
||||
</button>
|
||||
<span class="text-lg font-bold">AI Site Generator</span>
|
||||
</div>
|
||||
<button mat-icon-button (click)="goToSettings()" title="Settings">
|
||||
<mat-icon>settings</mat-icon>
|
||||
</button>
|
||||
</mat-toolbar>
|
||||
|
||||
<div class="flex-1 overflow-y-auto">
|
||||
@@ -439,6 +442,10 @@ export class LlmWorkspaceComponent implements OnInit, OnDestroy {
|
||||
this.router.navigate(['/dashboard']);
|
||||
}
|
||||
|
||||
goToSettings(): void {
|
||||
if (this.siteId) this.router.navigate(['/llm', this.siteId, 'settings']);
|
||||
}
|
||||
|
||||
totalComponents(structure: SiteStructure): number {
|
||||
return structure.pages.reduce((sum, p) => sum + p.components.length, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user