Skip to content

Commit

Permalink
refactor: ♻️ update avatars in UI examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor1890 committed Mar 26, 2024
1 parent 1049aa7 commit e6c76a5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
Binary file added public/assets/img/user.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 5 additions & 6 deletions src/components/app/ui-elements/examples/example-02.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ function Example02() {
Meet your agenda and see their ranks to get the best results
</span>
<AvatarGroup isBordered>
<Avatar src="https://i.pravatar.cc/150?u=a042581f4e29026024d" />
<Avatar src="https://i.pravatar.cc/150?u=a04258a2462d826712d" />
<Avatar src="https://i.pravatar.cc/150?u=a042581f4e29026704d" />
<Avatar src="https://i.pravatar.cc/150?u=a04258114e29026302d" />
<Avatar src="https://i.pravatar.cc/150?u=a04258114e29026702d" />
<Avatar src="https://i.pravatar.cc/150?u=a04258114e29026708c" />
{
Array.from({ length: 6 }).map((_, index) => (
<Avatar key={`avatar-${index}`} src="assets/img/user.jpeg" />
))
}
</AvatarGroup>
</div>
</CardBody>
Expand Down
12 changes: 6 additions & 6 deletions src/components/app/ui-elements/examples/example-03.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,31 @@ import { applyStyle } from "@/utils/color.util";
const items = [
{
name: "Jose Perez",
picture: "https://i.pravatar.cc/150?u=a042581f4e29026024d",
picture: "assets/img/user.jpeg",
amount: "4500 USD",
date: "9/20/2021",
},
{
name: "Jose Perez",
picture: "https://i.pravatar.cc/150?u=a042581f4e29026024d",
picture: "assets/img/user.jpeg",
amount: "4500 USD",
date: "9/20/2021",
},
{
name: "Jose Perez",
picture: "https://i.pravatar.cc/150?u=a042581f4e29026024d",
picture: "assets/img/user.jpeg",
amount: "4500 USD",
date: "9/20/2021",
},
{
name: "Jose Perez",
picture: "https://i.pravatar.cc/150?u=a042581f4e29026024d",
picture: "assets/img/user.jpeg",
amount: "4500 USD",
date: "9/20/2021",
},
{
name: "Jose Perez",
picture: "https://i.pravatar.cc/150?u=a042581f4e29026024d",
picture: "assets/img/user.jpeg",
amount: "4500 USD",
date: "9/20/2021",
},
Expand All @@ -56,7 +56,7 @@ function Example03() {
style={applyStyle("color")}
isBordered
color="default"
src="https://i.pravatar.cc/150?u=a042581f4e29026024d"
src={item.picture}
/>
</div>

Expand Down

0 comments on commit e6c76a5

Please sign in to comment.