diff --git a/data/data.ts b/data/data.ts index 114c3021..cb42e2ad 100644 --- a/data/data.ts +++ b/data/data.ts @@ -274,6 +274,7 @@ export const categories: Array = [ 'Mobile App Development', 'Scraping', 'Quality Assurance', + 'Management Team', ] export interface Employee { diff --git a/data/employees/aiza-waleed.md b/data/employees/aiza-waleed.md index 37d43b4c..6075bdb7 100644 --- a/data/employees/aiza-waleed.md +++ b/data/employees/aiza-waleed.md @@ -1,6 +1,6 @@ --- id: 21 -title: ' Junior Software Developer' +title: 'Junior Software Developer' name: 'Aiza Waleed' image: '/images/employees/Aiza.PNG' imageB: '/images/employees/aiza.svg' diff --git a/data/employees/bilal-irfan.md b/data/employees/bilal-irfan.md index 4c55f391..0dbb1d8c 100644 --- a/data/employees/bilal-irfan.md +++ b/data/employees/bilal-irfan.md @@ -1,6 +1,6 @@ --- id: 1 -title: 'Software Engineer' +title: 'Senior Software Engineer' name: 'Bilal Irfan' image: '/images/employees/Bilal Irfan.jpg' imageB: '/images/employees/Bilal-Irfan-GreenB.svg' diff --git a/data/employees/fahad-akbar.md b/data/employees/fahad-akbar.md index 1245ebd9..eb6af1f1 100644 --- a/data/employees/fahad-akbar.md +++ b/data/employees/fahad-akbar.md @@ -1,6 +1,6 @@ --- id: 16 -title: 'Junior Software Engineer' +title: 'Software Engineer' name: 'Fahad Akbar' image: '/images/employees/Fahad Akbar.jpg' imageB: '/images/employees/fahad.svg' diff --git a/data/employees/ilham-ahmad.md b/data/employees/ilham-ahmad.md new file mode 100644 index 00000000..31e427c9 --- /dev/null +++ b/data/employees/ilham-ahmad.md @@ -0,0 +1,11 @@ +--- +id: 29 +title: 'UI/UX Designer' +name: 'Ilham Ahmad' +image: '/images/employees/Illham.png' +imageB: '/images/employees/ilham.svg' +category: ['Web Development'] +description: "Meet Illham, our lead guitarist and fictional enthusiast with a passion for merging design with music and storytelling. Aspiring to become a writer, he infuses the same musical aesthetics into his designs. Ilham enjoys solving problems, just as he does with musical compositions. Beyond the Design skills, catch him crafting fictional stories and fantasies, infused with his countryside musical approach. When he's not creating, you can find him cheering for his favorite superheroes - Batman, Daredevil, or Nightwing. " +moreInfoOne: 'Illham is a creative and collaborative designer, known for bringing a fresh perspective to the design arena. With dedication and flair, he specializes in crafting exceptional designs, particularly for social media posters.' +moreInfoTwo: 'In addition to his work in graphic design, Ilham has contributed to the user interface (UI) design of a noteworthy project. This project is an all-in-one financial report analysis tool, designed for a comprehensive evaluation of quarterly reports from diverse companies.' +--- diff --git a/data/employees/m-mazhar.md b/data/employees/m-mazhar.md new file mode 100644 index 00000000..dfbf4e32 --- /dev/null +++ b/data/employees/m-mazhar.md @@ -0,0 +1,11 @@ +--- +id: 28 +title: 'Manager Accounts & Finance' +name: 'Muhammad Mazhar' +image: '/images/employees/Mazhar.jpeg' +imageB: '/images/employees/M.Mazhar.svg' +category: ['Management Team'] +description: 'Mazhar, a CA finalist, brings a wealth of diversified experience in Accounting, Finance, External audit, and Internal audit. When not immersed in the world of numbers, he enjoys playing cricket and delving into the realms of books. Cricket is what motivates and keeps him going! He aspires to qualify as a Chartered Accountant, adding another milestone to his accomplished journey. ' +moreInfoOne: 'Mazhar takes on crucial responsibilities in his daily tasks, encompassing routine banking transactions, effective coordination with banks, bank reconciliation, and maintaining a comprehensive record of daily business activities. His commitment to excellence extends to undertaking significant tasks and projects, where Mazhar ensures full compliance with legal requirements, including tax and corporate regulations.' +moreInfoTwo: "In the realm of achievements at Prixite, Mazhar's notable contributions include the successful Implementation of financial processes in line with government requirements. His proactive approach to fulfilling legal compliance obligations demonstrates Mazhar's dedication to ensuring the regulatory soundness of Prixite's operations." +--- diff --git a/data/employees/maria-khan.md b/data/employees/maria-khan.md index 0d12c689..7f1f2b84 100644 --- a/data/employees/maria-khan.md +++ b/data/employees/maria-khan.md @@ -5,7 +5,7 @@ name: 'Maria Khan' image: '/images/employees/Maria Khan.jpg' imageB: '/images/employees/Maria-Khan-GreenB.svg' category: ['Quality Assurance'] -description: 'Maria enjoys watching Netflix series or indulging in a good read. With a strong passion for software testing, she aspires to pursue a Ph.D. and contribute to the field through impactful research. Maria brings significant field experience, having previously conducted research in agile methodology, adding depth to her expertise.' +description: 'Maria enjoys watching Netflix series or indulging in a good read. With a strong passion for software testing, she strives for perfection in software quality by paying close attention to detail and continuously pushing for improvement. She aspires to pursue a Ph.D. and contribute to the field through impactful research. Maria brings significant field experience, having previously conducted research in agile methodology, adding depth to her expertise.' moreInfoOne: 'Maria played a pivotal role in ensuring the quality of a mobile app designed for tracking the pregnancy journey of expectant mothers. Her responsibilities included performing feature testing for new additions and conducting comprehensive regression testing for the entire project. Maria utilized GitHub and Postman to contribute to the reliability of the app.' moreInfoTwo: 'In another project, Maria focused on ensuring the quality of an e-commerce website tailored for Albanian users. Her role involved conducting smoke testing for new build releases, promptly logging issues on GitHub, and performing thorough retesting and regression testing after fixes. Technologies used in this project included GitHub and the Shopify admin, ensuring a robust e-commerce experience for the target audience.' developmentStack: @@ -18,5 +18,11 @@ developmentStack: { name: 'Sanity Testing', icon: '/icons/TechStack/sanity-testing.jpg' }, { name: 'API Testing', icon: '/icons/TechStack/api testing.png' }, { name: 'Database Testing', icon: '/icons/TechStack/database testing.png' }, + { name: 'Manual Testing', icon: '/icons/TechStack/manual testing.png' }, + { + name: 'Automation Testing', + icon: '/icons/TechStack/automation testing.jpeg', + }, + { name: 'ETL Testing', icon: '/icons/TechStack/ETL.png' }, ] --- diff --git a/data/employees/mazhar-iqbal.md b/data/employees/mazhar-iqbal.md new file mode 100644 index 00000000..6280b93f --- /dev/null +++ b/data/employees/mazhar-iqbal.md @@ -0,0 +1,12 @@ +--- +id: 27 +title: 'Senior Business Development Executive' +name: 'Mazhar Iqbal' +image: '/images/employees/Mazhar.jpg' +imageB: '/images/employees/Mazhar.svg' +category: ['Management Team'] +description: "Mazhar, our dynamic Business Developer, finds inspiration in the thrilling narratives of adventure movies and is always ready to explore new horizons. Moreover, his jolly and easy-going nature is a welcome addition to our team, fostering a positive and collaborative work environment. His zest for discovery aligns seamlessly with his role, where he consistently seeks innovative opportunities to propel our business forward." +moreInfoOne: "With a profound understanding of various sales channels, Mazhar specializes in optimizing workflows and refining sales processes for the teams he collaborates with. His expertise lies in enhancing business-to-business collaboration, leading to a notable increase in company revenue." +moreInfoTwo: "Actively engaged in the freelance landscape, Mazhar leverages several platforms to execute his goals. As a key contributor, his primary responsibility revolves around generating leads daily, and he consistently achieves his goal with a success rate of 90%. +His core competency lies in lead generation, providing a significant amount of leads within the same time frame. Mazhar's track record reflects his effectiveness in driving business success through strategic sales initiatives." +--- diff --git a/data/employees/muhammad-abdullah.md b/data/employees/muhammad-abdullah.md index 40675b20..5ae88a92 100644 --- a/data/employees/muhammad-abdullah.md +++ b/data/employees/muhammad-abdullah.md @@ -4,7 +4,7 @@ title: 'Machine Learning Engineer' name: 'Muhammad Abdullah' image: '/images/employees/Muhammad Abdullah.jpeg' imageB: '/images/employees/Muhammad-Abdullah-GreenB.svg' -category: ['Web App Development', 'Scraping'] +category: ['Machine Learning', 'Scraping'] description: 'Abdullah, an avid cricket enthusiast, finds joy in playing the sport and unwinding with anime in his free time. Fueled by a passion for problem-solving, Abdullah aspires to become a data scientist. With each passing day, he steadily approaches his goal, eager to leverage data science to address real-life business challenges.' moreInfoOne: "In Abdullah's recent initiative, the key objective was to revolutionize the role of Business Analysts by automating the process of writing project proposals through the integration of machine learning technologies. This endeavor specifically targeted Business Analysts who encounter challenges in identifying relevant projects from budget files and crafting persuasive proposals. Abdullah's integral role involved utilizing Selenium to scrape all budget files for projects. Leveraging advanced machine learning tools such as GPT-4 and sentence transformers embeddings, he proficiently identified pertinent projects from the budget files, enhancing the efficiency of project selection." moreInfoTwo: "Additionally, Abdullah's responsibilities extended to scraping business cases of the projects and extracting relevant information from Google using AI. By combining these diverse pieces of information, he orchestrated a comprehensive approach to crafting robust proposals for government projects. The technological toolkit employed for this initiative included Redis, Langchain, Docker, and FastApi, ensuring a seamless and efficient automation process for Business Analysts, ultimately improving their ability to secure government project opportunities." diff --git a/data/employees/muhammad-nabeel.md b/data/employees/muhammad-nabeel.md index 7b3f041e..3ce5a691 100644 --- a/data/employees/muhammad-nabeel.md +++ b/data/employees/muhammad-nabeel.md @@ -10,8 +10,15 @@ moreInfoOne: "Nabeel played a vital role as a Full Stack Developer in the creati moreInfoTwo: "Further, Nabeel conducted in-depth research and successfully published a research paper on the Comparative Study of Deep Learning Algorithms for Disease and Pest Detection in Rice Crops. Moreover, Nabeel developed a Pakistani Sign Language recognition system, a significant achievement that demonstrates Nabeel's commitment to accessibility and inclusivity in technology." developmentStack: [ - { name: 'React', icon: '/icons/TechStack/react.svg' }, + { name: 'React JS', icon: '/icons/TechStack/react.svg' }, { name: 'Django', icon: '/icons/TechStack/django-logo.png' }, { name: 'Node JS', icon: '/icons/TechStack/node.png' }, + { name: 'JavaScript', icon: '/icons/TechStack/javascript.svg' }, + { name: 'Docker', icon: '/icons/TechStack/docker-logo.png' }, + { name: 'Git', icon: '/icons/TechStack/git.png' }, + { name: 'OpenAI', icon: '/icons/TechStack/open-ai-logo.png' }, + { name: 'Linux', icon: '/icons/TechStack/linux.png' }, + { name: 'Postgres', icon: '/icons/TechStack/postgres-logo.png' }, + { name: 'Web Scraping', icon: '/icons/TechStack/webscraping.png' }, ] --- diff --git a/data/employees/naila-naz.md b/data/employees/naila-naz.md new file mode 100644 index 00000000..0f0bb376 --- /dev/null +++ b/data/employees/naila-naz.md @@ -0,0 +1,12 @@ +--- +id: 25 +title: 'Sales Project Manager' +name: 'Naila Naz' +image: '/images/employees/Naila.jpg' +imageB: '/images/employees/Naila.svg' +category: ['Management Team'] +description: "Naila is a dynamic individual who loves indulging in various extracurricular activities that keep her energized and balanced. From exploring new destinations through travel to staying fit with regular exercise, Naila finds joy in shopping for new experiences and immersing herself in captivating reads. Her multifaceted interests reflect her commitment to living a well-rounded life, enriching her perspectives and fueling her drive to excel both personally and professionally." +moreInfoOne: "With over 8 years of hands-on experience, Naila has been an integral part of our organization's growth journey. As a leader of the business development team, she has consistently contributed to the expansion and success of our business. Naila's expertise lies in driving significant growth, optimizing resource management, and generating quality leads across various domains." +moreInfoTwo: "Her strategic foresight and deep understanding of market dynamics have enabled her to devise and implement innovative strategies that not only meet but exceed our business objectives. Naila fosters an environment of continuous improvement and operational excellence, ensuring sustainable growth and maintaining a competitive advantage in the market. +Naila's track record of transforming challenges into lucrative opportunities speaks volumes about her capabilities and dedication. She anticipates changes effectively and adapts strategies accordingly, consistently delivering outstanding results for our organization." +--- diff --git a/data/employees/ramsha-pervaiz.md b/data/employees/ramsha-pervaiz.md new file mode 100644 index 00000000..15521c34 --- /dev/null +++ b/data/employees/ramsha-pervaiz.md @@ -0,0 +1,12 @@ +--- +id: 24 +title: 'Assistant Manager HR' +name: 'Ramsha Pervaiz' +image: '/images/employees/Ramsha.jpg' +imageB: '/images/employees/Ramsha.svg' +category: ['Management Team'] +description: "Ramsha is a vibrant individual who finds joy in exploring new destinations and indulging in shopping adventures. Her infectious enthusiasm and positive outlook on life illuminate every room she enters. With strong confidence and ambition, Ramsha is deeply committed to her career aspirations. She aspires to become a leading trainer and coach, dedicated to inspiring and empowering others to reach their full potential." +moreInfoOne: "Ramsha, a seasoned HR professional with 4 years of experience, is a versatile and proficient manager adept at handling various aspects of organizational management. Serving as the go-to person for all organization members, she effectively addresses their concerns and ensures their moments of happiness are recognized and celebrated." +moreInfoTwo: "Her responsibilities encompass a wide range of HR functions, including recruitment, onboarding, and participation in job fairs. She also plays a pivotal role in HR planning, ensuring that the organization's workforce is aligned with its strategic objectives. Ramsha is instrumental in administering employee benefits and fostering a culture of recognition within the organization. +Ramsha's strong communication skills, coupled with her talent for conflict resolution, enable her to effectively navigate challenging situations and foster positive relationships within the team. Her proactive approach and ability to find effective solutions make her the go-to person for getting things done efficiently and effectively." +--- diff --git a/data/employees/shahbaz.md b/data/employees/shahbaz.md new file mode 100644 index 00000000..c3b00c50 --- /dev/null +++ b/data/employees/shahbaz.md @@ -0,0 +1,9 @@ +--- +id: 31 +title: 'Office Boy' +name: 'Shahbaz' +image: '/images/employees/Shahbaz.jpg' +imageB: '/images/employees/shahbaz.svg' +category: ['Management Team'] +description: 'Meet Shahbaz - high passion for cricket and an undeniable love for snooker. He thrives on the challenges of a snooker frame, always ready to accept a match from anyone. And is always ready for a new adventure! Additionally, Shahbaz has an unconditional crush on tea, adding a delightful touch to his personality. His massive support in the office makes him an invaluable asset to the team.' +--- diff --git a/data/employees/tanzeel-khan.md b/data/employees/tanzeel-khan.md index aac28440..aaf1ecff 100644 --- a/data/employees/tanzeel-khan.md +++ b/data/employees/tanzeel-khan.md @@ -1,6 +1,6 @@ --- id: 2 -title: 'Software Engineer' +title: 'Software Engineer | Team Lead' name: 'Tanzeel Ali Khan' image: '/images/employees/Tanzeel-Khan.jpg' imageB: '/images/employees/Tanzeel-Khan-GreenB.svg' diff --git a/data/employees/waleed-raza.md b/data/employees/waleed-raza.md new file mode 100644 index 00000000..78dd270f --- /dev/null +++ b/data/employees/waleed-raza.md @@ -0,0 +1,11 @@ +--- +id: 26 +title: 'Marketing Executive' +name: 'Waleed Raza' +image: '/images/employees/waleed.jpg' +imageB: '/images/employees/waleed.svg' +category: ['Management Team'] +description: 'Meet Waleed, a passionate individual whose love for gardening is evident in the 90 potted plants adorning his home. With a deep appreciation for nature, he is an avid traveler, always ready for a new adventure that fuels his zest for life. Waleed is not only a nature enthusiast but also occasionally dons the hat of a writer, expressing his thoughts when inspiration strikes. His outlook is one of positivity, always focusing on the sunny side of life. Beyond personal pursuits, Waleed aspires to make a significant positive impact on his society and country.' +moreInfoOne: "Waleed thrives in a dynamic role, where his daily tasks encompass the creation of compelling social media posts, website updates, and the infusion of innovative marketing strategies into both the overall strategy and design elements. His role extends beyond design, as he also manages and curates content for a holistic approach. In terms of significant tasks and projects, Waleed showcases his adept management skills by flawlessly organizing the company's last annual trip. His keen eye for detail and efficient execution ensured the success of this endeavor without any hitches." +moreInfoTwo: "Notably, Waleed's entrepreneurial spirit shines through as he has independently built two startups from the ground up. From conceptualizing the minimum viable product to finalizing the product, handling pricing, distribution, and branding, Waleed played a pivotal role in every aspect. His versatility extends to diverse projects, including designing marketing strategies for prominent brands such as Lipton and Pepsi. Waleed's comprehensive approach spans digital marketing, product research, branding, and even poster designing, highlighting his proficiency in end-to-end project management." +--- diff --git a/data/employees/zaheer-hussain.md b/data/employees/zaheer-hussain.md new file mode 100644 index 00000000..3f21b8c3 --- /dev/null +++ b/data/employees/zaheer-hussain.md @@ -0,0 +1,11 @@ +--- +id: 30 +title: 'Admin Operations' +name: 'Zaheer Hussain' +image: '/images/employees/Zaheer 1.png' +imageB: '/images/employees/zaheer.svg' +category: ['Management Team'] +description: "Meet Zaheer, a vibrant soul who finds joy in the two worlds – the tranquility of his organic garden and the exhilaration of car racing. His green thumb brings life to various plants, creating an oasis of nature at his fingertips. He has an organic garden to himself and loves eating vegetables from there. When he's not cultivating the earth, you can catch him revving engines and navigating the twists and turns of the roads. Zaheer's infectious jolliness adds a layer of vibrancy to his garden and the fast-paced world of car racing." +moreInfoOne: 'Zaheer plays a pivotal role in daily operations, showcasing proficiency in coordinating with HR and addressing hardware-related queries from employees. Notably, he successfully managed the operational transition when the office was officially relocated to its current location.' +moreInfoTwo: "Zaheer's commitment to excellence is evident in his noteworthy achievement at Prixite. His effective coordination has ensured the seamless functioning of operations, with no operational lag experienced by the company to date. Zaheer's dedication contributes significantly to maintaining the operational integrity of Prixite." +--- diff --git a/pages/index.tsx b/pages/index.tsx index 888c9915..2da26469 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -225,11 +225,11 @@ export default function Home({ {FEATURES.testimonials && } - {FEATURES.subscribe && ( + {/* {FEATURES.subscribe && ( - )} + )} */} ) diff --git a/pages/team.tsx b/pages/team.tsx index e4384a66..f5ee2ef5 100644 --- a/pages/team.tsx +++ b/pages/team.tsx @@ -10,6 +10,7 @@ import path from 'path' import { getMarkdownAllData } from '../utils/markdown' import { EMPLOYEES_PATH } from '../utils/constants' import { EmployeePost, MDContent } from '../types/interfaces' +import { sortByTitle } from '../utils/sort' const MeetTeam = ({ employees }: MDContent) => { const [selectedCategory, setSelectedCategory] = useState('All') @@ -59,7 +60,6 @@ const MeetTeam = ({ employees }: MDContent) => { ) })} -
{employeesState && employeesState.map((employee: EmployeePost) => { @@ -102,9 +102,25 @@ export async function getStaticProps() { const employeeFiles = fs.readdirSync(path.join(EMPLOYEES_PATH)) const employees = getMarkdownAllData(employeeFiles, EMPLOYEES_PATH, fs) + const employeeTitles = employees.map((employee) => employee.frontmatter.title) + + const sortedTitles = sortByTitle(employeeTitles) + + const titleIndexMap = new Map( + sortedTitles.map((title, index) => [title, index + 1]) + ) + + const sortedEmployees = employees.sort((a, b) => { + const orderA = + titleIndexMap.get(a.frontmatter.title) || Number.MAX_SAFE_INTEGER + const orderB = + titleIndexMap.get(b.frontmatter.title) || Number.MAX_SAFE_INTEGER + return orderA - orderB + }) + return { props: { - employees: employees, + employees: sortedEmployees, }, } } diff --git a/pages/team/[slug].tsx b/pages/team/[slug].tsx index ef2b1e8e..df2ce5e3 100644 --- a/pages/team/[slug].tsx +++ b/pages/team/[slug].tsx @@ -80,46 +80,66 @@ const EmployeeDetail = ({
-
- - More About {trimName(name)} - - - {moreInfoOne} - - {moreInfoTwo && ( -
-
+ {moreInfoOne ? ( + <> +
+ + More About {trimName(name)} + - {moreInfoTwo} + {moreInfoOne} + {moreInfoTwo && ( +
+
+ + {moreInfoTwo} + +
+ )}
- )} -
+ + ) : ( + <> + )} - - Development Stack - -
- {developmentStack?.map((tech, index) => { - return ( -
- tech.name - - {tech.name} - -
- ) - })} -
+ {developmentStack ? ( + <> + + Development Stack + +
+ {developmentStack?.map((tech, index) => { + return ( +
+ tech.name + + {tech.name} + +
+ ) + })} +
+ + ) : ( + <> + )} ) diff --git a/public/icons/TechStack/ETL.png b/public/icons/TechStack/ETL.png new file mode 100644 index 00000000..7323656b Binary files /dev/null and b/public/icons/TechStack/ETL.png differ diff --git a/public/icons/TechStack/sanity-testing.jpg b/public/icons/TechStack/sanity-testing.jpg new file mode 100644 index 00000000..8ffebd90 Binary files /dev/null and b/public/icons/TechStack/sanity-testing.jpg differ diff --git a/public/images/employees/Illham.png b/public/images/employees/Illham.png new file mode 100644 index 00000000..46b25e6f Binary files /dev/null and b/public/images/employees/Illham.png differ diff --git a/public/images/employees/M.Mazhar.svg b/public/images/employees/M.Mazhar.svg new file mode 100644 index 00000000..db8b428b --- /dev/null +++ b/public/images/employees/M.Mazhar.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/public/images/employees/Mazhar.jpeg b/public/images/employees/Mazhar.jpeg new file mode 100644 index 00000000..8a199da0 Binary files /dev/null and b/public/images/employees/Mazhar.jpeg differ diff --git a/public/images/employees/Mazhar.jpg b/public/images/employees/Mazhar.jpg new file mode 100644 index 00000000..abdc069e Binary files /dev/null and b/public/images/employees/Mazhar.jpg differ diff --git a/public/images/employees/Mazhar.svg b/public/images/employees/Mazhar.svg new file mode 100644 index 00000000..7ca06f89 --- /dev/null +++ b/public/images/employees/Mazhar.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/public/images/employees/Naila.jpg b/public/images/employees/Naila.jpg new file mode 100644 index 00000000..418a6483 Binary files /dev/null and b/public/images/employees/Naila.jpg differ diff --git a/public/images/employees/Naila.svg b/public/images/employees/Naila.svg new file mode 100644 index 00000000..65a0096a --- /dev/null +++ b/public/images/employees/Naila.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/public/images/employees/Ramsha.jpg b/public/images/employees/Ramsha.jpg new file mode 100644 index 00000000..8a68e460 Binary files /dev/null and b/public/images/employees/Ramsha.jpg differ diff --git a/public/images/employees/Ramsha.svg b/public/images/employees/Ramsha.svg new file mode 100644 index 00000000..9ecc07b8 --- /dev/null +++ b/public/images/employees/Ramsha.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/public/images/employees/Shahbaz.jpg b/public/images/employees/Shahbaz.jpg new file mode 100644 index 00000000..a23e60e3 Binary files /dev/null and b/public/images/employees/Shahbaz.jpg differ diff --git a/public/images/employees/Shahzaib Naseer.jpg b/public/images/employees/Shahzaib Naseer.jpg index 5f19cc05..f460e97a 100644 Binary files a/public/images/employees/Shahzaib Naseer.jpg and b/public/images/employees/Shahzaib Naseer.jpg differ diff --git a/public/images/employees/Zaheer 1.png b/public/images/employees/Zaheer 1.png new file mode 100644 index 00000000..afe14ec3 Binary files /dev/null and b/public/images/employees/Zaheer 1.png differ diff --git a/public/images/employees/ilham.svg b/public/images/employees/ilham.svg new file mode 100644 index 00000000..99635931 --- /dev/null +++ b/public/images/employees/ilham.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/public/images/employees/shahbaz.svg b/public/images/employees/shahbaz.svg new file mode 100644 index 00000000..8c5b366e --- /dev/null +++ b/public/images/employees/shahbaz.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/public/images/employees/waleed.jpg b/public/images/employees/waleed.jpg new file mode 100644 index 00000000..18e434f9 Binary files /dev/null and b/public/images/employees/waleed.jpg differ diff --git a/public/images/employees/waleed.svg b/public/images/employees/waleed.svg new file mode 100644 index 00000000..a91f4baf --- /dev/null +++ b/public/images/employees/waleed.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/public/images/employees/zaheer.svg b/public/images/employees/zaheer.svg new file mode 100644 index 00000000..b07acb6e --- /dev/null +++ b/public/images/employees/zaheer.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/utils/sort.ts b/utils/sort.ts index 1b328820..ef97dac8 100644 --- a/utils/sort.ts +++ b/utils/sort.ts @@ -9,3 +9,58 @@ export const sortByDate = (a: SortByDateParam, b: SortByDateParam) => { export const sortByIndex = (a: SortbyIndexParam, b: SortbyIndexParam) => { return Number(a.frontmatter.index) - Number(b.frontmatter.index) } + +export const sortByTitle = (titles: string[]): string[] => { + const sequenceOrder = [ + 'CEO and Founder Prixite', + 'Principal Software Engineer', + 'Senior Software Engineer | Team Lead', + 'Senior ML Engineer', + 'Senior Software Engineer', + 'Senior Data Scientist', + 'Team Lead for ScoopRank', + 'Technical Team Lead', + 'Software Engineer | Team Lead', + 'Senior SQA Engineer', + 'Software Engineer', + 'Data Scientist', + 'SQA Engineer', + 'Machine Learning Engineer', + 'Python Django Developer', + 'Frontend Engineer', + 'Front-End Software Engineer', + 'Front-End Developer', + 'Junior Software Developer', + 'Trainee Engineer', + 'Assistant Manager HR', + 'Sales Project Manager', + 'Admin Operations', + 'Manager Accounts & Finance', + 'Marketing Executive', + 'Senior Business Development Executive', + 'UI/UX Designer', + ] + + const customSort = (a: string, b: string): number => { + const orderA = sequenceOrder.indexOf(a) + const orderB = sequenceOrder.indexOf(b) + + if (orderA !== -1 && orderB !== -1) { + return orderA - orderB + } + + if (orderA !== -1) { + return -1 + } + + if (orderB !== -1) { + return 1 + } + + return a.localeCompare(b) + } + + const sortedTitles = [...titles].sort(customSort) + + return sortedTitles +}