diff --git a/src/pages/Hub.tsx b/src/pages/Hub.tsx index d555329..58b6b22 100644 --- a/src/pages/Hub.tsx +++ b/src/pages/Hub.tsx @@ -1,4 +1,5 @@ import { + Badge, Button, Grid, Input, @@ -33,6 +34,7 @@ import { } from '../utils/clipboard'; const { useBreakpoint } = Grid; +const { Text, Title } = Typography; const tunePath = (tuneId: string) => generatePath(Routes.TUNE_TUNE, { tuneId }); @@ -52,7 +54,7 @@ const Hub = () => { ...tune, key: tune.tuneId, year: tune.year, - author: '?', + author: 'John Doe', displacement: `${tune.displacement}l`, aspiration: aspirationMapper[tune.aspiration], publishedAt: new Date(tune.$updatedAt * 1000).toLocaleString(), @@ -70,14 +72,15 @@ const Hub = () => { const columns: ColumnsType = [ { - title: 'Tune', + title: 'Tunes', render: (tune: TuneDbDocument) => ( <> - {tune.vehicleName} ({tune.signature}), published: {tune.publishedAt} -
- {tune.engineMake}, {tune.engineCode}, {tune.displacement}, {tune.cylindersCount} cylinders, {tune.aspiration} -
- author: ? 0 + {tune.vehicleName} + + John Doe, {tune.publishedAt} + {tune.engineMake}, {tune.engineCode}, {tune.displacement}, {tune.cylindersCount} cylinders, {tune.aspiration} + {tune.signature} + ), responsive: ['xs'], @@ -157,7 +160,7 @@ const Hub = () => { return (
- Hub + Hub