Skip to content

Commit

Permalink
Merge branch 'master' of github.com:lecafard/pprojcomp into master
Browse files Browse the repository at this point in the history
  • Loading branch information
lecafard committed Sep 25, 2020
2 parents 865ff90 + 74a668e commit f92e1ab
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
build: ./frontend
restart: unless-stopped
ports:
- "80:8000"
- "8000:80"
depends_on:
- backend
postgres:
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import AboutPage from "./pages/about";
import ManageListPage from "./pages/manage/list";
import ManageMeetingPage from "./pages/manage/meeting";
import Navbar from "./components/navbar";
import Footer from "./components/footer";

function App() {
return (
Expand Down Expand Up @@ -43,6 +44,7 @@ function App() {
<Redirect to="/" />
</Route>
</Switch>
<Footer/>
</Router>
</div>
);
Expand Down
17 changes: 17 additions & 0 deletions frontend/src/components/footer/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React from "react"

function Footer() {
return (
<footer className="text-center">
<a href="https://github.com/lecafard/pprojcomp"
target="_blank"
rel="noopener noreferrer"
style={{color: "white", lineHeight: 3}}
>
Check out this project on Github!
</a>
</footer>
);
}

export default Footer;

0 comments on commit f92e1ab

Please sign in to comment.