Skip to content

Commit ee2179c

Browse files
authored
Merge pull request #164 from toggle-corp/fix/remove-user-description
Remove funny description and Puran
2 parents a0ee9bf + 4dd1f6d commit ee2179c

7 files changed

Lines changed: 3 additions & 37 deletions

File tree

pages/employee/[employee]/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ function EmployeePage(props: EmployeePageProps) {
3737
imageSrc={getEmployeeImage(specificEmployeeData.id)}
3838
name={specificEmployeeData.name}
3939
position={specificEmployeeData.position}
40-
funnyDescription={specificEmployeeData.funnyDescription}
4140
description={specificEmployeeData.description}
4241
linkedInLink={specificEmployeeData.linkedInLink}
4342
instagramLink={specificEmployeeData.instagramLink}

pages/team/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ function Team(props: Props) {
4747
key={member.id}
4848
name={member.name}
4949
position={member.position}
50-
funnyDescription={member.funnyDescription}
5150
description={member.description}
5251
variant="list"
5352
href={`/employee/${member.id}`}
@@ -67,7 +66,6 @@ function Team(props: Props) {
6766
key={member.id}
6867
name={member.name}
6968
position={member.position}
70-
funnyDescription={member.funnyDescription}
7169
description={member.description}
7270
variant="list"
7371
href={`/employee/${member.id}`}
@@ -87,7 +85,6 @@ function Team(props: Props) {
8785
key={member.id}
8886
name={member.name}
8987
position={member.position}
90-
funnyDescription={member.funnyDescription}
9188
description={member.description}
9289
variant="list"
9390
href={`/employee/${member.id}`}

src/components/employees/EmployeeCard/index.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ interface EmployeeCardProps {
2121
href?: string;
2222
name: string;
2323
position: string;
24-
funnyDescription?: string;
2524
description?: string;
2625
linkedInLink?: string;
2726
instagramLink?: string;
@@ -40,7 +39,6 @@ function EmployeeCard(props: EmployeeCardProps) {
4039
name,
4140
position,
4241
description,
43-
funnyDescription,
4442
linkedInLink,
4543
instagramLink,
4644
githubLink,
@@ -89,13 +87,6 @@ function EmployeeCard(props: EmployeeCardProps) {
8987
<div
9088
title={description}
9189
>
92-
{variant === 'list' && (
93-
<div
94-
className={styles.description}
95-
>
96-
{funnyDescription}
97-
</div>
98-
)}
9990
{variant === 'detail' && (
10091
<div>
10192
{description}

src/components/employees/EmployeeCard/styles.module.css

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@
2828
.position {
2929
color: var(--color-primary);
3030
}
31-
32-
.description {
33-
display: -webkit-box;
34-
overflow: hidden;
35-
-webkit-line-clamp: 2;
36-
-webkit-box-orient: vertical;
37-
}
3831
}
3932

4033
&.list {
@@ -95,4 +88,4 @@
9588
}
9689
}
9790
}
98-
}
91+
}

src/data/employeeImages.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import kishanPahari from 'resources/employee/nishan.jpeg';
1111
import navinAyer from 'resources/employee/navin.jpeg';
1212
import nikaShakya from 'resources/employee/nika.jpeg';
1313
import prinishaBaidya from 'resources/employee/prinisha.jpeg';
14-
import puranBan from 'resources/employee/puran.jpeg';
1514
import ranjanShrestha from 'resources/employee/ranjan.jpeg';
1615
import rubyThapaliya from 'resources/employee/ruby.jpeg';
1716
import safarLigal from 'resources/employee/safar.jpeg';
@@ -55,7 +54,6 @@ const employeeImages: {
5554
'tc-017': kishanPahari,
5655
'tc-030': nikaShakya,
5756
'tc-028': prinishaBaidya,
58-
'tc-056': puranBan,
5957
'tc-042': ranjanShrestha,
6058
'tc-027': rubyThapaliya,
6159
'tc-064': sadikshyaHamal,

src/data/employees.ts

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ export interface Employee {
6868
const adityaKhatri: Employee = {
6969
id: 'tc-001',
7070
name: 'Aditya Khatri',
71-
position: 'Co-founder / Developer',
71+
position: 'Chief Technology Officer / Co-founder',
7272
funnyDescription: 'That\'s soo stewpid!',
7373
department: 'development',
74-
description: '"Aditya here! Come talk to me, or rather listen to be explain ideas and facts that you probably don\'t need to know. I like music, I like cooking and love food. I am constantly changing hobbies and trying out new things. I think everyone should appreciate effort more that the outcome. If we live everyday with an effort to be better than yesterday, the least we\'ll be is what we are right now, which is okay."',
74+
description: '"Aditya here! Come talk to me, or rather listen to me explain ideas and facts that you probably don\'t need to know. I like music, I like cooking and love food. I am constantly changing hobbies and trying out new things. I think everyone should appreciate effort more that the outcome. If we live everyday with an effort to be better than yesterday, the least we\'ll be is what we are right now, which is okay."',
7575
linkedInLink: 'https://www.linkedin.com/in/adityakhatri47/',
7676
instagramLink: 'https://www.instagram.com/adityakhatri47/',
7777
};
@@ -212,17 +212,6 @@ const prinishaBaidya: Employee = {
212212
linkedInLink: 'https://www.linkedin.com/in/prinisha-baidya-394b74187',
213213
};
214214

215-
const puranBan: Employee = {
216-
id: 'tc-056',
217-
name: 'Puran Ban',
218-
position: 'Developer',
219-
description: 'As you like...',
220-
funnyDescription: 'Garo cha jindagi :D',
221-
department: 'development',
222-
githubLink: 'https://github.com/puranban',
223-
linkedInLink: 'https://www.linkedin.com/in/puran-ban-a22765149',
224-
};
225-
226215
const bimalSaud: Employee = {
227216
id: 'tc-063',
228217
name: 'Bimal Saud',
@@ -438,7 +427,6 @@ const employees: Employee[] = [
438427
rubyThapaliya,
439428
sameerRai,
440429
nikaShakya,
441-
puranBan,
442430
shreeyashShrestha,
443431
shubhDhital,
444432
bimalSaud,

src/resources/employee/puran.jpeg

-69.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)