Skip to content

Commit

Permalink
more swag
Browse files Browse the repository at this point in the history
  • Loading branch information
mariansam committed Jun 23, 2023
1 parent b6d0ca5 commit 27c6ca4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import './style.css';

import { useAppContent } from 'pocketbase-react/src';
import type { Game, GameState, Goal, News, Player, Team } from './types';
import { AppFooter } from './components/app-footer';

const serverURL = import.meta.env.VITE_POCKETBASE_ENDPOINT;
// these get automatically prefetched & subscribed to updates
Expand All @@ -29,6 +30,7 @@ export const App: React.FC = () => {
<PocketbaseDataLoader>
<Router />
</PocketbaseDataLoader>
<AppFooter />
</div>
</PocketbaseProvider>
);
Expand Down
12 changes: 12 additions & 0 deletions src/components/app-footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';
import Container from 'react-bootstrap/Container';

export const AppFooter: React.FC = () => {
return (
<footer className=''>
<Container className='text-center p-3'>
<span>Vytvořil <a href='https://radeksoft.cz/'>Radeksoft</a>.</span>
</Container>
</footer>
);
};

0 comments on commit 27c6ca4

Please sign in to comment.