diff --git a/client/src/App.css b/client/src/App.css index e3b686f..e532f4a 100644 --- a/client/src/App.css +++ b/client/src/App.css @@ -47,15 +47,9 @@ } .food-tables { - display: flex; - justify-content: space-evenly; margin-bottom: 50px; } -.food-table { - max-width: 500px; -} - .content-wrapper { width: 100%; display: flex; diff --git a/client/src/App.tsx b/client/src/App.tsx index 720ae0b..433e5e1 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -6,7 +6,7 @@ import { useAuth } from './context/auth'; import Login from './Login'; import { Locations, ClientData } from './Types'; import './App.css'; -import { Alert, Form, Table } from 'react-bootstrap'; +import { Alert, Col, Form, Row, Table } from 'react-bootstrap'; const EVENT_CONNECT = "connect" @@ -62,7 +62,7 @@ function App() { } const renderFoodTable = (name, food) => { - return
+ return

{name}

@@ -75,7 +75,7 @@ function App() { )}
-
+ } if (!auth || !auth.login) { @@ -95,11 +95,11 @@ function App() { Pro gamer move: Změň si své jméno na cizí. Můžeš pak libovolně měnit jejich volbu.

Dnes je {data.date}

-
+ {renderFoodTable('Sladovnická', food.sladovnicka)} {renderFoodTable('U Motlíků', food["uMotliku:"])} {renderFoodTable('TechTower', food.techTower)} -
+

Jak to dnes vidíš s obědem?