Skip to content

Commit

Permalink
Sort avatars by followers
Browse files Browse the repository at this point in the history
  • Loading branch information
adriaandotcom committed Oct 17, 2024
1 parent cb27836 commit b15dafb
Showing 1 changed file with 13 additions and 29 deletions.
42 changes: 13 additions & 29 deletions components/Pricing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1281,42 +1281,26 @@ const formatDays = (days) => {
const avatars = [
{ image: "levelsio.jpg", handle: "levelsio", followers: 560000 },
{
image: "marckohlbrugge.jpg",
handle: "marckohlbrugge",
followers: 62400,
},
{ image: "damengchen.jpg", handle: "damengchen", followers: 74400 },
{
image: "daniel_nguyenx.jpg",
handle: "daniel_nguyenx",
followers: 47000,
},
{ image: "marckohlbrugge.jpg", handle: "marckohlbrugge", followers: 62400 },
{ image: "vjeux.jpg", handle: "vjeux", followers: 56100 },
{ image: "daniel_nguyenx.jpg", handle: "daniel_nguyenx", followers: 47000 },
{ image: "rosiesherry.jpg", handle: "rosiesherry", followers: 25300 },
{ image: "imgyf.jpg", handle: "imgyf", followers: 9644 },
{ image: "jamesivings.jpg", handle: "jamesivings", followers: 21600 },
{ image: "hainingmax.png", handle: "hainingmax", followers: 12100 },
{ image: "alexstyl.jpg", handle: "alexstyl", followers: 11500 },
{ image: "amritnagi.jpg", handle: "amritnagi", followers: 375 },
{ image: "ashleyrudland.jpg", handle: "ashleyrudland", followers: 5004 },
{ image: "erwin_ai.jpg", handle: "erwin_ai", followers: 9893 },
{
image: "fabiensnauwaert.jpg",
handle: "fabiensnauwaert",
followers: 2065,
},
{ image: "forgebitz.jpg", handle: "forgebitz", followers: 10100 },
{ image: "hainingmax.png", handle: "hainingmax", followers: 12100 },
{ image: "jakeduth.png", handle: "jakeduth", followers: 2091 },
{ image: "jamesivings.jpg", handle: "jamesivings", followers: 21600 },
{
image: "jamespotterdev.jpg",
handle: "jamespotterdev",
followers: 5223,
},
{ image: "jelmerdeboer.jpg", handle: "jelmerdeboer", followers: 7634 },
{ image: "erwin_ai.jpg", handle: "erwin_ai", followers: 9893 },
{ image: "imgyf.jpg", handle: "imgyf", followers: 9644 },
{ image: "petecodes.jpg", handle: "petecodes", followers: 9371 },
{ image: "razvanilin.jpg", handle: "razvanilin", followers: 3387 },
{ image: "jelmerdeboer.jpg", handle: "jelmerdeboer", followers: 7634 },
{ image: "rikschennink.jpg", handle: "rikschennink", followers: 7396 },
{ image: "roscokalis.jpg", handle: "roscokalis", followers: 5570 },
{ image: "jamespotterdev.jpg", handle: "jamespotterdev", followers: 5223 },
{ image: "ashleyrudland.jpg", handle: "ashleyrudland", followers: 5004 },
{ image: "razvanilin.jpg", handle: "razvanilin", followers: 3387 },
{ image: "jakeduth.png", handle: "jakeduth", followers: 2091 },
{ image: "fabiensnauwaert.jpg", handle: "fabiensnauwaert", followers: 2065 },
{ image: "amritnagi.jpg", handle: "amritnagi", followers: 375 },
].sort((a, b) => b.followers - a.followers);
</script>

0 comments on commit b15dafb

Please sign in to comment.