Přidání footeru s odkazem na zdrojové kódy

This commit is contained in:
Martin Berka 2023-07-26 22:26:50 +02:00
parent 8cfe415bb3
commit 75fd75510b
2 changed files with 9 additions and 0 deletions

View File

@ -15,6 +15,7 @@ import { SelectSearchOption } from 'react-select-search';
import { faTrashCan } from '@fortawesome/free-regular-svg-icons'; import { faTrashCan } from '@fortawesome/free-regular-svg-icons';
import { useBank } from './context/bank'; import { useBank } from './context/bank';
import { ClientData, Restaurants, Food, Pizza, Order, Locations, PizzaOrder, PizzaDayState } from './types'; import { ClientData, Restaurants, Food, Pizza, Order, Locations, PizzaOrder, PizzaDayState } from './types';
import Footer from './components/Footer';
const EVENT_CONNECT = "connect" const EVENT_CONNECT = "connect"
@ -444,6 +445,7 @@ function App() {
</div> </div>
</>} </>}
</div> </div>
<Footer />
</> </>
); );
} }

View File

@ -0,0 +1,7 @@
import { Navbar } from "react-bootstrap";
export default function Footer() {
return <Navbar className="text-light" variant='dark' expand="lg" style={{ display: "flex", justifyContent: "center" }}>
<span>🄯 Kancelář 51, Marbes s.r.o. Žádná práva nevyhrazena. TODO a zdrojové kódy dostupné <a href="https://gitea.melancholik.eu/mates/Luncher">zde</a>.</span>
</Navbar >
}