diff --git a/apps/frontend/public/hill.png b/apps/frontend/public/hill.png new file mode 100644 index 0000000..3266819 Binary files /dev/null and b/apps/frontend/public/hill.png differ diff --git a/apps/frontend/public/offset.png b/apps/frontend/public/offset.png new file mode 100644 index 0000000..ca06434 Binary files /dev/null and b/apps/frontend/public/offset.png differ diff --git a/apps/frontend/public/reduce.png b/apps/frontend/public/reduce.png new file mode 100644 index 0000000..07a5f1d Binary files /dev/null and b/apps/frontend/public/reduce.png differ diff --git a/apps/frontend/public/sky.png b/apps/frontend/public/sky.png new file mode 100644 index 0000000..40f185b Binary files /dev/null and b/apps/frontend/public/sky.png differ diff --git a/apps/frontend/src/App.tsx b/apps/frontend/src/App.tsx index 7790f10..978c369 100644 --- a/apps/frontend/src/App.tsx +++ b/apps/frontend/src/App.tsx @@ -1,22 +1,17 @@ import { DAppKitProvider } from "@vechain/dapp-kit-react"; -import { ChakraProvider, Container, Flex } from "@chakra-ui/react"; -import { - Dropzone, - Footer, - InfoCard, - Instructions, - Navbar, - SubmissionModal, -} from "./components"; +import { ChakraProvider } from "@chakra-ui/react"; +import { Footer, Navbar, SubmissionModal } from "./components"; import { lightTheme } from "./theme"; -import { Routes, Route, BrowserRouter } from 'react-router-dom' +import { Routes, Route, BrowserRouter } from "react-router-dom"; import Home from "./routes/home"; -import Protected from './routes/protected' -import Settings from './routes/settings' -import Login from './routes/login' +import Protected from "./routes/protected"; +import Settings from "./routes/settings"; +import Login from "./routes/login"; function App() { + const path = location.pathname; + return ( @@ -27,8 +22,8 @@ function App() { nodeUrl="https://testnet.vechain.org/" logLevel={"DEBUG"} > -
- +
+ {path != "/" ? : <>}
} /> @@ -37,7 +32,7 @@ function App() { } />
-
+ {path != "/" ?
: <>}
{/* MODALS */} diff --git a/apps/frontend/src/routes/home.css b/apps/frontend/src/routes/home.css new file mode 100644 index 0000000..2f484ef --- /dev/null +++ b/apps/frontend/src/routes/home.css @@ -0,0 +1,14 @@ +.parallax { + min-height: 70px; + background-attachment: fixed; + background-position: center; + background-repeat: no-repeat; + background-size: cover; +} + +.scroll-container { + height: 870px; + background-color: #4e6b4c; + font-size: 36px; + padding: 40px; +} diff --git a/apps/frontend/src/routes/home.tsx b/apps/frontend/src/routes/home.tsx index 9c5d6af..ce0ec39 100644 --- a/apps/frontend/src/routes/home.tsx +++ b/apps/frontend/src/routes/home.tsx @@ -1,28 +1,102 @@ -import React from "react"; -import { Container, Flex } from "@chakra-ui/react"; -import { - Dropzone, - InfoCard, - Instructions, -} from "../components"; +import { Card, CardBody, Flex, Button, Image, Text } from "@chakra-ui/react"; +import "./home.css"; export default function Home() { - return ( - - +
+ +
+
+ + +
+ +
+ + REDUCE + + - - - - + + + + + View a summary of all your customers over the last month. + + + + + + + +
+ +
+ + OFFSET + + + + + + + View a summary of all your customers over the last month. + + + + + + + +
- ); -} \ No newline at end of file +
+
+ ); +}