Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

feat(Profiles): hide network name when icon is present

Dhaval Savalia2dce78200b72
diff --git a/apps/artboard/src/templates/azurill.tsx b/apps/artboard/src/templates/azurill.tsx
index 71ab30c8f..0cebca9a8 100644
--- a/apps/artboard/src/templates/azurill.tsx
+++ b/apps/artboard/src/templates/azurill.tsx
@@ -241,7 +241,7 @@ const Profiles = () => {
) : (
<p>{item.username}</p>
)}
- <p className="text-sm">{item.network}</p>
+ {!item.icon && <p className="text-sm">{item.network}</p>}
</div>
)}
</Section>
diff --git a/apps/artboard/src/templates/bronzor.tsx b/apps/artboard/src/templates/bronzor.tsx
index 34b4a4532..2881b7817 100644
--- a/apps/artboard/src/templates/bronzor.tsx
+++ b/apps/artboard/src/templates/bronzor.tsx
@@ -218,7 +218,7 @@ const Profiles = () => {
) : (
<p>{item.username}</p>
)}
- <p className="text-sm">{item.network}</p>
+ {!item.icon && <p className="text-sm">{item.network}</p>}
</div>
)}
</Section>
diff --git a/apps/artboard/src/templates/chikorita.tsx b/apps/artboard/src/templates/chikorita.tsx
index 06b5e7603..8fd8f44e8 100644
--- a/apps/artboard/src/templates/chikorita.tsx
+++ b/apps/artboard/src/templates/chikorita.tsx
@@ -264,7 +264,7 @@ const Profiles = () => {
) : (
<p>{item.username}</p>
)}
- <p className="text-sm">{item.network}</p>
+ {!item.icon && <p className="text-sm">{item.network}</p>}
</div>
)}
</Section>
diff --git a/apps/artboard/src/templates/ditto.tsx b/apps/artboard/src/templates/ditto.tsx
index 3d8dc9bd2..8d3b05c94 100644
--- a/apps/artboard/src/templates/ditto.tsx
+++ b/apps/artboard/src/templates/ditto.tsx
@@ -245,7 +245,7 @@ const Profiles = () => {
) : (
<p>{item.username}</p>
)}
- <p className="text-sm">{item.network}</p>
+ {!item.icon && <p className="text-sm">{item.network}</p>}
</div>
)}
</Section>
diff --git a/apps/artboard/src/templates/gengar.tsx b/apps/artboard/src/templates/gengar.tsx
index a40c78106..617ff68fc 100644
--- a/apps/artboard/src/templates/gengar.tsx
+++ b/apps/artboard/src/templates/gengar.tsx
@@ -214,7 +214,7 @@ const Profiles = () => {
) : (
<p>{item.username}</p>
)}
- <p className="text-sm">{item.network}</p>
+ {!item.icon && <p className="text-sm">{item.network}</p>}
</div>
)}
</Section>
diff --git a/apps/artboard/src/templates/glalie.tsx b/apps/artboard/src/templates/glalie.tsx
index e135020d9..145630eb1 100644
--- a/apps/artboard/src/templates/glalie.tsx
+++ b/apps/artboard/src/templates/glalie.tsx
@@ -269,7 +269,7 @@ const Profiles = () => {
) : (
<p>{item.username}</p>
)}
- <p className="text-sm">{item.network}</p>
+ {!item.icon && <p className="text-sm">{item.network}</p>}
</div>
)}
</Section>
diff --git a/apps/artboard/src/templates/nosepass.tsx b/apps/artboard/src/templates/nosepass.tsx
index cb7f99a9c..56ba97e6e 100644
--- a/apps/artboard/src/templates/nosepass.tsx
+++ b/apps/artboard/src/templates/nosepass.tsx
@@ -263,7 +263,7 @@ const Profiles = () => {
) : (
<p>{item.username}</p>
)}
- <p className="text-sm">{item.network}</p>
+ {!item.icon && <p className="text-sm">{item.network}</p>}
</div>
)}
</Section>
diff --git a/apps/artboard/src/templates/pikachu.tsx b/apps/artboard/src/templates/pikachu.tsx
index dcc0b919c..58f845c6f 100644
--- a/apps/artboard/src/templates/pikachu.tsx
+++ b/apps/artboard/src/templates/pikachu.tsx
@@ -245,7 +245,7 @@ const Profiles = () => {
) : (
<p>{item.username}</p>
)}
- <p className="text-sm">{item.network}</p>
+ {!item.icon && <p className="text-sm">{item.network}</p>}
</div>
)}
</Section>
diff --git a/apps/artboard/src/templates/rhyhorn.tsx b/apps/artboard/src/templates/rhyhorn.tsx
index beaeba279..f0bbc6726 100644
--- a/apps/artboard/src/templates/rhyhorn.tsx
+++ b/apps/artboard/src/templates/rhyhorn.tsx
@@ -217,7 +217,7 @@ const Profiles = () => {
) : (
<p>{item.username}</p>
)}
- <p className="text-sm">{item.network}</p>
+ {!item.icon && <p className="text-sm">{item.network}</p>}
</div>
)}
</Section>