Skip to content

Commit 04f6aed

Browse files
willhayesethauto-subframe[bot]
authored andcommitted
feat: route profile links via subframe.network
1 parent f85f052 commit 04f6aed

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

frontend/src/pages/home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function SubdomainCard({ subdomain, i }: { subdomain: Subdomain; i: number }) {
111111
const hasToken = subdomain.tokenStatus === "deployed" && subdomain.tokenSymbol;
112112
return (
113113
<ScrollCard index={i}>
114-
<a href={`https://subframe.eth.limo/${subdomain.name}`} target="_blank" rel="noopener noreferrer">
114+
<a href={`https://subframe.network/${subdomain.name}`} target="_blank" rel="noopener noreferrer">
115115
<div className="group p-5 rounded-2xl card-dark card-dark-hover cursor-pointer transition-all duration-300">
116116
<div className="flex items-start gap-3 mb-4">
117117
<div className="relative shrink-0">

frontend/src/pages/profile.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,11 +1043,11 @@ export default function Profile() {
10431043
useEffect(() => {
10441044
if (subLoading || !subdomain || isOwnProfile) return;
10451045
if (isConnected) {
1046-
window.location.href = `https://subframe.eth.limo/${subdomain.name}`;
1046+
window.location.href = `https://subframe.network/${subdomain.name}`;
10471047
return;
10481048
}
10491049
const t = setTimeout(() => {
1050-
if (!isOwnProfile) window.location.href = `https://subframe.eth.limo/${subdomain.name}`;
1050+
if (!isOwnProfile) window.location.href = `https://subframe.network/${subdomain.name}`;
10511051
}, 1800);
10521052
return () => clearTimeout(t);
10531053
}, [subLoading, subdomain, isOwnProfile, isConnected]);

0 commit comments

Comments
 (0)