diff --git a/pages/employee/[employee]/index.tsx b/pages/employee/[employee]/index.tsx index 258eac6..b3f79ac 100644 --- a/pages/employee/[employee]/index.tsx +++ b/pages/employee/[employee]/index.tsx @@ -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} diff --git a/pages/team/index.tsx b/pages/team/index.tsx index ea4a703..dfced8d 100644 --- a/pages/team/index.tsx +++ b/pages/team/index.tsx @@ -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}`} @@ -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}`} @@ -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}`} diff --git a/src/components/employees/EmployeeCard/index.tsx b/src/components/employees/EmployeeCard/index.tsx index 74db12f..99c0741 100644 --- a/src/components/employees/EmployeeCard/index.tsx +++ b/src/components/employees/EmployeeCard/index.tsx @@ -21,7 +21,6 @@ interface EmployeeCardProps { href?: string; name: string; position: string; - funnyDescription?: string; description?: string; linkedInLink?: string; instagramLink?: string; @@ -40,7 +39,6 @@ function EmployeeCard(props: EmployeeCardProps) { name, position, description, - funnyDescription, linkedInLink, instagramLink, githubLink, @@ -89,13 +87,6 @@ function EmployeeCard(props: EmployeeCardProps) {
- {variant === 'list' && ( -
- {funnyDescription} -
- )} {variant === 'detail' && (
{description} diff --git a/src/components/employees/EmployeeCard/styles.module.css b/src/components/employees/EmployeeCard/styles.module.css index 8750dd2..5ddbc2c 100644 --- a/src/components/employees/EmployeeCard/styles.module.css +++ b/src/components/employees/EmployeeCard/styles.module.css @@ -28,13 +28,6 @@ .position { color: var(--color-primary); } - - .description { - display: -webkit-box; - overflow: hidden; - -webkit-line-clamp: 2; - -webkit-box-orient: vertical; - } } &.list { @@ -95,4 +88,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/data/employeeImages.ts b/src/data/employeeImages.ts index 8164890..73d37a5 100644 --- a/src/data/employeeImages.ts +++ b/src/data/employeeImages.ts @@ -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'; @@ -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, diff --git a/src/data/employees.ts b/src/data/employees.ts index 1eb9270..cadba6b 100644 --- a/src/data/employees.ts +++ b/src/data/employees.ts @@ -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/', }; @@ -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', @@ -438,7 +427,6 @@ const employees: Employee[] = [ rubyThapaliya, sameerRai, nikaShakya, - puranBan, shreeyashShrestha, shubhDhital, bimalSaud, diff --git a/src/resources/employee/puran.jpeg b/src/resources/employee/puran.jpeg deleted file mode 100644 index 9cdf91c..0000000 Binary files a/src/resources/employee/puran.jpeg and /dev/null differ