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

Update 02-avatar.md: fix missing image #9518

Closed
wants to merge 1 commit into from
Closed
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
8 changes: 4 additions & 4 deletions packages/support/docs/09-blade-components/02-avatar.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The avatar component is used to render a circular or square image, often used to

```blade
<x-filament::avatar
src="https://filamentphp.com/dan.jpg"
src="https://avatars.githubusercontent.com/u/41773797"
alt="Dan Harrin"
/>
```
Expand All @@ -19,7 +19,7 @@ Avatars are fully rounded by default, but you may make them square by setting th

```blade
<x-filament::avatar
src="https://filamentphp.com/dan.jpg"
src="https://avatars.githubusercontent.com/u/41773797"
alt="Dan Harrin"
:circular="false"
/>
Expand All @@ -31,7 +31,7 @@ By default, the avatar will be "medium" size. You can make it "large" using the

```blade
<x-filament::avatar
src="https://filamentphp.com/dan.jpg"
src="https://avatars.githubusercontent.com/u/41773797"
alt="Dan Harrin"
size="lg"
/>
Expand All @@ -41,7 +41,7 @@ You can also pass your own custom size classes into the `size` attribute:

```blade
<x-filament::avatar
src="https://filamentphp.com/dan.jpg"
src="https://avatars.githubusercontent.com/u/41773797"
alt="Dan Harrin"
size="w-12 h-12"
/>
Loading