Commit bc6cbca
authored
feat: support both icon and image rendering for competitive sites (#410)
Updated the CompetitiveSites component to support both icon-based and image-based rendering within the profile link.
- Added conditional logic to render either an icon (via iconifyClassname) or an image (via imageSrc).
- Ensured styling is applied consistently via logo.style.
- Maintained existing anchor tag structure with target and rel attributes for safe external linking.
This improves flexibility by allowing platforms without iconify support to use custom images.1 parent f5bd358 commit bc6cbca
1 file changed
+16
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
34 | 44 | | |
35 | 45 | | |
36 | 46 | | |
| |||
0 commit comments