@@ -191,12 +191,6 @@ defmodule AlgoraWeb.User.DashboardLive do
191191 <!-- Achievements Section -->
192192 < div class = "mt-8 flex items-center justify-between " >
193193 < h2 class = "text-xl font-semibold leading-none tracking-tight " > Achievements</ h2 >
194- < . link
195- class = "whitespace-pre text-sm text-muted-foreground hover:underline hover:brightness-125 "
196- href = "# "
197- >
198- View all
199- </ . link >
200194 </ div >
201195 < nav class = "pt-4 " >
202196 < ol role = "list " class = "space-y-6 " >
@@ -216,7 +210,7 @@ defmodule AlgoraWeb.User.DashboardLive do
216210 { & personalize_status / 1 , "Personalize Algora" , nil } ,
217211 { & setup_stripe_status / 1 , "Create Stripe account" , ~p" /user/transactions" } ,
218212 { & earn_first_bounty_status / 1 , "Earn first bounty" , ~p" /bounties" } ,
219- { & earn_through_referral_status / 1 , "Earn through referral " , nil } ,
213+ { & share_with_friend_status / 1 , "Share Algora with a friend " , nil } ,
220214 { & earn_10k_status / 1 , "Earn $10K" , ~p" /bounties" }
221215 ]
222216
@@ -256,8 +250,7 @@ defmodule AlgoraWeb.User.DashboardLive do
256250 end
257251 end
258252
259- # TODO: implement referral earnings check
260- defp earn_through_referral_status ( _socket ) , do: :upcoming
253+ defp share_with_friend_status ( _socket ) , do: :upcoming
261254
262255 defp earn_10k_status ( socket ) do
263256 if earned? ( socket . assigns . current_user , Money . new! ( 10_000 , :USD ) ) do
0 commit comments