Skip to content

Commit

Permalink
Update broken image paths
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed May 3, 2024
1 parent 5323a10 commit e1b641c
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 32 deletions.
8 changes: 4 additions & 4 deletions src/app/showcase/doc/accordion/templatedoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Code } from '@domain/code';
<p-accordionTab>
<ng-template pTemplate="header">
<span class="flex align-items-center gap-2 w-full">
<p-avatar image="https://primefaces.org/cdn/primeng/images/avatar/amyelsner.png" shape="circle" />
<p-avatar image="https://primefaces.org/cdn/primeng/images/demo/avatar/amyelsner.png" shape="circle" />
<span class="font-bold white-space-nowrap">Amy Elsner</span>
<p-badge value="3" class="ml-auto mr-2" />
</span>
Expand Down Expand Up @@ -112,7 +112,7 @@ export class TemplateDoc {
<ng-template pTemplate="header">
<span class="flex align-items-center gap-2 w-full">
<p-avatar
image="https://primefaces.org/cdn/primeng/images/avatar/amyelsner.png"
image="https://primefaces.org/cdn/primeng/images/demo/avatar/amyelsner.png"
shape="circle" />
<span class="font-bold white-space-nowrap">
Amy Elsner
Expand All @@ -129,7 +129,7 @@ export class TemplateDoc {
<ng-template pTemplate="header">
<span class="flex align-items-center gap-2 w-full">
<p-avatar
image="https://primefaces.org/cdn/primeng/images/avatar/onyamalimba.png"
image="https://primefaces.org/cdn/primeng/images/demo/avatar/onyamalimba.png"
shape="circle" />
<span class="font-bold white-space-nowrap">
Onyama Limba
Expand All @@ -146,7 +146,7 @@ export class TemplateDoc {
<ng-template pTemplate="header">
<span class="flex align-items-center gap-2 w-full">
<p-avatar
image="https://primefaces.org/cdn/primeng/images/avatar/ionibowcher.png"
image="https://primefaces.org/cdn/primeng/images/demo/avatar/ionibowcher.png"
shape="circle" />
<span class="font-bold white-space-nowrap">
Ioni Bowcher
Expand Down
6 changes: 3 additions & 3 deletions src/app/showcase/doc/contextmenu/commanddoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ interface Users {
(contextmenu)="onContextMenu($event, user)"
>
<div class="flex align-items-center gap-2">
<img [alt]="user.name" [src]="'https://primefaces.org/cdn/primevue/images/avatar/' + user.image" style="width: 32px" />
<img [alt]="user.name" [src]="'https://primefaces.org/cdn/primeng/images/demo/avatar/' + user.image" style="width: 32px" />
<span class="font-bold">{{ user.name }}</span>
</div>
<p-tag [value]="user.role" [severity]="getBadge(user)" />
Expand Down Expand Up @@ -143,7 +143,7 @@ export class CommandDoc implements OnInit {
<div class="flex align-items-center gap-2">
<img
[alt]="user.name"
[src]="'https://primefaces.org/cdn/primevue/images/avatar/' + user.image"
[src]="'https://primefaces.org/cdn/primeng/images/demo/avatar/' + user.image"
style="width: 32px" />
<span class="font-bold">
{{ user.name }}
Expand Down Expand Up @@ -176,7 +176,7 @@ export class CommandDoc implements OnInit {
<div class="flex align-items-center gap-2">
<img
[alt]="user.name"
[src]="'https://primefaces.org/cdn/primevue/images/avatar/' + user.image"
[src]="'https://primefaces.org/cdn/primeng/images/demo/avatar/' + user.image"
style="width: 32px" />
<span class="font-bold">
{{ user.name }}
Expand Down
6 changes: 3 additions & 3 deletions src/app/showcase/doc/megamenu/templatedoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ import { Code } from '@domain/code';
</div>
</ng-template>
<ng-template pTemplate="end">
<p-avatar image="https://primefaces.org/cdn/primeng/images/avatar/amyelsner.png" shape="circle" />
<p-avatar image="https://primefaces.org/cdn/primeng/images/demo/avatar/amyelsner.png" shape="circle" />
</ng-template>
</p-megaMenu>
</div>
Expand Down Expand Up @@ -177,7 +177,7 @@ export class TemplateDoc implements OnInit {
</div>
</ng-template>
<ng-template pTemplate="end">
<p-avatar image="https://primefaces.org/cdn/primeng/images/avatar/amyelsner.png" shape="circle" />
<p-avatar image="https://primefaces.org/cdn/primeng/images/demo/avatar/amyelsner.png" shape="circle" />
</ng-template>
</p-megaMenu>`,

Expand Down Expand Up @@ -235,7 +235,7 @@ export class TemplateDoc implements OnInit {
</div>
</ng-template>
<ng-template pTemplate="end">
<p-avatar image="https://primefaces.org/cdn/primeng/images/avatar/amyelsner.png" shape="circle" />
<p-avatar image="https://primefaces.org/cdn/primeng/images/demo/avatar/amyelsner.png" shape="circle" />
</ng-template>
</p-megaMenu>
</div>`,
Expand Down
14 changes: 7 additions & 7 deletions src/app/showcase/doc/menu/templatedoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import { Code } from '@domain/code';
selector: 'template-doc',
template: `
<app-docsectiontext>
<p>
Menu offers item customization with the <i>item</i> template that receives the menuitem instance from the model as a parameter. The submenu header has its own <i>submenuheader</i> template, additional slots named <i>start</i> and
<i>end</i> are provided to embed content before or after the menu.
</p>
<p>
Menu offers item customization with the <i>item</i> template that receives the menuitem instance from the model as a parameter. The submenu header has its own <i>submenuheader</i> template, additional slots named <i>start</i> and
<i>end</i> are provided to embed content before or after the menu.
</p>
</app-docsectiontext>
<div class="card flex justify-content-center">
<p-menu [model]="items" styleClass="w-full md:w-15rem">
Expand Down Expand Up @@ -60,7 +60,7 @@ import { Code } from '@domain/code';
</ng-template>
<ng-template pTemplate="end">
<button pRipple class="relative overflow-hidden w-full p-link flex align-items-center p-2 pl-3 text-color hover:surface-200 border-noround">
<p-avatar image="https://primefaces.org/cdn/primeng/images/avatar/amyelsner.png" class="mr-2" shape="circle" />
<p-avatar image="https://primefaces.org/cdn/primeng/images/demo/avatar/amyelsner.png" class="mr-2" shape="circle" />
<span class="inline-flex flex-column">
<span class="font-bold">Amy Elsner</span>
<span class="text-sm">Admin</span>
Expand Down Expand Up @@ -174,7 +174,7 @@ export class TemplateDoc implements OnInit {
</ng-template>
<ng-template pTemplate="end">
<button pRipple class="relative overflow-hidden w-full p-link flex align-items-center p-2 pl-3 text-color hover:surface-200 border-noround">
<p-avatar image="https://primefaces.org/cdn/primeng/images/avatar/amyelsner.png" class="mr-2" shape="circle" />
<p-avatar image="https://primefaces.org/cdn/primeng/images/demo/avatar/amyelsner.png" class="mr-2" shape="circle" />
<span class="inline-flex flex-column">
<span class="font-bold">Amy Elsner</span>
<span class="text-sm">Admin</span>
Expand Down Expand Up @@ -232,7 +232,7 @@ export class TemplateDoc implements OnInit {
</ng-template>
<ng-template pTemplate="end">
<button pRipple class="relative overflow-hidden w-full p-link flex align-items-center p-2 pl-3 text-color hover:surface-200 border-noround">
<p-avatar image="https://primefaces.org/cdn/primeng/images/avatar/amyelsner.png" class="mr-2" shape="circle" />
<p-avatar image="https://primefaces.org/cdn/primeng/images/demo/avatar/amyelsner.png" class="mr-2" shape="circle" />
<span class="inline-flex flex-column">
<span class="font-bold">Amy Elsner</span>
<span class="text-sm">Admin</span>
Expand Down
6 changes: 3 additions & 3 deletions src/app/showcase/doc/menubar/templatedoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import { Code } from '@domain/code';
<ng-template pTemplate="end">
<div class="flex align-items-center gap-2">
<input type="text" pInputText placeholder="Search" class="w-8rem sm:w-auto" />
<p-avatar image="https://primefaces.org/cdn/primeng/images/avatar/amyelsner.png" shape="circle" />
<p-avatar image="https://primefaces.org/cdn/primeng/images/demo/avatar/amyelsner.png" shape="circle" />
</div>
</ng-template>
</p-menubar>
Expand Down Expand Up @@ -167,7 +167,7 @@ export class TemplateDoc implements OnInit {
<ng-template pTemplate="end">
<div class="flex align-items-center gap-2">
<input type="text" pInputText placeholder="Search" class="w-8rem sm:w-auto" />
<p-avatar image="https://primefaces.org/cdn/primeng/images/avatar/amyelsner.png" shape="circle" />
<p-avatar image="https://primefaces.org/cdn/primeng/images/demo/avatar/amyelsner.png" shape="circle" />
</div>
</ng-template>
</p-menubar>`,
Expand Down Expand Up @@ -217,7 +217,7 @@ export class TemplateDoc implements OnInit {
<ng-template pTemplate="end">
<div class="flex align-items-center gap-2">
<input type="text" pInputText placeholder="Search" class="w-8rem sm:w-auto" />
<p-avatar image="https://primefaces.org/cdn/primeng/images/avatar/amyelsner.png" shape="circle" />
<p-avatar image="https://primefaces.org/cdn/primeng/images/demo/avatar/amyelsner.png" shape="circle" />
</div>
</ng-template>
</p-menubar>
Expand Down
6 changes: 3 additions & 3 deletions src/app/showcase/doc/overlaypanel/basicdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { Code } from '@domain/code';
<span class="font-medium text-900 block mb-2">Team Members</span>
<ul class="list-none p-0 m-0 flex flex-column gap-3">
<li *ngFor="let member of members" class="flex align-items-center gap-2">
<img [src]="'https://primefaces.org/cdn/primevue/images/avatar/' + member.image" style="width: 32px" />
<img [src]="'https://primefaces.org/cdn/primeng/images/demo/avatar/' + member.image" style="width: 32px" />
<div>
<span class="font-medium">{{ member.name }}</span>
<div class="text-sm text-color-secondary">{{ member.email }}</div>
Expand Down Expand Up @@ -80,7 +80,7 @@ export class BasicDoc {
<span class="font-medium text-900 block mb-2">Team Members</span>
<ul class="list-none p-0 m-0 flex flex-column gap-3">
<li *ngFor="let member of members" class="flex align-items-center gap-2">
<img [src]="'https://primefaces.org/cdn/primevue/images/avatar/' + member.image" style="width: 32px" />
<img [src]="'https://primefaces.org/cdn/primeng/images/demo/avatar/' + member.image" style="width: 32px" />
<div>
<span class="font-medium">{{ member.name }}</span>
<div class="text-sm text-color-secondary">{{ member.email }}</div>
Expand Down Expand Up @@ -119,7 +119,7 @@ export class BasicDoc {
<span class="font-medium text-900 block mb-2">Team Members</span>
<ul class="list-none p-0 m-0 flex flex-column gap-3">
<li *ngFor="let member of members" class="flex align-items-center gap-2">
<img [src]="'https://primefaces.org/cdn/primevue/images/avatar/' + member.image" style="width: 32px" />
<img [src]="'https://primefaces.org/cdn/primeng/images/demo/avatar/' + member.image" style="width: 32px" />
<div>
<span class="font-medium">{{ member.name }}</span>
<div class="text-sm text-color-secondary">{{ member.email }}</div>
Expand Down
6 changes: 3 additions & 3 deletions src/app/showcase/doc/sidebar/templatedoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Code } from '@domain/code';
<p-sidebar [(visible)]="sidebarVisible">
<ng-template pTemplate="header">
<div class="flex align-items-center gap-2">
<p-avatar image="https://primefaces.org/cdn/primeng/images/avatar/amyelsner.png" shape="circle" />
<p-avatar image="https://primefaces.org/cdn/primeng/images/demo/avatar/amyelsner.png" shape="circle" />
<span class="font-bold">Amy Elsner</span>
</div>
</ng-template>
Expand All @@ -33,7 +33,7 @@ export class TemplateDoc {
<ng-template pTemplate="header">
<div class="flex align-items-center gap-2">
<p-avatar
image="https://primefaces.org/cdn/primeng/images/avatar/amyelsner.png"
image="https://primefaces.org/cdn/primeng/images/demo/avatar/amyelsner.png"
shape="circle" />
<span class="font-bold">
Amy Elsner
Expand All @@ -51,7 +51,7 @@ export class TemplateDoc {
<ng-template pTemplate="header">
<div class="flex align-items-center gap-2">
<p-avatar
image="https://primefaces.org/cdn/primeng/images/avatar/amyelsner.png"
image="https://primefaces.org/cdn/primeng/images/demo/avatar/amyelsner.png"
shape="circle" />
<span class="font-bold">
Amy Elsner
Expand Down
6 changes: 3 additions & 3 deletions src/app/showcase/doc/tabmenu/templatedoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Code } from '@domain/code';
<p-tabMenu [model]="items" [activeItem]="activeItem">
<ng-template pTemplate="item" let-item>
<a pRipple class="flex align-items-center gap-2 p-menuitem-link">
<img [alt]="item.name" [src]="'https://primefaces.org/cdn/primevue/images/avatar/' + item.image" style="width: 32px" />
<img [alt]="item.name" [src]="'https://primefaces.org/cdn/primeng/images/demo/avatar/' + item.image" style="width: 32px" />
<span class="font-bold">{{ item.name }}</span>
</a>
</ng-template>
Expand Down Expand Up @@ -41,7 +41,7 @@ export class TemplateDoc implements OnInit {
<a pRipple class="flex align-items-center gap-2 p-menuitem-link">
<img
[alt]="item.name"
[src]="'https://primefaces.org/cdn/primevue/images/avatar/' + item.image"
[src]="'https://primefaces.org/cdn/primeng/images/demo/avatar/' + item.image"
style="width: 32px" />
<span class="font-bold">
{{ item.name }}
Expand All @@ -56,7 +56,7 @@ export class TemplateDoc implements OnInit {
<a pRipple class="flex align-items-center gap-2 p-menuitem-link">
<img
[alt]="item.name"
[src]="'https://primefaces.org/cdn/primevue/images/avatar/' + item.image"
[src]="'https://primefaces.org/cdn/primeng/images/demo/avatar/' + item.image"
style="width: 32px" />
<span class="font-bold">
{{ item.name }}
Expand Down
6 changes: 3 additions & 3 deletions src/app/showcase/doc/tabview/customtemplatedoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Code } from '@domain/code';
<p-tabPanel>
<ng-template pTemplate="header">
<div class="flex align-items-center gap-2">
<p-avatar image="https://primefaces.org/cdn/primeng/images/avatar/amyelsner.png" shape="circle" />
<p-avatar image="https://primefaces.org/cdn/primeng/images/demo/avatar/amyelsner.png" shape="circle" />
<span class="font-bold white-space-nowrap m-0">Amy Elsner</span>
</div>
</ng-template>
Expand Down Expand Up @@ -58,7 +58,7 @@ export class TemplateDoc {
<ng-template pTemplate="header">
<div class="flex align-items-center gap-2">
<p-avatar
image="https://primefaces.org/cdn/primeng/images/avatar/amyelsner.png"
image="https://primefaces.org/cdn/primeng/images/demo/avatar/amyelsner.png"
shape="circle" />
<span class="font-bold white-space-nowrap m-0">
Amy Elsner
Expand Down Expand Up @@ -108,7 +108,7 @@ export class TemplateDoc {
<ng-template pTemplate="header">
<div class="flex align-items-center gap-2">
<p-avatar
image="https://primefaces.org/cdn/primeng/images/avatar/amyelsner.png"
image="https://primefaces.org/cdn/primeng/images/demo/avatar/amyelsner.png"
shape="circle" />
<span class="font-bold white-space-nowrap m-0">
Amy Elsner
Expand Down

0 comments on commit e1b641c

Please sign in to comment.