summaryrefslogtreecommitdiff
path: root/src/containers/Home.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/containers/Home.tsx')
-rw-r--r--src/containers/Home.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/containers/Home.tsx b/src/containers/Home.tsx
index 82fbf25..697cc66 100644
--- a/src/containers/Home.tsx
+++ b/src/containers/Home.tsx
@@ -28,15 +28,15 @@ const cards = [
];
const Home: React.FC = () => (
- <Page title="Главная" actions={[{ name: 'Do nothing' }]}>
+ <Page title="Главная" actions={[{ name: 'Связаться с нами', variant: 'outlined' }]}>
<div className="grid grid-flow-row grid-cols-3">
{cards.map(card => (
- <Paper variant="outlined">
+ <Paper key={card.route} variant="outlined">
<div className="h-full flex flex-col justify-between">
<img className="h-60" src={card.src} alt="Накладная" />
<div className="flex flex-col text-center">
<p className="m-5 text-lg">{card.text}</p>
- <Button size="lg" route="/waybills">{card.name}</Button>
+ <Button size="lg" route={card.route}>{card.name}</Button>
</div>
</div>
</Paper>