File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed
src/sections/Projects/Sistent/components/avatar Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -62,15 +62,6 @@ const Guidance = () => {
62
62
< li >
63
63
< strong > Fallback Mechanisms:</ strong > Implement robust fallback
64
64
strategies:
65
- < code >
66
- {
67
- "<Avatar src={userImage} alt={userName} fallback={<Avatar>{userInitials}</Avatar>}/>"
68
- }
69
- </ code >
70
- </ li >
71
- < li >
72
- Maintain consistent avatar sizing and style across the
73
- application.
74
65
</ li >
75
66
< li > Optimize image resolution for performance and clarity.</ li >
76
67
</ ul >
@@ -89,26 +80,12 @@ const Guidance = () => {
89
80
< li > Use image compression techniques.</ li >
90
81
< li > Implement lazy loading for avatar images.</ li >
91
82
< li > Cache avatar images to reduce network requests.</ li >
92
- < li >
93
- Example lazy loading implementation:
94
- < code >
95
- { "<Avatar loading=\"lazy\" src=\"/path/to/optimized/image.jpg\"/>" }
96
- </ code >
97
- </ li >
98
83
</ ul >
99
84
100
85
< h3 > Advanced Customization</ h3 >
101
86
< ul >
102
87
< li > Theme-aware color generation for initial avatars.</ li >
103
88
< li > Status indicators (online/offline/away).</ li >
104
- < li >
105
- Example status badge:
106
- < code >
107
- {
108
- "<Avatar src={userImage} status=\"online\" statusProps={{ color: 'green', position: 'bottom-right' }}/>"
109
- }
110
- </ code >
111
- </ li >
112
89
</ ul >
113
90
114
91
< h3 > Common Integration Patterns</ h3 >
You can’t perform that action at this time.
0 commit comments