mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 08:13:49 +10:00
feat(Profiles): hide network name when icon is present
This commit is contained in:
@ -241,7 +241,7 @@ const Profiles = () => {
|
|||||||
) : (
|
) : (
|
||||||
<p>{item.username}</p>
|
<p>{item.username}</p>
|
||||||
)}
|
)}
|
||||||
<p className="text-sm">{item.network}</p>
|
{!item.icon && <p className="text-sm">{item.network}</p>}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</Section>
|
</Section>
|
||||||
|
|||||||
@ -218,7 +218,7 @@ const Profiles = () => {
|
|||||||
) : (
|
) : (
|
||||||
<p>{item.username}</p>
|
<p>{item.username}</p>
|
||||||
)}
|
)}
|
||||||
<p className="text-sm">{item.network}</p>
|
{!item.icon && <p className="text-sm">{item.network}</p>}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</Section>
|
</Section>
|
||||||
|
|||||||
@ -264,7 +264,7 @@ const Profiles = () => {
|
|||||||
) : (
|
) : (
|
||||||
<p>{item.username}</p>
|
<p>{item.username}</p>
|
||||||
)}
|
)}
|
||||||
<p className="text-sm">{item.network}</p>
|
{!item.icon && <p className="text-sm">{item.network}</p>}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</Section>
|
</Section>
|
||||||
|
|||||||
@ -245,7 +245,7 @@ const Profiles = () => {
|
|||||||
) : (
|
) : (
|
||||||
<p>{item.username}</p>
|
<p>{item.username}</p>
|
||||||
)}
|
)}
|
||||||
<p className="text-sm">{item.network}</p>
|
{!item.icon && <p className="text-sm">{item.network}</p>}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</Section>
|
</Section>
|
||||||
|
|||||||
@ -214,7 +214,7 @@ const Profiles = () => {
|
|||||||
) : (
|
) : (
|
||||||
<p>{item.username}</p>
|
<p>{item.username}</p>
|
||||||
)}
|
)}
|
||||||
<p className="text-sm">{item.network}</p>
|
{!item.icon && <p className="text-sm">{item.network}</p>}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</Section>
|
</Section>
|
||||||
|
|||||||
@ -269,7 +269,7 @@ const Profiles = () => {
|
|||||||
) : (
|
) : (
|
||||||
<p>{item.username}</p>
|
<p>{item.username}</p>
|
||||||
)}
|
)}
|
||||||
<p className="text-sm">{item.network}</p>
|
{!item.icon && <p className="text-sm">{item.network}</p>}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</Section>
|
</Section>
|
||||||
|
|||||||
@ -263,7 +263,7 @@ const Profiles = () => {
|
|||||||
) : (
|
) : (
|
||||||
<p>{item.username}</p>
|
<p>{item.username}</p>
|
||||||
)}
|
)}
|
||||||
<p className="text-sm">{item.network}</p>
|
{!item.icon && <p className="text-sm">{item.network}</p>}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</Section>
|
</Section>
|
||||||
|
|||||||
@ -245,7 +245,7 @@ const Profiles = () => {
|
|||||||
) : (
|
) : (
|
||||||
<p>{item.username}</p>
|
<p>{item.username}</p>
|
||||||
)}
|
)}
|
||||||
<p className="text-sm">{item.network}</p>
|
{!item.icon && <p className="text-sm">{item.network}</p>}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</Section>
|
</Section>
|
||||||
|
|||||||
@ -217,7 +217,7 @@ const Profiles = () => {
|
|||||||
) : (
|
) : (
|
||||||
<p>{item.username}</p>
|
<p>{item.username}</p>
|
||||||
)}
|
)}
|
||||||
<p className="text-sm">{item.network}</p>
|
{!item.icon && <p className="text-sm">{item.network}</p>}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</Section>
|
</Section>
|
||||||
|
|||||||
Reference in New Issue
Block a user