@@ -1255,61 +1255,6 @@ defmodule AlgoraWeb.HomeLive do
1255
1255
1256
1256
defp format_number ( number ) , do: Number.Delimit . number_to_delimited ( number , precision: 0 )
1257
1257
1258
- defp pattern ( assigns ) do
1259
- ~H"""
1260
- < div
1261
- class = "absolute inset-x-0 -top-40 -z-10 transform overflow-hidden blur-3xl sm:-top-80 "
1262
- aria-hidden = "true "
1263
- >
1264
- < div
1265
- class = "left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] rotate-[30deg] relative -translate-x-1/2 bg-gradient-to-tr from-gray-400 to-secondary opacity-20 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem] "
1266
- style = "clip-path: polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%) "
1267
- >
1268
- </ div >
1269
- </ div >
1270
-
1271
- < div class = "[mask-image:radial-gradient(32rem_32rem_at_center,white,transparent)] absolute inset-x-0 -z-10 h-screen w-full stroke-border " >
1272
- < defs >
1273
- < pattern
1274
- id = "grid-pattern "
1275
- width = "200 "
1276
- height = "200 "
1277
- x = "50% "
1278
- y = "-1 "
1279
- patternUnits = "userSpaceOnUse "
1280
- >
1281
- < path d = "M.5 200V.5H200 " fill = "none " />
1282
- </ pattern >
1283
- </ defs >
1284
- < rect width = "100% " height = "100% " stroke-width = "0 " fill = "url(#grid-pattern) " opacity = "0.25 " />
1285
- </ div >
1286
-
1287
- < div class = "absolute inset-x-0 -z-10 transform overflow-hidden blur-3xl " aria-hidden = "true " >
1288
- < div
1289
- class = "left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] relative -translate-x-1/2 bg-gradient-to-tr from-gray-400 to-secondary opacity-20 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem] "
1290
- style = "clip-path: polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%) "
1291
- >
1292
- </ div >
1293
- </ div >
1294
- """
1295
- end
1296
-
1297
- defp social_icons do
1298
- % {
1299
- website: "tabler-world" ,
1300
- github: "github" ,
1301
- twitter: "tabler-brand-x" ,
1302
- youtube: "tabler-brand-youtube" ,
1303
- twitch: "tabler-brand-twitch" ,
1304
- discord: "tabler-brand-discord" ,
1305
- slack: "tabler-brand-slack" ,
1306
- linkedin: "tabler-brand-linkedin"
1307
- }
1308
- end
1309
-
1310
- defp social_link ( user , :github ) , do: if ( login = user . provider_login , do: "https://github.com/#{ login } " )
1311
- defp social_link ( user , platform ) , do: Map . get ( user , :"#{ platform } _url" )
1312
-
1313
1258
defp assign_user_applications ( socket ) do
1314
1259
user_applications =
1315
1260
if socket . assigns [ :current_user ] do
@@ -1552,30 +1497,30 @@ defmodule AlgoraWeb.HomeLive do
1552
1497
"""
1553
1498
end
1554
1499
1555
- defp user_features do
1556
- [
1557
- % {
1558
- title: "Bounties & contracts" ,
1559
- description: "Work on new projects and grow your career" ,
1560
- src: ~p" /images/screenshots/user-dashboard.png"
1561
- } ,
1562
- % {
1563
- title: "Your new resume" ,
1564
- description: "Showcase your open source contributions" ,
1565
- src: ~p" /images/screenshots/profile.png"
1566
- } ,
1567
- % {
1568
- title: "Embed on your site" ,
1569
- description: "Let anyone share a bounty/contract with you" ,
1570
- src: ~p" /images/screenshots/embed-profile.png"
1571
- } ,
1572
- % {
1573
- title: "Payment history" ,
1574
- description: "Monitor your earnings in real-time" ,
1575
- src: ~p" /images/screenshots/user-transactions.png"
1576
- }
1577
- ]
1578
- end
1500
+ # defp user_features do
1501
+ # [
1502
+ # %{
1503
+ # title: "Bounties & contracts",
1504
+ # description: "Work on new projects and grow your career",
1505
+ # src: ~p"/images/screenshots/user-dashboard.png"
1506
+ # },
1507
+ # %{
1508
+ # title: "Your new resume",
1509
+ # description: "Showcase your open source contributions",
1510
+ # src: ~p"/images/screenshots/profile.png"
1511
+ # },
1512
+ # %{
1513
+ # title: "Embed on your site",
1514
+ # description: "Let anyone share a bounty/contract with you",
1515
+ # src: ~p"/images/screenshots/embed-profile.png"
1516
+ # },
1517
+ # %{
1518
+ # title: "Payment history",
1519
+ # description: "Monitor your earnings in real-time",
1520
+ # src: ~p"/images/screenshots/user-transactions.png"
1521
+ # }
1522
+ # ]
1523
+ # end
1579
1524
1580
1525
defp yc_logo_cloud ( assigns ) do
1581
1526
~H"""
0 commit comments