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!

Fixed issue in Profile Section URL

Aadhar Chandiwalad0bc9db6e564
diff --git a/client/templates/Castform/widgets/Masthead.tsx b/client/templates/Castform/widgets/Masthead.tsx
index f7a9954e1..7dc8a4a3b 100644
--- a/client/templates/Castform/widgets/Masthead.tsx
+++ b/client/templates/Castform/widgets/Masthead.tsx
@@ -56,7 +56,7 @@ export const MastheadSidebar: React.FC = () => {
</DataDisplay>
{profiles.map(({ id, username, network, url }) => (
- <DataDisplay key={id} icon={getProfileIcon(network)} link={url} className="!gap-2 text-xs">
+ <DataDisplay key={id} icon={getProfileIcon(network)} link={url && addHttp(url)} className="!gap-2 text-xs">
{username}
</DataDisplay>
))}
diff --git a/client/templates/Gengar/widgets/Masthead.tsx b/client/templates/Gengar/widgets/Masthead.tsx
index 885ad11e6..6a08c3e9b 100644
--- a/client/templates/Gengar/widgets/Masthead.tsx
+++ b/client/templates/Gengar/widgets/Masthead.tsx
@@ -57,7 +57,7 @@ export const MastheadSidebar: React.FC = () => {
</DataDisplay>
{profiles.map(({ id, username, network, url }) => (
- <DataDisplay key={id} icon={getProfileIcon(network)} link={url} className="!gap-2 text-xs">
+ <DataDisplay key={id} icon={getProfileIcon(network)} link={url && addHttp(url)} className="!gap-2 text-xs">
{username}
</DataDisplay>
))}
diff --git a/client/templates/Glalie/widgets/Masthead.tsx b/client/templates/Glalie/widgets/Masthead.tsx
index 4d87ece6c..0b3b5cac7 100644
--- a/client/templates/Glalie/widgets/Masthead.tsx
+++ b/client/templates/Glalie/widgets/Masthead.tsx
@@ -49,7 +49,7 @@ export const MastheadSidebar: React.FC = () => {
</DataDisplay>
{profiles.map(({ id, username, network, url }) => (
- <DataDisplay key={id} icon={getProfileIcon(network)} link={url} className="text-xs">
+ <DataDisplay key={id} icon={getProfileIcon(network)} link={url && addHttp(url)} className="text-xs">
{username}
</DataDisplay>
))}
diff --git a/client/templates/Kakuna/widgets/Masthead.tsx b/client/templates/Kakuna/widgets/Masthead.tsx
index 19f111fd7..5c25a2913 100644
--- a/client/templates/Kakuna/widgets/Masthead.tsx
+++ b/client/templates/Kakuna/widgets/Masthead.tsx
@@ -47,7 +47,7 @@ const Masthead = () => {
<DataDisplay icon={<Room />}>{formatLocation(location)}</DataDisplay>
{profiles.map(({ id, username, network, url }) => (
- <DataDisplay key={id} icon={getProfileIcon(network)} link={url}>
+ <DataDisplay key={id} icon={getProfileIcon(network)} link={url && addHttp(url)}>
{username}
</DataDisplay>
))}
diff --git a/client/templates/Onyx/widgets/Masthead.tsx b/client/templates/Onyx/widgets/Masthead.tsx
index 4f66f29de..126995aa3 100644
--- a/client/templates/Onyx/widgets/Masthead.tsx
+++ b/client/templates/Onyx/widgets/Masthead.tsx
@@ -50,7 +50,7 @@ const Masthead: React.FC = () => {
</DataDisplay>
{profiles.map(({ id, username, network, url }) => (
- <DataDisplay key={id} icon={getProfileIcon(network)} link={url} className="text-xs">
+ <DataDisplay key={id} icon={getProfileIcon(network)} link={url && addHttp(url)} className="text-xs">
{username}
</DataDisplay>
))}
diff --git a/client/templates/Pikachu/widgets/Masthead.tsx b/client/templates/Pikachu/widgets/Masthead.tsx
index e4046d41b..d63ed2e9f 100644
--- a/client/templates/Pikachu/widgets/Masthead.tsx
+++ b/client/templates/Pikachu/widgets/Masthead.tsx
@@ -40,7 +40,7 @@ export const MastheadSidebar: React.FC = () => {
</DataDisplay>
{profiles.map(({ id, username, network, url }) => (
- <DataDisplay key={id} icon={getProfileIcon(network)} link={url} className="text-xs">
+ <DataDisplay key={id} icon={getProfileIcon(network)} link={url && addHttp(url)} className="text-xs">
{username}
</DataDisplay>
))}