Skip to content
Merged
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
1 change: 0 additions & 1 deletion pages/employee/[employee]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ function EmployeePage(props: EmployeePageProps) {
imageSrc={getEmployeeImage(specificEmployeeData.id)}
name={specificEmployeeData.name}
position={specificEmployeeData.position}
funnyDescription={specificEmployeeData.funnyDescription}
description={specificEmployeeData.description}
linkedInLink={specificEmployeeData.linkedInLink}
instagramLink={specificEmployeeData.instagramLink}
Expand Down
3 changes: 0 additions & 3 deletions pages/team/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ function Team(props: Props) {
key={member.id}
name={member.name}
position={member.position}
funnyDescription={member.funnyDescription}
description={member.description}
variant="list"
href={`/employee/${member.id}`}
Expand All @@ -67,7 +66,6 @@ function Team(props: Props) {
key={member.id}
name={member.name}
position={member.position}
funnyDescription={member.funnyDescription}
description={member.description}
variant="list"
href={`/employee/${member.id}`}
Expand All @@ -87,7 +85,6 @@ function Team(props: Props) {
key={member.id}
name={member.name}
position={member.position}
funnyDescription={member.funnyDescription}
description={member.description}
variant="list"
href={`/employee/${member.id}`}
Expand Down
9 changes: 0 additions & 9 deletions src/components/employees/EmployeeCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ interface EmployeeCardProps {
href?: string;
name: string;
position: string;
funnyDescription?: string;
description?: string;
linkedInLink?: string;
instagramLink?: string;
Expand All @@ -40,7 +39,6 @@ function EmployeeCard(props: EmployeeCardProps) {
name,
position,
description,
funnyDescription,
linkedInLink,
instagramLink,
githubLink,
Expand Down Expand Up @@ -89,13 +87,6 @@ function EmployeeCard(props: EmployeeCardProps) {
<div
title={description}
>
{variant === 'list' && (
<div
className={styles.description}
>
{funnyDescription}
</div>
)}
{variant === 'detail' && (
<div>
{description}
Expand Down
9 changes: 1 addition & 8 deletions src/components/employees/EmployeeCard/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@
.position {
color: var(--color-primary);
}

.description {
display: -webkit-box;
overflow: hidden;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
}

&.list {
Expand Down Expand Up @@ -95,4 +88,4 @@
}
}
}
}
}
2 changes: 0 additions & 2 deletions src/data/employeeImages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import kishanPahari from 'resources/employee/nishan.jpeg';
import navinAyer from 'resources/employee/navin.jpeg';
import nikaShakya from 'resources/employee/nika.jpeg';
import prinishaBaidya from 'resources/employee/prinisha.jpeg';
import puranBan from 'resources/employee/puran.jpeg';
import ranjanShrestha from 'resources/employee/ranjan.jpeg';
import rubyThapaliya from 'resources/employee/ruby.jpeg';
import safarLigal from 'resources/employee/safar.jpeg';
Expand Down Expand Up @@ -55,7 +54,6 @@ const employeeImages: {
'tc-017': kishanPahari,
'tc-030': nikaShakya,
'tc-028': prinishaBaidya,
'tc-056': puranBan,
'tc-042': ranjanShrestha,
'tc-027': rubyThapaliya,
'tc-064': sadikshyaHamal,
Expand Down
16 changes: 2 additions & 14 deletions src/data/employees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ export interface Employee {
const adityaKhatri: Employee = {
id: 'tc-001',
name: 'Aditya Khatri',
position: 'Co-founder / Developer',
position: 'Chief Technology Officer / Co-founder',
funnyDescription: 'That\'s soo stewpid!',
department: 'development',
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."',
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."',
linkedInLink: 'https://www.linkedin.com/in/adityakhatri47/',
instagramLink: 'https://www.instagram.com/adityakhatri47/',
};
Expand Down Expand Up @@ -212,17 +212,6 @@ const prinishaBaidya: Employee = {
linkedInLink: 'https://www.linkedin.com/in/prinisha-baidya-394b74187',
};

const puranBan: Employee = {
id: 'tc-056',
name: 'Puran Ban',
position: 'Developer',
description: 'As you like...',
funnyDescription: 'Garo cha jindagi :D',
department: 'development',
githubLink: 'https://github.com/puranban',
linkedInLink: 'https://www.linkedin.com/in/puran-ban-a22765149',
};

const bimalSaud: Employee = {
id: 'tc-063',
name: 'Bimal Saud',
Expand Down Expand Up @@ -438,7 +427,6 @@ const employees: Employee[] = [
rubyThapaliya,
sameerRai,
nikaShakya,
puranBan,
shreeyashShrestha,
shubhDhital,
bimalSaud,
Expand Down
Binary file removed src/resources/employee/puran.jpeg
Binary file not shown.
Loading