Skip to content

Commit

Permalink
placekitten.com does not work anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
angelikatyborska committed Apr 16, 2024
1 parent f665232 commit a1cf049
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions lib/bitstyles_phoenix/component/avatar.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ defmodule BitstylesPhoenix.Component.Avatar do
'''
iex> assigns = %{}
...> render ~H"""
...> <.ui_avatar src="https://placekitten.com/100/100" alt="Username’s avatar"/>
...> <.ui_avatar src="https://placehold.co/100x100" alt="Username’s avatar"/>
...> """
''',
'''
"""
<div class="u-flex u-items-center">
<div class="a-avatar">
<img height="32" width="32" alt="Username’s avatar" src="https://placekitten.com/100/100"/>
<img height="32" width="32" alt="Username’s avatar" src="https://placehold.co/100x100"/>
</div>
</div>
"""
Expand All @@ -38,14 +38,14 @@ defmodule BitstylesPhoenix.Component.Avatar do
'''
iex> assigns = %{}
...> render ~H"""
...> <.ui_avatar src="https://placekitten.com/100/100" class="foo bar" alt="Username’s avatar"/>
...> <.ui_avatar src="https://placehold.co/100x100" class="foo bar" alt="Username’s avatar"/>
...> """
''',
'''
"""
<div class="u-flex u-items-center">
<div class="a-avatar foo bar">
<img height="32" width="32" alt="Username’s avatar" src="https://placekitten.com/100/100"/>
<img height="32" width="32" alt="Username’s avatar" src="https://placehold.co/100x100"/>
</div>
</div>
"""
Expand All @@ -57,14 +57,14 @@ defmodule BitstylesPhoenix.Component.Avatar do
'''
iex> assigns = %{}
...> render ~H"""
...> <.ui_avatar size="l" src="https://placekitten.com/100/100" alt="Username’s avatar" height="46" width="46"/>
...> <.ui_avatar size="l" src="https://placehold.co/100x100" alt="Username’s avatar" height="46" width="46"/>
...> """
''',
'''
"""
<div class="u-flex u-items-center">
<div class="a-avatar a-avatar--l">
<img alt="Username’s avatar" height="46" src="https://placekitten.com/100/100" width="46"/>
<img alt="Username’s avatar" height="46" src="https://placehold.co/100x100" width="46"/>
</div>
</div>
"""
Expand All @@ -76,14 +76,14 @@ defmodule BitstylesPhoenix.Component.Avatar do
'''
iex> assigns = %{}
...> render ~H"""
...> <.ui_avatar src="https://placekitten.com/100/100" alt="Username’s avatar"> Username </.ui_avatar>
...> <.ui_avatar src="https://placehold.co/100x100" alt="Username’s avatar"> Username </.ui_avatar>
...> """
''',
'''
"""
<div class="u-flex u-items-center">
<div class="a-avatar">
<img height="32" width="32" alt="Username’s avatar" src="https://placekitten.com/100/100"/>
<img height="32" width="32" alt="Username’s avatar" src="https://placehold.co/100x100"/>
</div>
<span class="u-margin-s-left">
Username
Expand Down
6 changes: 3 additions & 3 deletions lib/bitstyles_phoenix/component/sidebar.ex
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ defmodule BitstylesPhoenix.Component.Sidebar do
...> <.ui_dropdown variant={["top", "full-width"]}>
...> <:button variant="nav-large">
...> <div class="a-button__icon a-avatar">
...> <img src="https://placekitten.com/100/150" width="36" height="54" alt="Jane Dobermann’s avatar" class="a-avatar" />
...> <img src="https://placehold.co/100x150" width="36" height="54" alt="Jane Dobermann’s avatar" class="a-avatar" />
...> </div>
...> <span class="a-button__label">Jane Dobermann</span>
...> </:button>
Expand Down Expand Up @@ -64,7 +64,7 @@ defmodule BitstylesPhoenix.Component.Sidebar do
<div class="u-relative">
<button type="button" class="a-button a-button--nav-large">
<div class="a-button__icon a-avatar">
<img src="https://placekitten.com/100/150" width="36" height="54" alt="Jane Dobermann’s avatar" class="a-avatar"/>
<img src="https://placehold.co/100x150" width="36" height="54" alt="Jane Dobermann’s avatar" class="a-avatar"/>
</div>
<span class="a-button__label">
Jane Dobermann
Expand Down Expand Up @@ -101,7 +101,7 @@ defmodule BitstylesPhoenix.Component.Sidebar do
<div class="u-relative">
<button type="button" class="a-button a-button--nav-large">
<div class="a-button__icon a-avatar">
<img src="https://placekitten.com/100/150" width="36" height="54" alt="Jane Dobermann’s avatar" class="a-avatar"/>
<img src="https://placehold.co/100x150" width="36" height="54" alt="Jane Dobermann’s avatar" class="a-avatar"/>
</div>
<span class="a-button__label">
Jane Dobermann
Expand Down

0 comments on commit a1cf049

Please sign in to comment.