Skip to content

Commit 4775643

Browse files
authored
Project mobile header and alignments (#105)
Signed-off-by: Gašper Grom <gasper.grom@gmail.com>
1 parent d603be0 commit 4775643

29 files changed

+83
-83
lines changed

frontend/app/components/modules/project/components/contributors/active-contributors.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<lfx-card class="p-6">
2+
<lfx-card class="p-4 sm:p-6">
33
<h3 class="text-heading-3 font-semibold font-secondary pb-3">Active contributors</h3>
44
<p class="text-body-2 text-neutral-500 mb-6">
55
Active contributor is an individual who performed activities such as commits, issues, or

frontend/app/components/modules/project/components/contributors/active-organizations.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<lfx-card class="p-6">
2+
<lfx-card class="p-4 sm:p-6">
33
<h3 class="text-heading-3 font-semibold font-secondary pb-3">Active organizations</h3>
44
<p class="text-body-2 text-neutral-500 mb-6">
55
Organizations that had at least one activity during the selected period, carried out by contributors on their

frontend/app/components/modules/project/components/contributors/contributor-dependency.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<lfx-card class="p-6">
2+
<lfx-card class="p-4 sm:p-6">
33
<h3 class="text-heading-3 font-semibold font-secondary pb-3">Contributor dependency</h3>
44
<p class="text-body-2 text-neutral-500 mb-5">
55
Distribution of contributions among different contributors, highlighting key individuals who are actively

frontend/app/components/modules/project/components/contributors/contributors-leaderboard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<lfx-card class="p-6">
2+
<lfx-card class="p-4 sm:p-6">
33
<h3 class="text-heading-3 font-semibold font-secondary pb-3">Contributors leaderboard</h3>
44
<p class="text-body-2 text-neutral-500 mb-6">
55
Contributor ranking based on the number of activities performed and the impact on the project.

frontend/app/components/modules/project/components/contributors/geographical-distribution.vue

Lines changed: 28 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,32 @@
11
<template>
2-
<lfx-card class="py-6">
3-
<div class="px-6">
4-
<h3 class="text-heading-3 font-semibold font-secondary pb-3">Geographical distribution</h3>
5-
<p class="text-body-2 text-neutral-500 mb-6">
6-
Distribution of contributors and organizations based on geographical location at the time of their contributions
7-
during the selected period.
8-
<a
9-
:href="links.learnMore"
10-
class="text-brand-500"
11-
target="_blank"
12-
>Learn more</a>
13-
</p>
14-
<hr>
15-
</div>
2+
<lfx-card class="p-4 sm:p-6">
3+
<h3 class="text-heading-3 font-semibold font-secondary pb-3">Geographical distribution</h3>
4+
<p class="text-body-2 text-neutral-500 mb-6">
5+
Distribution of contributors and organizations based on geographical location at the time of their contributions
6+
during the selected period.
7+
<a
8+
:href="links.learnMore"
9+
class="text-brand-500"
10+
target="_blank"
11+
>Learn more</a>
12+
</p>
13+
<hr>
1614
<section class="mt-5">
17-
<div class="px-6">
18-
<div class="flex flex-row gap-4 items-center mb-10">
19-
<div class="basis-1/2">
20-
<lfx-tabs
21-
:tabs="tabs"
22-
:model-value="activeTab"
23-
width-type="inline"
24-
@update:model-value="activeTab = $event"
25-
/>
26-
</div>
27-
<div class="basis-1/2 flex justify-end">
28-
<lfx-dropdown
29-
v-model="metric"
30-
icon="fa-light fa-display-code"
31-
:options="metricOptions"
32-
/>
33-
</div>
15+
<div class="flex flex-row gap-4 items-center mb-10">
16+
<div class="basis-1/2">
17+
<lfx-tabs
18+
:tabs="tabs"
19+
:model-value="activeTab"
20+
width-type="inline"
21+
@update:model-value="activeTab = $event"
22+
/>
23+
</div>
24+
<div class="basis-1/2 flex justify-end">
25+
<lfx-dropdown
26+
v-model="metric"
27+
icon="fa-light fa-display-code"
28+
:options="metricOptions"
29+
/>
3430
</div>
3531
</div>
3632
<lfx-project-load-state
@@ -44,7 +40,7 @@
4440
<div class="w-full h-[330px] border-solid border-neutral-100 border-x-0 border-y">
4541
<lfx-chart :config="getGeoMapChartConfig(chartData, chartSeries, getMaxValue(chartData))" />
4642
</div>
47-
<div class="px-6 mt-5">
43+
<div class="mt-5">
4844
<div
4945
v-if="status !== 'pending'"
5046
class="flex flex-col gap-5"

frontend/app/components/modules/project/components/contributors/industry-distribution.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<lfx-card class="p-6">
2+
<lfx-card class="p-4 sm:p-6">
33
<h3 class="text-heading-3 font-semibold font-secondary pb-3">
44
Industry distribution
55
</h3>

frontend/app/components/modules/project/components/contributors/organization-dependency.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<lfx-card class="p-6">
2+
<lfx-card class="p-4 sm:p-6">
33
<h3 class="text-heading-3 font-semibold font-secondary pb-3">Organization dependency</h3>
44
<p class="text-body-2 text-neutral-500 mb-5">
55
Distribution of contributions across different organizations, whose contributors were actively involved in the

frontend/app/components/modules/project/components/contributors/organizations-leaderboard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<lfx-card class="p-6">
2+
<lfx-card class="p-4 sm:p-6">
33
<h3 class="text-heading-3 font-semibold font-secondary pb-3">Organizations leaderboard</h3>
44
<p class="text-body-2 text-neutral-500 mb-6">
55
Organization ranking based on the number of activities performed by contributors on their behalf and the impact on

frontend/app/components/modules/project/components/contributors/retention.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<lfx-card class="p-6">
2+
<lfx-card class="p-4 sm:p-6">
33
<h3 class="text-heading-3 font-semibold font-secondary pb-3">Retention</h3>
44
<p class="text-body-2 text-neutral-500 mb-6">
55
Rate at which contributors and organizations continued contributing to the project during the selected period.

frontend/app/components/modules/project/components/development/active-days.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<lfx-card class="p-6">
2+
<lfx-card class="p-4 sm:p-6">
33
<h3 class="text-heading-3 font-semibold font-secondary pb-3">
44
Active days
55
</h3>

0 commit comments

Comments
 (0)