Skip to content

Commit

Permalink
Merge pull request #6337 from melloware/vue-to-react
Browse files Browse the repository at this point in the history
Change Vue to React in docs and URLs
  • Loading branch information
gucal authored Apr 9, 2024
2 parents 3474235 + 9444569 commit 0a0a3a2
Show file tree
Hide file tree
Showing 14 changed files with 59 additions and 59 deletions.
24 changes: 12 additions & 12 deletions components/doc/accordion/templatedoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function TemplateDoc(props) {
<AccordionTab
header={
<span className="flex align-items-center gap-2 w-full">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
<Avatar image="https://primefaces.org/cdn/primereact/images/avatar/amyelsner.png" shape="circle" />
<span className="font-bold white-space-nowrap">Amy Elsner</span>
<Badge value="3" className="ml-auto" />
</span>
Expand All @@ -27,7 +27,7 @@ export function TemplateDoc(props) {
<AccordionTab
header={
<span className="flex align-items-center gap-2 w-full">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/onyamalimba.png" shape="circle" />
<Avatar image="https://primefaces.org/cdn/primereact/images/avatar/onyamalimba.png" shape="circle" />
<span className="font-bold white-space-nowrap">Onyama Limba</span>
<Badge value="4" className="ml-auto" />
</span>
Expand All @@ -43,7 +43,7 @@ export function TemplateDoc(props) {
<AccordionTab
header={
<span className="flex align-items-center gap-2 w-full">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/ionibowcher.png" shape="circle" />
<Avatar image="https://primefaces.org/cdn/primereact/images/avatar/ionibowcher.png" shape="circle" />
<span className="font-bold white-space-nowrap">Ioni Bowcher</span>
<Badge value="2" className="ml-auto" />
</span>
Expand Down Expand Up @@ -71,7 +71,7 @@ export default function TemplateDemo() {
<AccordionTab
header={
<span className="flex align-items-center gap-2 w-full">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
<Avatar image="https://primefaces.org/cdn/primereact/images/avatar/amyelsner.png" shape="circle" />
<span className="font-bold white-space-nowrap">Amy Elsner</span>
<Badge value="3" className="ml-auto" />
</span>
Expand All @@ -87,7 +87,7 @@ export default function TemplateDemo() {
<AccordionTab
header={
<span className="flex align-items-center gap-2 w-full">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/onyamalimba.png" shape="circle" />
<Avatar image="https://primefaces.org/cdn/primereact/images/avatar/onyamalimba.png" shape="circle" />
<span className="font-bold white-space-nowrap">Onyama Limba</span>
<Badge value="4" className="ml-auto" />
</span>
Expand All @@ -103,7 +103,7 @@ export default function TemplateDemo() {
<AccordionTab
header={
<span className="flex align-items-center gap-2 w-full">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/ionibowcher.png" shape="circle" />
<Avatar image="https://primefaces.org/cdn/primereact/images/avatar/ionibowcher.png" shape="circle" />
<span className="font-bold white-space-nowrap">Ioni Bowcher</span>
<Badge value="2" className="ml-auto" />
</span>
Expand Down Expand Up @@ -134,7 +134,7 @@ export default function TemplateDemo() {
<AccordionTab
header={
<span className="flex align-items-center gap-2 w-full">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
<Avatar image="https://primefaces.org/cdn/primereact/images/avatar/amyelsner.png" shape="circle" />
<span className="font-bold white-space-nowrap">Amy Elsner</span>
<Badge value="3" className="ml-auto" />
</span>
Expand All @@ -150,7 +150,7 @@ export default function TemplateDemo() {
<AccordionTab
header={
<span className="flex align-items-center gap-2 w-full">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/onyamalimba.png" shape="circle" />
<Avatar image="https://primefaces.org/cdn/primereact/images/avatar/onyamalimba.png" shape="circle" />
<span className="font-bold white-space-nowrap">Onyama Limba</span>
<Badge value="4" className="ml-auto" />
</span>
Expand All @@ -166,7 +166,7 @@ export default function TemplateDemo() {
<AccordionTab
header={
<span className="flex align-items-center gap-2 w-full">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/ionibowcher.png" shape="circle" />
<Avatar image="https://primefaces.org/cdn/primereact/images/avatar/ionibowcher.png" shape="circle" />
<span className="font-bold white-space-nowrap">Ioni Bowcher</span>
<Badge value="2" className="ml-auto" />
</span>
Expand Down Expand Up @@ -198,7 +198,7 @@ export default function TemplateDemo() {
<AccordionTab
header={
<span className="flex align-items-center gap-2 w-full">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
<Avatar image="https://primefaces.org/cdn/primereact/images/avatar/amyelsner.png" shape="circle" />
<span className="font-bold white-space-nowrap">Amy Elsner</span>
<Badge value="3" className="ml-auto" />
</span>
Expand All @@ -213,7 +213,7 @@ export default function TemplateDemo() {
<AccordionTab
header={
<span className="flex align-items-center gap-2 w-full">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/onyamalimba.png" shape="circle" />
<Avatar image="https://primefaces.org/cdn/primereact/images/avatar/onyamalimba.png" shape="circle" />
<span className="font-bold white-space-nowrap">Onyama Limba</span>
<Badge value="4" className="ml-auto" />
</span>
Expand All @@ -227,7 +227,7 @@ export default function TemplateDemo() {
<AccordionTab
header={
<span className="flex align-items-center gap-2 w-full">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/ionibowcher.png" shape="circle" />
<Avatar image="https://primefaces.org/cdn/primereact/images/avatar/ionibowcher.png" shape="circle" />
<span className="font-bold white-space-nowrap">Ioni Bowcher</span>
<Badge value="2" className="ml-auto" />
</span>
Expand Down
8 changes: 4 additions & 4 deletions components/doc/contextmenu/commanddoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function CommandDoc(props) {
onContextMenu={(event) => onRightClick(event, user)}
>
<div className="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/primereact/images/avatar/\${user.image}\`} style={{ width: '32px' }} />
<span className="font-bold">{user.name}</span>
</div>
<Tag value={user.role} severity={getBadge(user)} />
Expand Down Expand Up @@ -179,7 +179,7 @@ export default function CommandDemo() {
onContextMenu={(event) => onRightClick(event, user)}
>
<div className="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/primereact/images/avatar/\${user.image}\`} style={{ width: '32px' }} />
<span className="font-bold">{user.name}</span>
</div>
<Tag value={user.role} severity={getBadge(user)} />
Expand Down Expand Up @@ -281,7 +281,7 @@ export default function CommandDemo() {
onContextMenu={(event) => onRightClick(event, user)}
>
<div className="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/primereact/images/avatar/\${user.image}\`} style={{ width: '32px' }} />
<span className="font-bold">{user.name}</span>
</div>
<Tag value={user.role} severity={getBadge(user)} />
Expand Down Expand Up @@ -312,7 +312,7 @@ export default function CommandDemo() {
onContextMenu={(event) => onRightClick(event, user)}
>
<div className="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/primereact/images/avatar/${user.image}`} style={{ width: '32px' }} />
<span className="font-bold">{user.name}</span>
</div>
<Tag value={user.role} severity={getBadge(user)} />
Expand Down
6 changes: 3 additions & 3 deletions components/doc/dialog/templatedoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function TemplateDoc(props) {

const headerElement = (
<div className="inline-flex align-items-center justify-content-center gap-2">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
<Avatar image="https://primefaces.org/cdn/primereact/images/avatar/amyelsner.png" shape="circle" />
<span className="font-bold white-space-nowrap">Amy Elsner</span>
</div>
);
Expand Down Expand Up @@ -44,7 +44,7 @@ export default function TemplateDemo() {
const headerElement = (
<div className="inline-flex align-items-center justify-content-center gap-2">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
<Avatar image="https://primefaces.org/cdn/primereact/images/avatar/amyelsner.png" shape="circle" />
<span className="font-bold white-space-nowrap">Amy Elsner</span>
</div>
);
Expand Down Expand Up @@ -79,7 +79,7 @@ export default function TemplateDemo() {
const headerElement = (
<div className="inline-flex align-items-center justify-content-center gap-2">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
<Avatar image="https://primefaces.org/cdn/primereact/images/avatar/amyelsner.png" shape="circle" />
<span className="font-bold white-space-nowrap">Amy Elsner</span>
</div>
);
Expand Down
12 changes: 6 additions & 6 deletions components/doc/megamenu/templatedoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function TemplateDoc(props) {
],
[
{
items: [{ image: 'https://primefaces.org/cdn/primevue/images/uikit/uikit-system.png', label: 'GET STARTED', subtext: 'Build spectacular apps in no time.', template: itemRenderer }]
items: [{ image: 'https://primefaces.org/cdn/primereact/images/uikit/uikit-system.png', label: 'GET STARTED', subtext: 'Build spectacular apps in no time.', template: itemRenderer }]
}
]
]
Expand Down Expand Up @@ -112,7 +112,7 @@ export function TemplateDoc(props) {
<path d="M12.1762 10.1789L8.4462 9.794L10.8145 7.09967H13.5378L12.1762 10.1789Z" fill="var(--primary-color)" />
</svg>
);
const end = <Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />;
const end = <Avatar image="https://primefaces.org/cdn/primereact/images/avatar/amyelsner.png" shape="circle" />;

const code = {
basic: `
Expand Down Expand Up @@ -193,7 +193,7 @@ export default function TemplateDemo() {
],
[
{
items: [{ image: 'https://primefaces.org/cdn/primevue/images/uikit/uikit-system.png', label: 'GET STARTED', subtext: 'Build spectacular apps in no time.', template: itemRenderer }]
items: [{ image: 'https://primefaces.org/cdn/primereact/images/uikit/uikit-system.png', label: 'GET STARTED', subtext: 'Build spectacular apps in no time.', template: itemRenderer }]
}
]
]
Expand Down Expand Up @@ -237,7 +237,7 @@ export default function TemplateDemo() {
<path d="M12.1762 10.1789L8.4462 9.794L10.8145 7.09967H13.5378L12.1762 10.1789Z" fill="var(--primary-color)" />
</svg>
);
const end = <Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />;
const end = <Avatar image="https://primefaces.org/cdn/primereact/images/avatar/amyelsner.png" shape="circle" />;
return (
<div className="card">
Expand Down Expand Up @@ -322,7 +322,7 @@ export default function TemplateDemo() {
],
[
{
items: [{ image: 'https://primefaces.org/cdn/primevue/images/uikit/uikit-system.png', label: 'GET STARTED', subtext: 'Build spectacular apps in no time.', template: itemRenderer }]
items: [{ image: 'https://primefaces.org/cdn/primereact/images/uikit/uikit-system.png', label: 'GET STARTED', subtext: 'Build spectacular apps in no time.', template: itemRenderer }]
}
]
]
Expand Down Expand Up @@ -361,7 +361,7 @@ export default function TemplateDemo() {
<path d="M12.1762 10.1789L8.4462 9.794L10.8145 7.09967H13.5378L12.1762 10.1789Z" fill="var(--primary-color)" />
</svg>
);
const end = <Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />;
const end = <Avatar image="https://primefaces.org/cdn/primereact/images/avatar/amyelsner.png" shape="circle" />;
return (
<div className="card">
Expand Down
6 changes: 3 additions & 3 deletions components/doc/menubar/templatedoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export function TemplateDoc(props) {
const end = (
<div className="flex align-items-center gap-2">
<InputText placeholder="Search" type="text" className="w-8rem sm:w-auto" />
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
<Avatar image="https://primefaces.org/cdn/primereact/images/avatar/amyelsner.png" shape="circle" />
</div>
);

Expand Down Expand Up @@ -170,7 +170,7 @@ export default function TemplateDemo() {
const end = (
<div className="flex align-items-center gap-2">
<InputText placeholder="Search" type="text" className="w-8rem sm:w-auto" />
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
<Avatar image="https://primefaces.org/cdn/primereact/images/avatar/amyelsner.png" shape="circle" />
</div>
);
Expand Down Expand Up @@ -264,7 +264,7 @@ export default function TemplateDemo() {
const end = (
<div className="flex align-items-center gap-2">
<InputText placeholder="Search" type="text" className="w-8rem sm:w-auto" />
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
<Avatar image="https://primefaces.org/cdn/primereact/images/avatar/amyelsner.png" shape="circle" />
</div>
);
Expand Down
8 changes: 4 additions & 4 deletions components/doc/messages/customicon.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function CustomIcon(props) {
sticky: true,
content: (
<React.Fragment>
<img alt="logo" src="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" width="32" />
<img alt="logo" src="https://primefaces.org/cdn/primereact/images/avatar/amyelsner.png" width="32" />
<div className="ml-2">How may I help you?</div>
</React.Fragment>
)
Expand All @@ -35,7 +35,7 @@ msgs.current.show([
sticky: true,
content: (
<React.Fragment>
<img alt="logo" src="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" width="32" />
<img alt="logo" src="https://primefaces.org/cdn/primereact/images/avatar/amyelsner.png" width="32" />
<div className="ml-2">How may I help you?</div>
</React.Fragment>
)
Expand All @@ -60,7 +60,7 @@ export default function BasicDemo() {
sticky: true,
content: (
<React.Fragment>
<img alt="logo" src="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" width="32" />
<img alt="logo" src="https://primefaces.org/cdn/primereact/images/avatar/amyelsner.png" width="32" />
<div className="ml-2">How may I help you?</div>
</React.Fragment>
)
Expand Down Expand Up @@ -93,7 +93,7 @@ export default function BasicDemo() {
sticky: true,
content: (
<React.Fragment>
<img alt="logo" src="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" width="32" />
<img alt="logo" src="https://primefaces.org/cdn/primereact/images/avatar/amyelsner.png" width="32" />
<div className="ml-2">How may I help you?</div>
</React.Fragment>
)
Expand Down
Loading

0 comments on commit 0a0a3a2

Please sign in to comment.