aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/_app.tsx1
-rw-r--r--pages/index.tsx2
-rw-r--r--pages/settings.tsx3
-rw-r--r--pages/user.tsx2
4 files changed, 7 insertions, 1 deletions
diff --git a/pages/_app.tsx b/pages/_app.tsx
index a95caa4..fad7c33 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -6,6 +6,7 @@ import { SocketContextWrapper } from '../components/socketContext';
import '../styles/global.css';
import '../styles/dark.css';
import '../styles/disk.css';
+import '../styles/footer.css';
export default function VierOpEenRijWebsite({ Component, pageProps }) {
return <div>
diff --git a/pages/index.tsx b/pages/index.tsx
index dfb14e6..9bfe2a7 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -2,6 +2,7 @@ import { CSSProperties, useState, useEffect, useContext } from 'react';
import axios from 'axios';
import { userInfo, userGameTotals, userGames } from '../api/api';
import { SocketContext } from '../components/socketContext';
+import { Footer } from '../components/footer';
import { NavBar } from '../components/navbar';
import { CenteredPage, PageTitle } from '../components/page';
@@ -194,6 +195,7 @@ export default function HomePage() {
<p style={{ margin: "6px 0" }}>Chess.com heeft heel veel troep waar niemand naar kijkt</p>
</Vierkant>
</CenteredPage>
+ <Footer/>
</div>
}
diff --git a/pages/settings.tsx b/pages/settings.tsx
index 99a87d1..dcaa866 100644
--- a/pages/settings.tsx
+++ b/pages/settings.tsx
@@ -1,7 +1,6 @@
import { CSSProperties, useContext } from 'react';
import * as cookies from 'react-cookies';
import axios from 'axios';
-import pica from 'pica';
import reduce from 'image-blob-reduce';
import { NavBar } from '../components/navbar';
@@ -10,6 +9,7 @@ import { Vierkant, IconLabelButton, CheckBox, ColorPicker } from '../components/
import { AccountAvatar } from '../components/account';
import { CurrentGameSettings } from '../components/gameSettings';
import PreferencesContext from '../components/preferencesContext';
+import { Footer } from '../components/footer';
import EditOutlinedIcon from '@material-ui/icons/EditOutlined';
import VisibilityOutlinedIcon from '@material-ui/icons/VisibilityOutlined';
@@ -143,6 +143,7 @@ export default function SettingsPage() {
</div>
</Vierkant>
</CenteredPage>
+ <Footer/>
</div>
);
}
diff --git a/pages/user.tsx b/pages/user.tsx
index ce870af..5f5b1eb 100644
--- a/pages/user.tsx
+++ b/pages/user.tsx
@@ -10,6 +10,7 @@ import { userInfo, userGames } from '../api/api';
import RecentGames from '../components/recentGames';
import { ToastContext } from '../components/toast';
import { SocketContext } from '../components/socketContext';
+import { Footer } from '../components/footer';
import PersonAddOutlinedIcon from '@material-ui/icons/PersonAddOutlined';
import AssignmentIndOutlinedIcon from '@material-ui/icons/AssignmentIndOutlined';
@@ -320,6 +321,7 @@ export default function AccountPage() {
<RecentGames games={gameInfo?.games}/>
</Vierkant>
</CenteredPage>
+ <Footer/>
</div>
}