From 615737222ae22537966f106ee086f43c6aaaf96a Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Thu, 3 Jun 2021 23:45:31 +0100 Subject: [PATCH] Update template page --- src/pages/Template/index.tsx | 85 +++++++++++++++++++++++++++++++----- 1 file changed, 73 insertions(+), 12 deletions(-) diff --git a/src/pages/Template/index.tsx b/src/pages/Template/index.tsx index 1b43546..5e2163f 100644 --- a/src/pages/Template/index.tsx +++ b/src/pages/Template/index.tsx @@ -3,8 +3,15 @@ import { useLazyQuery, useReactiveVar } from '@apollo/client'; import { Redirect } from 'react-router'; import { useHistory, useParams } from 'react-router-dom'; import { roleVar } from '../../graphql/state'; -import { Empty, Settings } from '../../assets'; -import { Box, Button, FeatureCard, Text, Spinner } from '../../components'; +import { Design, Empty, Settings, Specification } from '../../assets'; +import { + Box, + Button, + FeatureCard, + Text, + Spinner, + Link, +} from '../../components'; import { Wrapper } from './styles'; import { GetAllTemplatesQuery, @@ -72,13 +79,29 @@ const Template = () => { {template.name} -