File tree Expand file tree Collapse file tree 2 files changed +28
-16
lines changed
components/home-things/cta Expand file tree Collapse file tree 2 files changed +28
-16
lines changed Original file line number Diff line number Diff line change @@ -16,25 +16,33 @@ import { RouterModule } from '@angular/router';
1616 Alternatively, check out our GitHub repo to run on your own infrastructure.
1717 </p>
1818 <div class="flex justify-center sm:justify-end w-full flex-wrap gap-3 my-3">
19+ <!-- View on GitHub GitHub -->
1920 <a href="https://github.com/lissy93/domain-locker" target="_blank" rel="noopener noreferrer">
20- <p-button
21- label="View on GitHub"
22- severity="secondary"
23- icon="pi pi-github"
24- class="min-w-48"
25- styleClass="w-full"
21+ <p-button
22+ label="View on GitHub"
23+ severity="secondary"
24+ icon="pi pi-github"
25+ class="min-w-48"
26+ styleClass="w-full"
2627 ></p-button>
2728 </a>
28- <a [href]=" isDemo ? 'https://domain-locker.com/login?newUser=true' : '#'">
29+ <!-- Get Started -->
30+ <a *ngIf="isDemo" href="https://domain-locker.com/login?newUser=true">
2931 <p-button
30- routerLink="/login"
31- [queryParams]="{ newUser: 'true' }"
32- label="Get Started"
33- class="min-w-48"
34- icon="pi pi-arrow-circle-right"
35- styleClass="w-full"
36- ></p-button>
32+ label="Get Started"
33+ class="min-w-48"
34+ icon="pi pi-arrow-circle-right"
35+ styleClass="w-full"
36+ />
3737 </a>
38+ <p-button
39+ routerLink="/login"
40+ [queryParams]="{ newUser: 'true' }"
41+ label="Get Started"
42+ class="min-w-48"
43+ icon="pi pi-arrow-circle-right"
44+ styleClass="w-full"
45+ />
3846 </div>
3947 </div>
4048 ` ,
Original file line number Diff line number Diff line change 44 < h2 > {{ linksTitle }}</ h2 >
55 < ul class ="pl-4 ">
66 < li *ngFor ="let link of links ">
7- < a [routerLink] ="link.link " class ="text-primary font-semibold no-underline "> {{ link.title }}</ a >
7+ < a *ngIf ="link.link " [routerLink] ="link.link " class ="text-primary font-semibold no-underline ">
8+ {{ link.title }}
9+ </ a >
10+ < a *ngIf ="link.href " [href] ="link.href " class ="text-primary font-semibold no-underline ">
11+ {{ link.title }}
12+ </ a >
813 @if (link.description) { - < span class ="opacity-70 italic "> {{ link.description }}</ span > }
9-
1014 </ li >
1115 </ ul >
1216</ section >
You can’t perform that action at this time.
0 commit comments