Skrytí podniku U Motlíků

This commit is contained in:
2025-01-07 15:44:39 +01:00
parent 86af490e94
commit 4d2ec529bb
3 changed files with 20 additions and 22 deletions

View File

@@ -355,7 +355,7 @@ function App() {
} else {
content = <h3>Chyba načtení dat</h3>
}
return <Col md={12} lg={4} className='mt-3'>
return <Col md={12} lg={6} className='mt-3'>
<h3>{name}</h3>
{menu?.lastUpdate && <small>Poslední aktualizace: {getHumanDateTime(new Date(menu.lastUpdate))}</small>}
{content}
@@ -403,12 +403,10 @@ function App() {
{data.isWeekend ? <h4>Užívejte víkend :)</h4> : <>
<Alert variant={'primary'}>
<img src='hat.png' style={{ position: "absolute", width: "100px", rotate: "-45deg", left: -32, top: -40 }} />
<img src='tree.png' style={{ position: "absolute", height: "140px", right: 0, top: 0 }} />
<img src='tree.png' style={{ position: "absolute", height: "90px", right: 0, top: 0 }} />
Poslední změny:
<ul>
<li>Vánoční atmosféra</li>
<li>Nově na <a href="https://react.dev/blog/2024/12/05/react-19" target='blank'>React 19</a></li>
<li>Nově sestavováno pomocí <a href="https://vite.dev" target='blank'>Vite</a> </li>
<li>Odstranění podniku U Motlíků</li>
</ul>
</Alert>
{dayIndex != null &&
@@ -420,7 +418,7 @@ function App() {
}
<Row className='food-tables'>
{food[Restaurants.SLADOVNICKA] && renderFoodTable('Sladovnická', food[Restaurants.SLADOVNICKA])}
{food[Restaurants.UMOTLIKU] && renderFoodTable('U Motlíků', food[Restaurants.UMOTLIKU])}
{/* {food[Restaurants.UMOTLIKU] && renderFoodTable('U Motlíků', food[Restaurants.UMOTLIKU])} */}
{food[Restaurants.TECHTOWER] && renderFoodTable('TechTower', food[Restaurants.TECHTOWER])}
</Row>
<div className='content-wrapper'>