1- import React , {
2- useMemo ,
3- useState ,
4- } from 'react' ;
1+ import React from 'react' ;
52import { GetStaticProps } from 'next' ;
63// import { unique } from '@togglecorp/fujs';
74
8- import { ProjectType , getProjectType } from 'data/projectTypes' ;
9- import { getProjectCoverImage } from 'data/projectImages' ;
5+ import { ProjectType } from 'data/projectTypes' ;
6+ // import { getProjectCoverImage } from 'data/projectImages';
107import staticProjects , { Project } from 'data/projects' ;
118
129import Page from 'components/general/Page' ;
13- import Card from 'components/general/Card' ;
14- import Container from 'components/general/Container' ;
1510import BannerWithImage from 'components/general/BannerWithImage' ;
1611import KeyFigure from 'components/general/KeyFigure' ;
12+ import Container from 'components/general/Container' ;
13+ import Card from 'components/general/Card' ;
14+ /*
1715import Separator from 'components/general/Separator';
1816import Tabs from 'components/general/Tabs';
1917import { selfSelector } from 'utils/common';
18+ */
2019
2120import bannerImage from 'resources/works/banner.jpeg' ;
2221
@@ -33,22 +32,19 @@ interface Props {
3332 projects : Project [ ] ;
3433}
3534
36- function WorksPage ( props : Props ) {
37- const {
38- projects,
39- } = props ;
40-
41- const [
42- filteredProjectType ,
43- setFilteredProjectType ,
44- ] = useState < ProjectType | 'all' > ( 'all' ) ;
45-
35+ function WorksPage ( ) {
4636 // const totalProjects = projects.length;
4737 const totalProjects = '250+' ;
4838
4939 // const totalOrganizations = unique(projects.map((project) => project.client)).length;
5040 const totalOrganizations = '20+' ;
5141
42+ /*
43+ const [
44+ filteredProjectType,
45+ setFilteredProjectType,
46+ ] = useState<ProjectType | 'all'>('all');
47+
5248 const filteredProjects = useMemo(() => {
5349 if (filteredProjectType === 'all') {
5450 return projects;
@@ -61,6 +57,7 @@ function WorksPage(props: Props) {
6157 const labelSelector = React.useCallback((projectType: ProjectType | 'all') => (
6258 projectType === 'all' ? 'All Works' : getProjectType(projectType).title
6359 ), []);
60+ */
6461
6562 return (
6663 < Page
@@ -86,6 +83,7 @@ function WorksPage(props: Props) {
8683 />
8784 ) }
8885 >
86+ { /*
8987 <Container contentClassName={styles.workContent}>
9088 <Tabs
9189 options={projectTypeOptions}
@@ -109,6 +107,29 @@ function WorksPage(props: Props) {
109107 ))}
110108 </div>
111109 </Container>
110+ */ }
111+ < Container contentClassName = { styles . portfolioCard } >
112+ < Card
113+ title = "Development Team Portfolio"
114+ href = "https://drive.google.com/file/d/1vXXxd5oWWRvTkMSlDO92NUzpf6gHknt1/view?usp=sharing"
115+ description = { (
116+ < div >
117+ Click here to download
118+ </ div >
119+ ) }
120+ openExternal
121+ />
122+ < Card
123+ title = "Analysis Team Portfolio"
124+ href = "https://drive.google.com/file/d/1T6gHiY27jlpxJ4jpci1Af-JQ9Iev553X/view?usp=sharing"
125+ description = { (
126+ < div >
127+ Click here to download
128+ </ div >
129+ ) }
130+ openExternal
131+ />
132+ </ Container >
112133 </ Page >
113134 ) ;
114135}
0 commit comments