File tree Expand file tree Collapse file tree
src/sections/Projects/Sistent/components/avatar Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ const avatarExamples = [
1414 title : "Image Avatar" ,
1515 description : "Display user profile images." ,
1616 element : < Avatar src = { user } alt = "User Name" /> ,
17- code : ` <Avatar src="/path/to/user-image.jpg" alt="User Name" />` ,
17+ code : " <Avatar src=\ "/path/to/user-image.jpg\ " alt=\ "User Name\ " />" ,
1818 id : "image-avatar" ,
1919 } ,
2020 {
2121 title : "Initials Avatar" ,
2222 description : "Use initials when an image is unavailable." ,
2323 element : < Avatar > JD</ Avatar > ,
24- code : ` <Avatar>JD</Avatar>` ,
24+ code : " <Avatar>JD</Avatar>" ,
2525 id : "initials-avatar" ,
2626 } ,
2727 {
@@ -32,7 +32,7 @@ const avatarExamples = [
3232 < FaUser />
3333 </ Avatar >
3434 ) ,
35- code : ` <Avatar><UserIcon /></Avatar>` ,
35+ code : " <Avatar><UserIcon /></Avatar>" ,
3636 id : "icon-avatar" ,
3737 } ,
3838 {
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ const Guidance = () => {
9292 < li >
9393 Example lazy loading implementation:
9494 < code >
95- { ' <Avatar loading="lazy" src="/path/to/optimized/image.jpg"/>' }
95+ { " <Avatar loading=\ "lazy\ " src=\ "/path/to/optimized/image.jpg\ "/>" }
9696 </ code >
9797 </ li >
9898 </ ul >
You can’t perform that action at this time.
0 commit comments