Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: incorrect domain for images #3843

Merged
merged 1 commit into from
Oct 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/docs/config/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const siteConfig = {
links: {
github: "https://github.com/nextui-org/nextui",
twitter: "https://twitter.com/getnextui",
docs: "https://nextui-docs-v2.vercel.app",
docs: "https://nextui.org",
discord: "https://discord.gg/9b6yyZKmH4",
sponsor: "https://patreon.com/jrgarciadev",
portfolio: "https://jrgarciadev.com",
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/image/blurred.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default function App() {
<Image
isBlurred
width={240}
src="https://nextui-docs-v2.vercel.app/images/album-cover.png"
src="https://nextui.org/images/album-cover.png"
alt="NextUI Album Cover"
className="m-5"
/>
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/image/fallback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default function App() {
<Image
width={300}
height={200}
src="https://app.requestly.io/delay/1000/https://nextui-docs-v2.vercel.app/images/fruit-4.jpeg"
src="https://app.requestly.io/delay/1000/https://nextui.org/images/fruit-4.jpeg"
fallbackSrc="https://via.placeholder.com/300x200"
alt="NextUI Image with fallback"
/>
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/image/loading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function App() {
width={300}
height={200}
alt="NextUI hero Image with delay"
src="https://app.requestly.io/delay/5000/https://nextui-docs-v2.vercel.app/images/hero-card-complete.jpeg"
src="https://app.requestly.io/delay/5000/https://nextui.org/images/hero-card-complete.jpeg"
/>
);
}`;
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/image/nextjs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function App() {
as={NextImage}
width={300}
height={200}
src="https://nextui-docs-v2.vercel.app/images/hero-card-complete.jpeg"
src="https://nextui.org/images/hero-card-complete.jpeg"
alt="NextUI hero Image"
/>
);
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/image/usage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default function App() {
<Image
width={300}
alt="NextUI hero Image"
src="https://nextui-docs-v2.vercel.app/images/hero-card-complete.jpeg"
src="https://nextui.org/images/hero-card-complete.jpeg"
/>
);
}`;
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/components/image/zoomed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function App() {
isZoomed
width={240}
alt="NextUI Fruit Image with Zoom"
src="https://nextui-docs-v2.vercel.app/images/fruit-1.jpeg"
src="https://nextui.org/images/fruit-1.jpeg"
/>
);
}`;
Expand Down
2 changes: 1 addition & 1 deletion packages/components/dropdown/__tests__/dropdown.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ describe("Dropdown", () => {
<DropdownTrigger>
<Image
alt="NextUI hero Image"
src="https://nextui-docs-v2.vercel.app/images/hero-card-complete.jpeg"
src="https://nextui.org/images/hero-card-complete.jpeg"
width={300}
/>
</DropdownTrigger>
Expand Down