Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions components/UsersCardList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@
<div class="pt-20">

<hr class="text-gray-dark">
<div class=" flex flex-col items-start gap-2 md:flex-row justify-between md:items-end pt-5">
<div class=" flex flex-col items-start gap-2 sm:flex-row justify-between sm:items-center md:items-end pt-5">
<div>
<h1 class="font-bold text-xl md:text-3xl lg:text-4xl py-3">Top Contributeurs au Togo</h1>
<p>Base on contributions on public repositories</p>
<h1 class="font-bold text-xl sm:text-3xl lg:text-4xl py-3">Most active developpers</h1>
<p>Base on contributions on public repositories</p>
</div>
<div>
<input type="text" class="h-10 w-300 bg-white text-gray-dark px-2 rounded-sm border self-end" placeholder="Search...">
<input type="text" class="h-10 w-300 bg-white text-gray-dark px-2 rounded-sm border self-end"
placeholder="Search...">
</div>
</div>
<div class="flex flex-wrap justify-between gap-y-10 my-10">
<UsersCard></UsersCard>
<UsersCard></UsersCard>
<div class="flex flex-wrap justify-evenly gap-y-10 my-10">
<UsersCard></UsersCard>
<UsersCard></UsersCard>
<UsersCard></UsersCard>
Expand All @@ -28,6 +27,8 @@
<UsersCard></UsersCard>
<UsersCard></UsersCard>
<UsersCard></UsersCard>


</div>
</div>
</template>
40 changes: 28 additions & 12 deletions components/users/Card.vue
Original file line number Diff line number Diff line change
@@ -1,19 +1,35 @@
<template>
<div class="bg-secondary text-white w-[320px] h-[150px] rounded-lg p-2">
<div class="flex justify-between">
<div class="flex gap-2">
<img class="w-22 h-22" src="~/assets/medias/charles.png" alt="profile" />
<div class="flex flex-col gap-0.5">
<h3>Charles DZADU</h3>
<nuxt-link class="text-gray-dark font-thin text-xs" to="">
@charlesdzadu
</nuxt-link>
<div class="bg-secondary text-white w-[320px]rounded-lg p-2">
<div class="flex gap-2">
<img class="w-1/4 h-full" src="~/assets/medias/charles.png" alt="profile" />
<div class="w-3/4 flex flex-col gap-2">

<div class="flex flex-col gap-1">
<div class="flex justify-between items-center ">
<h1 class="text-base font-bold">Charles DZADU</h1>
<div>
<h1 class="text-lg text-primary">12</h1>
</div>
</div>

<div class="flex gap-2 flex-wrap items-center">
<a class="text-gray-dark font-thin text-xs" href="">@charlesdzadu</a>
<span class="w-1 h-1 bg-white rounded-[50%]"></span>
<p class="text-gray-dark font-thin text-xs ">234 Followers</p>
</div>
<p class="text-gray-dark text-[10px] sm:text-xs">
Build great world with code and coffee
</p>

</div>

<div class="flex gap-1 items-center self-end">
<img class="w-3 h-3" src="~/assets/medias/mapicon.png" alt="" />
<p class="text-xs font-semibold">Lomé - Togo</p>
</div>
</div>

<div>
<h1 class="text-3xl font-bold text-primary">1</h1>
</div>
</div>

</div>
</template>