diff --git a/web/src/App.tsx b/web/src/App.tsx index a60299e..2c1c66d 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -1,4 +1,4 @@ -import { Navigate, Route, Routes } from 'react-router'; +import { Route, Routes } from 'react-router'; import DeviceUpdateView from './views/device/update/DeviceUpdateView'; import DeviceEditorLayout from './views/device/editor/DeviceEditorLayout'; import NotFoundView from './views/NotFoundView'; @@ -6,12 +6,13 @@ import AppLayout from '@/views/AppLayout'; import DeviceConnectView from './views/device/DeviceConnectView'; import DeviceLayout from '@/views/device/DeviceLayout'; import DevicePresetView from '@/views/device/editor/DevicePresetView'; +import HomePage from '@/views/home/HomePage'; function App() { return ( - } /> + diff --git a/web/src/views/home/HomePage.module.scss b/web/src/views/home/HomePage.module.scss new file mode 100644 index 0000000..194c076 --- /dev/null +++ b/web/src/views/home/HomePage.module.scss @@ -0,0 +1,13 @@ +.container { + height: 100vh; + align-content: center; +} + +.heroSection { + margin: 0 auto; +} + +.title { + font-size: 72px; + margin: 0; +} diff --git a/web/src/views/home/HomePage.tsx b/web/src/views/home/HomePage.tsx new file mode 100644 index 0000000..309a597 --- /dev/null +++ b/web/src/views/home/HomePage.tsx @@ -0,0 +1,64 @@ +import classes from './HomePage.module.scss'; +import { AppShell, Button, Container, Flex, Group, Stack, Text, useSafeMantineTheme } from '@mantine/core'; +import { FaGithub } from 'react-icons/fa6'; +import { MdOpenInNew } from 'react-icons/md'; +import { Fragment } from 'react'; +import ColourSchemeButton from '@/components/ColourSchemeButton'; +import { useNavigate } from 'react-router'; + +export function HomePage() { + const { defaultGradient } = useSafeMantineTheme(); + const navigate = useNavigate(); + + return ( + + + + + + + + + +
+ + + +

MIDI-X

+ + A completely configurable MIDI controller built for the stage + + + + + + +
+
+
+
+
+ ); +} + +export default HomePage;