From f6f7857d217ae5b4d705e0fffb167dcfd3722436 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Wed, 4 Sep 2024 12:19:53 +0300 Subject: refactor: add basic homepage --- frontend/src/App.tsx | 3 ++- frontend/src/pages/Homepage.tsx | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 frontend/src/pages/Homepage.tsx (limited to 'frontend') diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 36c2d03..b9e84f4 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -9,6 +9,7 @@ import Profile from './pages/Profile'; import Games from './pages/Games'; import Maps from './pages/Maps'; import User from './pages/User'; +import Homepage from './pages/Homepage'; const App: React.FC = () => { @@ -26,7 +27,7 @@ const App: React.FC = () => { <> - yo} /> + } /> } /> } /> } /> diff --git a/frontend/src/pages/Homepage.tsx b/frontend/src/pages/Homepage.tsx new file mode 100644 index 0000000..a5429cb --- /dev/null +++ b/frontend/src/pages/Homepage.tsx @@ -0,0 +1,18 @@ +import React from 'react'; +import { PortalIcon } from '../images/Images'; + +const Homepage: React.FC = () => { + + return ( +
+
+

Welcome to Least Portals Hub!

+

At the moment, LPHUB is in beta state. This means that the site has only the core functionalities enabled for providing both collaborative information and competitive leaderboards.

+

Site should feel intuitive to navigate around. For any type of feedback, reach us at LPHUB Discord server.

+

By using LPHUB, you agree that you have read the 'Leaderboard Rules' and the 'About P2LP' pages.

+
+
+ ); +}; + +export default Homepage; -- cgit v1.2.3